Closed Bug 1226805 Opened 9 years ago Closed 9 years ago

[vcs-sync] remove avoidable delay in gaia -> hg processing

Categories

(Developer Services :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hwine, Assigned: hwine)

Details

(Whiteboard: [vcs-sync])

Attachments

(1 file)

Existing processing for gaia.git conversion requires 2 independent vcs-sync jobs:

job05 (about 14 minutes per run):
    github gaia.git -> git.mozilla.org gaia.git

job06 (about 35 minutes per run):
    for each integration/gaia* repository:
        pull from git.mozilla.org gaia.git
        convert git -> hg
        push to hg.mozilla.org

There are 20 such branches, resulting in a long turnaround time for commits from github to reach an hg repository. This was an appropriate choice when originally set up, as gaia-in-gecko testing did not occur.

With the advent of b2g_bumper, there is often an delay of ~40 minutes between gaia on github commit and start of CI job. (b2g_bumper is on a ~10 minute cycle, so the worst case time is ~60 minutes!)

This can be shortened dramatically if the active branches are synchronously converted to hg. Although that will lengthen the time for job05 somewhat, it will eliminate the up to 35 minute delay of job06.

Proposal is to move the 2 active branches from job06 to job05:
    - integration/gaia-central for gaia master/gecko b2g-inbound builds
    - integration/gaia-2_5 for gaia v2.5/gecko b2g44-v2_5 builds

The latter will need to be updated as the active branches change. Those changes are usually associated with branch creation, so adding this step to the workflow is relatively simple.
Attached patch reschedule.patchSplinter Review
Seems obvious, but I'm not landing on a Friday!
Assignee: nobody → hwine
Status: NEW → ASSIGNED
Attachment #8690327 - Flags: review?
Comment on attachment 8690327 [details] [diff] [review]
reschedule.patch

No objections, so landed on a Monday. In production with:
  https://hg.mozilla.org/users/hwine_mozilla.com/repo-sync-configs/rev/7dea3a52cb05
Attachment #8690327 - Flags: review?
Attachment #8690327 - Flags: review+
Attachment #8690327 - Flags: checked-in+
No complaints, done
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Forgot the data. Cycle time on active gaia branches is now at 20m average about 1/2 of the original time:
  2015-12-03T15:47+0000
  2015-12-03T16:08+0000
  2015-12-03T16:26+0000
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: