Closed Bug 646118 Opened 15 years ago Closed 15 years ago

ImportError on reconfig on pm01

Categories

(Release Engineering :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Unassigned)

Details

(Whiteboard: [buildmasters][buildmasters])

Attachments

(1 file)

[production-master01.build.mozilla.org] out: Traceback (most recent call last): [production-master01.build.mozilla.org] out: File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/application/app.py", line 311, in runReactorWithLogging [production-master01.build.mozilla.org] out: reactor.run() [production-master01.build.mozilla.org] out: File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/internet/base.py", line 1165, in run [production-master01.build.mozilla.org] out: self.mainLoop() [production-master01.build.mozilla.org] out: File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/internet/base.py", line 1174, in mainLoop [production-master01.build.mozilla.org] out: self.runUntilCurrent() [production-master01.build.mozilla.org] out: File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/internet/base.py", line 796, in runUntilCurrent [production-master01.build.mozilla.org] out: call.func(*call.args, **call.kw) [production-master01.build.mozilla.org] out: --- <exception caught here> --- [production-master01.build.mozilla.org] out: File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/master.py", line 600, in loadTheConfigFile [production-master01.build.mozilla.org] out: d = self.loadConfig(f) [production-master01.build.mozilla.org] out: File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2_hg_a63f22816750_production_0.8-py2.6.egg/buildbot/master.py", line 624, in loadConfig [production-master01.build.mozilla.org] out: exec f in localDict [production-master01.build.mozilla.org] out: File "/builds/buildbot/builder_master1/master.cfg", line 12, in <module> [production-master01.build.mozilla.org] out: reload(master_localconfig) [production-master01.build.mozilla.org] out: File "/builds/buildbot/builder_master1/master_localconfig.py", line 14, in <module> [production-master01.build.mozilla.org] out: from config import BRANCHES, SLAVES, PROJECTS, ACTIVE_PROJECT_BRANCHES [production-master01.build.mozilla.org] out: exceptions.ImportError: cannot import name ACTIVE_PROJECT_BRANCHES This passed a checkconfig but not a reconfig. I added import config reload(config) locally to get past it, but I doubt that's the right solution.
I know it's not a "good" solution, but since it's in place on the masters, it should probably be in hg.
Assignee: nobody → dustin
Attachment #523305 - Flags: review?(bhearsum)
Comment on attachment 523305 [details] [diff] [review] m646118-bbcfg-r1.patch Yup, local changes--
Attachment #523305 - Flags: review?(bhearsum) → review+
Comment on attachment 523305 [details] [diff] [review] m646118-bbcfg-r1.patch I'm leaving this open because it may not be the best fix.
Attachment #523305 - Flags: checked-in+
Assignee: dustin → nobody
Removing the [buildduty] tag since I think this is outside the scope of what buildduty should be responsible for. Does someone need to look at our import/reload story again to see where this is being dropped on the floor, or are we going to land the attached patch?
Priority: -- → P3
Whiteboard: [buildduty] → [buildmasters][build
Whiteboard: [buildmasters][build → [buildmasters][buildmasters]
It's landed - I just don't know if this is the best fix, so let's keep it open.
Presumably my fix is good enough, so I guess we can close this?
Status: NEW → RESOLVED
Closed: 15 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: