Closed
Bug 570891
Opened 14 years ago
Closed 14 years ago
Do not coalesce try server pushes
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ehsan.akhgari, Assigned: lsblakk)
References
Details
(Whiteboard: [tryserver])
Attachments
(3 files, 1 obsolete file)
4.75 KB,
patch
|
anodelman
:
review+
lsblakk
:
checked-in+
|
Details | Diff | Splinter Review |
1.02 KB,
patch
|
nthomas
:
review+
lsblakk
:
checked-in+
|
Details | Diff | Splinter Review |
1.79 KB,
patch
|
lsblakk
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
Coalescing builds and unit test runs on normal branches makes a lot of sense, but it's a major inconvenience on the try server. I've had this happen a lot of times when I pushed something to the try server and checked back in a couple of hours only to see that someone else pushed something less than than three minutes after me and they stole my builds and unit test runs. Let's not do this on try!
Reporter | ||
Updated•14 years ago
|
Summary: Do not coalesce try server builds on the try server → Do not coalesce try server builds
Comment 1•14 years ago
|
||
Pushes within 3 minutes of each other ? Or some other time period ?
Updated•14 years ago
|
Summary: Do not coalesce try server builds → Do not coalesce try server pushes
Comment 2•14 years ago
|
||
We probably need to set treeStableTimer to 0 for try, http://hg.mozilla.org/build/buildbotcustom/file/default/misc.py#l519
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #1) > Pushes within 3 minutes of each other ? Or some other time period ? I'm not sure if it's 3 minutes. I think you actually told me on irc once that it's set to 3 minutes. :-)
Comment 4•14 years ago
|
||
Where these builds combined ? bbirtles@mozilla.com Tue Jun 08 17:42:57 2010 -0700 ef4c8b473e8c Brian Birtles — Bug 492458 - SVG SMIL: Implement backwards seeking - Part 1 -interval and instance time filtering ... eakhgari@mozilla.com Tue Jun 08 17:40:59 2010 -0700 3e5095185cea Ehsan Akhgari — Bug 569709 - Figure out the max nr of entries we should store in the disk cache That's most recent push from you that I can find.
Reporter | ||
Comment 5•14 years ago
|
||
Well, actually it wasn't. Tinderbox is so slow right now that I can't go back in history to find an example...
Comment 6•14 years ago
|
||
Ehsan is this an example of what you are hitting? The two changes were pushed at the same time "Wed 09 Jun 2010 14:36:00" This doesn't sound to me as the expected behaviour but I could be wrong. 2 builds. 1 talos job with both revisions (it downloaded the build of 27d8113d68f7). http://production-master02.build.mozilla.org:8011/builders/WINNT%205.2%20tryserver%20build/builds/546 http://production-master02.build.mozilla.org:8011/builders/WINNT%205.2%20tryserver%20build/builds/547 http://talos-master02.build.mozilla.org:8012/builders/Rev3%20WINNT%205.1%20tryserver%20talos%20tp4/builds/437 For reference: http://stage.mozilla.org/pub/mozilla.org/firefox/tryserver-builds/eakhgari@mozilla.com-27d8113d68f7 http://stage.mozilla.org/pub/mozilla.org/firefox/tryserver-builds/eakhgari@mozilla.com-900afc7662ee
Blocks: 520227
Assignee | ||
Comment 7•14 years ago
|
||
did a checkconfig on a local master instance to make sure this passes. Setting the treeStableTimer to None will make sure that each push creates its own change.
Assignee: nobody → lsblakk
Attachment #450466 -
Flags: review?(nrthomas)
Reporter | ||
Comment 8•14 years ago
|
||
(In reply to comment #6) > Ehsan is this an example of what you are hitting? Yes, I guess so...
Assignee | ||
Comment 9•14 years ago
|
||
My patch doesn't address that talos issue though. generateTalosBranchObjects is merging those builds, which is strange. Seems like two different issues though.
Assignee | ||
Comment 10•14 years ago
|
||
so this will handle the second issue - the merging of builds in talos.
Attachment #450485 -
Flags: review?(anodelman)
Updated•14 years ago
|
Attachment #450485 -
Flags: review?(anodelman) → review+
Comment 11•14 years ago
|
||
Comment on attachment 450466 [details] [diff] [review] change no-merge scheduler to have None for treeStableTimer >diff --git a/misc.py b/misc.py >+ extra_args['treeStableTimer'] = None I think this is going to give us a build for each changeset rather than push; we set 3 seconds on the old try. If testing proves me wrong then go ahead and ask for review from bhearsum/me as timezones dictate.
Attachment #450466 -
Flags: review?(nrthomas)
Assignee | ||
Comment 12•14 years ago
|
||
You're right - None leads to a change per changeset, not per push. Knocking this down to 3 seconds to match the way old try did it.
Attachment #450466 -
Attachment is obsolete: true
Attachment #450763 -
Flags: review?(nrthomas)
Assignee | ||
Comment 13•14 years ago
|
||
Comment on attachment 450485 [details] [diff] [review] turn off queue merging for tryserver talos http://hg.mozilla.org/build/buildbot-configs/rev/b62ced51792a
Attachment #450485 -
Flags: checked-in+
Updated•14 years ago
|
Attachment #450763 -
Flags: review?(nrthomas) → review+
Assignee | ||
Comment 14•14 years ago
|
||
Comment on attachment 450763 [details] [diff] [review] change no-merge scheduler to have 3 seconds for treeStableTimer http://hg.mozilla.org/build/buildbotcustom/rev/ee4a6ca2e197
Attachment #450763 -
Flags: checked-in+
Assignee | ||
Comment 15•14 years ago
|
||
Reconfig'd try master to pick up the new treeStableTimer.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 16•14 years ago
|
||
This just happened to me on a try push (867c3741e16d) - it got coalesced with the push right after it. Maybe this didn't get propagated to buildbot 0.8.0?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 17•14 years ago
|
||
This was missed originally, and I landed a fix...but didn't update the masters :( I've updated the master (pm01/scheduler_master), so this shouldn't happen any more. Please reopen if that's not the case!
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Comment 18•14 years ago
|
||
Can we add an automated test for this? It hurt a lot :(
Comment 19•14 years ago
|
||
(In reply to comment #12) > Created an attachment (id=450763) [details] > change no-merge scheduler to have 3 seconds for treeStableTimer > > You're right - None leads to a change per changeset, not per push. Knocking > this down to 3 seconds to match the way old try did it. How were you getting a change per changeset? Doesn't the hg poller only give us tips? Just caught an instance of two tests arriving at the same time, so < 3 seconds, so merged. Need to work harder on fixing this!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 20•14 years ago
|
||
(In reply to comment #18) > Can we add an automated test for this? It hurt a lot :( I added a check that will e-mail us when it detects jobs that have != changes in them.
Comment 21•14 years ago
|
||
(In reply to comment #20) > (In reply to comment #18) > > Can we add an automated test for this? It hurt a lot :( > > I added a check that will e-mail us when it detects jobs that have != changes > in them. I mean, != 1 change in them.
Reporter | ||
Comment 22•14 years ago
|
||
It also happened to me once after the patches landed in this bug. My changeset c00bbd837385 was coalesced into the next changeset I pushed: d1653821d023.
Comment 23•14 years ago
|
||
(In reply to comment #22) > It also happened to me once after the patches landed in this bug. My changeset > c00bbd837385 was coalesced into the next changeset I pushed: d1653821d023. Those happened prior to me landing the changes on the master at ~19:00.
Comment 24•14 years ago
|
||
Lukas' test of treeStableTimer=None was done on buildbot 0.7.10, which didn't support treeStableTimer=None. Scheduler.addChange was raising exceptions, and so the poller kept submitting the same change over and over since it wasn't saving its last seen revision. I've tested it with buildbot 0.8.0 and it looks like it works fine.
Attachment #452293 -
Flags: review?(lsblakk)
Assignee | ||
Updated•14 years ago
|
Attachment #452293 -
Flags: review?(lsblakk) → review+
Comment 25•14 years ago
|
||
Comment on attachment 452293 [details] [diff] [review] set treeStableTimer=None 773:d0f4f41ac108
Attachment #452293 -
Flags: checked-in+
Comment 26•14 years ago
|
||
pm02/try-trunk-master and pm01/scheduler_master updated and reconfigured
Comment 27•14 years ago
|
||
I think this is fixed now.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
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
•