Closed Bug 1125433 Opened 9 years ago Closed 8 years ago

l10n builds in builds-4hr use a revision and branch combination that does not exist

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: emorley, Unassigned)

References

Details

(Keywords: treeherder)

Jobs like:
"Firefox mozilla-aurora linux64 l10n dep"

In builds 4hr have the following properties:

"branch": "mozilla-aurora", 
"buildername": "Firefox mozilla-aurora linux64 l10n dep", 
"en_revision": "default", 
"fx_revision": "79fcabb42355", 
"l10n_revision": "dca8fe9d9425", 
"revision": "dca8fe9d94258eb617529c22107e0e2c7c222025", 
"tree": "fxaurora"

(see bug 1085682 comment 5 for the full blob)

For all other job types, the "branch" matches the "revision". For l10n jobs however, the revision does not exist in that repo.

This causes Treeherder to do unnecessary busy-work trying to backfill revisions that don't exist.

We could blacklist it - but I'd rather fix the bad data in builds-4hr, by either:
a) Changing the branch to something else (eg 'fxaurora')
b) Changing the revision to match fx_revision.
c) Setting the revison to ""

Does anyone have a preference? 
Also where is the code for this?

Thanks :-)
Flags: needinfo?(l10n)
Flags: needinfo?(catlee)
I think, the revision does exist, but in the corresponding l10n repo, not in the gecko repo.

Maybe we should set the branch to the actual l10n repo path? That may require some changes in the code that handles dep l10n builds.
Yeah sorry I should have explicitly said that it's setting it to the l10n repo revision.

My problem is more that the branch and revision don't match.

If we change the branch to "l10 foo" then Treeherder will be happy, because it ignores branches it does not know about.
Clearing my needinfo, I can't really help on either of the two systems.
Flags: needinfo?(l10n)
Yeah, this is because these builds are triggered from changes to the l10n repos, so the revision we're seeing here comes from the hg poller / l10n scheduler.

I'm worried about changing the branch to something else, I have no idea what other code that would break at this point.

Can we wait until bug 740142 is fixed and then look at this again?
Flags: needinfo?(catlee)
(In reply to Chris AtLee [:catlee] from comment #4)
> I'm worried about changing the branch to something else, I have no idea what
> other code that would break at this point.
> 
> Can we wait until bug 740142 is fixed and then look at this again?

Yeah makes sense to wait for that :-)
Depends on: 740142
(In reply to Chris AtLee [:catlee] from comment #4)
> Yeah, this is because these builds are triggered from changes to the l10n
> repos, so the revision we're seeing here comes from the hg poller / l10n
> scheduler.
> 
> I'm worried about changing the branch to something else, I have no idea what
> other code that would break at this point.
> 
> Can we wait until bug 740142 is fixed and then look at this again?

Bug 740142 is fixed, but this is still occurring. I don't suppose you or someone else could take a look? :-)
Flags: needinfo?(catlee)
See Also: → 1090289
I fear that setting the branch to something like 'l10n mozilla-aurora' will break many other things.

Would setting 'revision' to the gecko revision be a reasonable solution?
Flags: needinfo?(catlee)
Yeah that would be fine - the main thing is that then revision the branch match, rather than being a non-existent combo.
The original culprit were probably l10n depend builds? Those don't run anymore, IIRC?
You're right! These aren't running any more (bug 1221391).
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Blocks: 1271571
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.