Closed
Bug 614074
Opened 14 years ago
Closed 14 years ago
release tag builder got kicked off wrongly
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: salbiz)
References
Details
Attachments
(2 files, 1 obsolete file)
4.17 KB,
patch
|
catlee
:
review+
bhearsum
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
931 bytes,
patch
|
catlee
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
We had this build today get kicked off by what looked like a check-in:
http://production-master01.build.mozilla.org:8010/builders/release-mozilla-central-tag/builds/0
The reason says "scheduler", so I'm not sure which Scheduler that is...but there's a blamelist.
Assignee | ||
Comment 2•14 years ago
|
||
Tested this on staging, with the following steps:
/tools/buildbot-0.8.2/bin/buildbot sendchange --master localhost:9011 --user woof --branch users/stage-ffxbld/mozilla-1.9.2 -l "http://hg.mozilla.org/" foo
(No builds started due to hgUrl present in revlink)
/tools/buildbot-0.8.2/bin/buildbot sendchange --master localhost:9011 --user woof --branch users/stage-ffxbld/mozilla-1.9.2 -l "http://hg.mozilla.org/" -c 'DONTBUILD' foo
(No builds started due to hgUrl present in revlink)
/tools/buildbot-0.8.2/bin/buildbot sendchange --master localhost:9011 --user woof --branch users/stage-ffxbld/mozilla-1.9.2 -l " " foo
(release builder started as normal)
/tools/buildbot-0.8.2/bin/buildbot sendchange --master localhost:9011 --user woof --branch releases/mozilla-1.9.2 -l "http://hg.mozilla.org/" foo
(mozilla-1.9.2 regular builds started as per normal)
/tools/buildbot-0.8.2/bin/buildbot sendchange --master localhost:9011 --user woof --branch releases/mozilla-1.9.2 -l "http://hg.mozilla.org/" -c 'DONTBUILD' foo
(no builds started)
Attachment #492733 -
Flags: feedback?(catlee)
Attachment #492733 -
Flags: feedback?(bhearsum)
Comment 3•14 years ago
|
||
Comment on attachment 492733 [details] [diff] [review]
split DONTBUILD functionality into overrideHgPoller [tested]
Looks good! Can we pick a different name for overrideHgPoller though? That doesn't really tell me what it's doing.
Attachment #492733 -
Flags: feedback?(catlee) → feedback+
Reporter | ||
Comment 4•14 years ago
|
||
Comment on attachment 492733 [details] [diff] [review]
split DONTBUILD functionality into overrideHgPoller [tested]
Looks good to me, too. I'd call it 'shouldBuild' or something similar though.
Attachment #492733 -
Flags: feedback?(bhearsum) → feedback+
Assignee | ||
Comment 5•14 years ago
|
||
Done, added a docstring as well to make pylint happy(-ier) and explain what the string check actually does.
Attachment #492733 -
Attachment is obsolete: true
Attachment #492846 -
Flags: review?(catlee)
Attachment #492846 -
Flags: review?(bhearsum)
Updated•14 years ago
|
Attachment #492846 -
Flags: review?(catlee) → review+
Reporter | ||
Updated•14 years ago
|
Priority: -- → P2
Reporter | ||
Updated•14 years ago
|
Attachment #492846 -
Flags: review?(bhearsum) → review+
Assignee | ||
Updated•14 years ago
|
Flags: needs-reconfig?
Reporter | ||
Updated•14 years ago
|
Flags: needs-reconfig? → needs-reconfig+
Reporter | ||
Comment 6•14 years ago
|
||
Comment on attachment 492846 [details] [diff] [review]
rename to shouldBuild, add docstring
changeset: 1214:c49ec558ff2d
Attachment #492846 -
Flags: checked-in+
Reporter | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 7•14 years ago
|
||
While trying to start a staging release by both sendchange and release_sanity.py, I've got the following exception and no build was triggered:
if hgUrl in change.revlink or change.comments.find(hgUrl) > -1:
exceptions.TypeError: argument of type 'NoneType' is not iterable
As as temporary solution I've changed the line above to:
if (change.revlink and hgUrl in change.revlink) or change.comments.find(hgUrl) > -1:
2010-12-01 02:30:56-0800 [-] Unhandled Error
Traceback (most recent call last):
File "/tools/python-2.6.5/lib/python2.6/threading.py", line 504, in __bootstrap
self.__bootstrap_inner()
File "/tools/python-2.6.5/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/tools/python-2.6.5/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/threadpool.py", line
207, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/context.py", line 59,
in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/python/context.py", line 37,
in callWithContext
return func(*args,**kw)
File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/Twisted-10.1.0-py2.6-linux-i686.egg/twisted/enterprise/adbapi.py", line
429, in _runInteraction
result = interaction(trans, *args, **kw)
File "/tools/buildbot-0.8.2/lib/python2.6/site-packages/buildbot-0.8.2-py2.6.egg/buildbot/schedulers/base.py", line 146, in clas
sify_changes
important = self.fileIsImportant(c)
File "/builds/buildbot/rail/buildbotcustom/process/release.py", line 190, in <lambda>
branchConfig['hgurl'])
File "/builds/buildbot/rail/buildbotcustom/misc.py", line 116, in isHgPollerTriggered
if hgUrl in change.revlink or change.comments.find(hgUrl) > -1:
exceptions.TypeError: argument of type 'NoneType' is not iterable
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•14 years ago
|
||
The patch should fix the problem
Attachment #494384 -
Flags: review?(catlee)
Updated•14 years ago
|
Attachment #494384 -
Flags: review?(catlee) → review+
Updated•14 years ago
|
Flags: needs-reconfig?
Reporter | ||
Comment 10•14 years ago
|
||
Planning to do a reconfig with this tomorrow morning.
Flags: needs-reconfig? → needs-reconfig+
Reporter | ||
Updated•14 years ago
|
Attachment #494384 -
Flags: checked-in+
Reporter | ||
Updated•14 years ago
|
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•