Closed
Bug 676013
Opened 13 years ago
Closed 13 years ago
L10nVerify is giving a setupBuild exception
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lsblakk, Assigned: rail)
References
Details
(Whiteboard: [l10n])
Attachments
(1 file)
1.11 KB,
patch
|
lsblakk
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
2011-08-02 10:33:57-0700 [Broker,10545,10.250.50.152] Build.setupBuild failed 2011-08-02 10:33:57-0700 [Broker,10545,10.250.50.152] Unhandled Error Traceback (most recent call last): File "/builds/buildbot/build1/lib/python2.6/site-packages/twisted/internet/defer.py", line 318, in callback self._startRunCallbacks(result) File "/builds/buildbot/build1/lib/python2.6/site-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks self._runCallbacks() File "/builds/buildbot/build1/lib/python2.6/site-packages/twisted/internet/defer.py", line 441, in _runCallbacks self.result = callback(self.result, *args, **kw) File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbot-0.8.2_hg_3dc678eecd11_production_0.8-py2.6.egg/buildbot/process/builder.py", line 901, in _startBuild_2 d = build.startBuild(bs, self.expectations, sb) --- <exception caught here> --- File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbot-0.8.2_hg_3dc678eecd11_production_0.8-py2.6.egg/buildbot/process/base.py", line 217, in startBuild self.setupBuild(expectations) # create .steps File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbot-0.8.2_hg_3dc678eecd11_production_0.8-py2.6.egg/buildbot/process/base.py", line 272, in setupBuild step = factory(**args) File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbotcustom/steps/release.py", line 33, in __init__ self.super_class.__init__(self, ignoreCodes=[0,1], **kwargs) exceptions.TypeError: __init__() got multiple values for keyword argument 'ignoreCodes' Looks like this might be due to bug 538541 and needing a restart on the master instead of a reconfig? Need to test this on staging.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → rail
Priority: -- → P2
Assignee | ||
Comment 1•13 years ago
|
||
New and recommended addStep style initializes factories in a little bit different way. dump of kwargs before calling parent's init (runtime): {'lazylogfiles': False, 'workdir': 'tools/release/l10n', 'description': None, 'descriptionDone': None, 'logfiles': {}, 'command': None, 'ignoreCodes': [0, 1], 'usePTY': 'slave-config', 'log_eval_func': None} <dustin> rail: because ignoreCodes is already in kwargs at that point <dustin> instead of passing that explicitly to thep arent class <dustin> you should add it to kwargs <dustin> kwargs['ignoreCodes'] = [0,1] <dustin> before upcalling to the parent Additionally need to use "if not kwargs.get('command')" instead of "if not 'command' in kwargs" for the same reason. Worked in staging.
Attachment #550309 -
Flags: review?(lsblakk)
Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 550309 [details] [diff] [review] fix initialization most excellent. thanks for taking this.
Attachment #550309 -
Flags: review?(lsblakk) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 550309 [details] [diff] [review] fix initialization http://hg.mozilla.org/build/buildbotcustom/rev/d76595b99f4e
Attachment #550309 -
Flags: checked-in+
Assignee | ||
Comment 4•13 years ago
|
||
All done here.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [l10n]
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•