Closed
Bug 576569
Opened 15 years ago
Closed 15 years ago
some sendchanges retry forever
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: rail)
References
Details
Attachments
(1 file, 2 obsolete files)
|
9.55 KB,
patch
|
bhearsum
:
review+
kairo
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
I found a build in staging today which was using the following for a sendchange:
python /builds/slave/mozilla-central-linux/tools/buildfarm/utils/retry.py -s 5 -t 1800 -r 0 buildbot sendchange --master localhost:9009 --username sendchange-unittest --branch mozilla-central-linux-opt-unittest --revision 7f420dc0636fd74a7bd2d5b67770514b2e0a7e8c http://staging-stage.build.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux/1278028954/firefox-4.0b2pre.en-US.linux-i686.tar.bz2 http://staging-stage.build.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux/1278028954/firefox-4.0b2pre.en-US.linux-i686.tests.zip
the -r 0 causes retry. to retry forever. We need to find and fix all instances of this to avoid unnecessary slave hangups.
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → rail
Status: NEW → ASSIGNED
Priority: -- → P2
| Assignee | ||
Comment 1•15 years ago
|
||
This patch should reproduce the old behavior.
If we set retries to 0, this step should be run once and shouldn't cause red result. If retries > 0, we should retry (retries times) and make the build red on send failure.
Attachment #455748 -
Flags: review?(bhearsum)
| Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 455748 [details] [diff] [review]
Don't retry forever
Looks good
Attachment #455748 -
Flags: review?(bhearsum) → review+
| Assignee | ||
Comment 3•15 years ago
|
||
Based on catlee's advise instead of using implicit behavior (0 for 1 retry without failure and n for n+1 retry with failure) let's use explicit retry count in *config.py (5 for production and 1 for staging). Right now it's applicable for "mozilla" directory only (the corresponding changes in SendChangeStep landed to buildbotcustom "buildbot-0.8.0" branch only).
Attachment #455748 -
Attachment is obsolete: true
Attachment #457783 -
Flags: review?(bhearsum)
| Reporter | ||
Updated•15 years ago
|
Attachment #457783 -
Flags: review?(bhearsum) → review+
| Assignee | ||
Comment 4•15 years ago
|
||
Updated version, includes test-master02.
Attachment #457783 -
Attachment is obsolete: true
Attachment #459064 -
Flags: review?(bhearsum)
| Assignee | ||
Comment 5•15 years ago
|
||
Comment on attachment 459064 [details] [diff] [review]
Set retry count
Robert, could you review seamonkey part of this patch?
Attachment #459064 -
Flags: review?(kairo)
| Reporter | ||
Updated•15 years ago
|
Attachment #459064 -
Flags: review?(bhearsum) → review+
Updated•15 years ago
|
Attachment #459064 -
Flags: review?(kairo) → review+
| Assignee | ||
Comment 6•15 years ago
|
||
Comment on attachment 459064 [details] [diff] [review]
Set retry count
http://hg.mozilla.org/build/buildbot-configs/rev/a80491cc84e3
Attachment #459064 -
Flags: checked-in+
| Assignee | ||
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 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
•