Closed Bug 641791 Opened 15 years ago Closed 14 years ago

buildbot-master1 throwing exceptions.AttributeError: 'NoneType' object has no attribute 'db' exception recently

Categories

(Release Engineering :: General, defect, P5)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bhearsum, Unassigned)

Details

Seems like a Scheduler lost its parent, possibly as part of a reconfig? 2011-03-14 15:40:18-0700 [-] Unhandled Error Traceback (most recent call last): File "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/twisted/internet/base.py", line 1174, in mainLoop self.runUntilCurrent() File "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/twisted/internet/base.py", line 796, in runUntilCurrent call.func(*call.args, **call.kw) File "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/util/eventual.py", line 31, in _turn cb(*args, **kwargs) File "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/util/loop.py", line 167, in _loop_next d = defer.maybeDeferred(p) --- <exception caught here> --- File "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/twisted/internet/defer.py", line 125, in maybeDeferred result = f(*args, **kw) File "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/schedulers/triggerable.py", line 89, in run d = self.parent.db.runInteraction(self._run) exceptions.AttributeError: 'NoneType' object has no attribute 'db'
(In reply to comment #0) > Seems like a Scheduler lost its parent, possibly as part of a reconfig? > > 2011-03-14 15:40:18-0700 [-] Unhandled Error > Traceback (most recent call last): > File > "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/twisted/internet/base.py", > line 1174, in mainLoop > self.runUntilCurrent() > File > "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/twisted/internet/base.py", > line 796, in runUntilCurrent > call.func(*call.args, **call.kw) > File > "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/util/eventual.py", > line 31, in _turn > cb(*args, **kwargs) > File > "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/util/loop.py", > line 167, in _loop_next > d = defer.maybeDeferred(p) > --- <exception caught here> --- > File > "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/twisted/internet/defer.py", > line 125, in maybeDeferred > result = f(*args, **kw) > File > "/builds/buildbot/builder-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/schedulers/triggerable.py", > line 89, in run > d = self.parent.db.runInteraction(self._run) > exceptions.AttributeError: 'NoneType' object has no attribute 'db' man, I could have sworn I fixed this problem upstream...
Priority: -- → P5
This happens when a reconfig occurs in the middle of the builder loop. As I said in #899, I'm not sure there's much to be done about it, aside from rewriting/removing reconfig support.
Per comment 3, not much to be done, for a bug referring to a retired buildbot master.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.