Closed
Bug 1330191
Opened 6 years ago
Closed 6 years ago
Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(firefox51 unaffected, firefox52 unaffected, firefox53 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox51 | --- | unaffected |
firefox52 | --- | unaffected |
firefox53 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: Callek)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
Filed by: philringnalda [at] gmail.com https://treeherder.mozilla.org/logviewer.html#?job_id=67707520&repo=mozilla-central https://archive.mozilla.org/pub/mobile/tinderbox-builds/mozilla-central-l10n/mozilla-central-android-api-15-l10n_5-unknown-bm71-build1-build0.txt.gz Tomorrow we find out whether the summary needs to have "on nightlies triggered through self-serve" added to it or not.
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8825816 [details] Bug 1330191 - Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long. https://reviewboard.mozilla.org/r/103896/#review104566 Overall this looks good to me. Just one question that you may already have an answer to. ::: testing/mozharness/scripts/mobile_l10n.py:371 (Diff revision 1) > replace_dict['user_repo_override'] = c['user_repo_override'] > - # deepcopy() needed because of self.config lock bug :( > - for repo_dict in deepcopy(c['repos']): > - repo_dict['repo'] = repo_dict['repo'] % replace_dict > - repos.append(repo_dict) > - else: > + # this is OK so early because we get it from buildbot, or > + # the command line for local dev > + replace_dict['revision'] = self._query_revision() > + > + for repository in c['repos']: Are you sure you no longer need the deepcopy in c['repos'] here? I'm not sure what the self.config lock bug refers to in the previous comment, but I don't see how this patch would otherwise work around it.
Attachment #8825816 -
Flags: review+
Assignee | ||
Comment 3•6 years ago
|
||
mozreview-review-reply |
Comment on attachment 8825816 [details] Bug 1330191 - Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long. https://reviewboard.mozilla.org/r/103896/#review104566 > Are you sure you no longer need the deepcopy in c['repos'] here? I'm not sure what the self.config lock bug refers to in the previous comment, but I don't see how this patch would otherwise work around it. Yes, (a) This is the code used in desktop_l10n.py which doesn't use deepcopy. (b) This is setting new dicts with direct value replacement, rather than trying to modify in place, like was happening before.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•6 years ago
|
||
Comment on attachment 8825816 [details] Bug 1330191 - Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long. Please, re-review this (first patch was incomplete due to accidentally not hitting "Save" first.
Attachment #8825816 -
Flags: review+ → review?(mshal)
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8825816 [details] Bug 1330191 - Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long. https://reviewboard.mozilla.org/r/103896/#review104674 ::: testing/mozharness/scripts/mobile_l10n.py:252 (Diff revisions 1 - 2) > m = r.match(line) > if m: > self.buildid = m.groups()[0] > return self.buildid > > def query_revision(self): Since this code is now basically identicaly with desktop_l10n.py, please file a followup to share the two query_revision functions. No need to block on fixing this now, though.
Attachment #8825816 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 7•6 years ago
|
||
mozreview-review-reply |
Comment on attachment 8825816 [details] Bug 1330191 - Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long. https://reviewboard.mozilla.org/r/103896/#review104674 > Since this code is now basically identicaly with desktop_l10n.py, please file a followup to share the two query_revision functions. No need to block on fixing this now, though. I'll be gutting much of this code, and unifying it as part of my overall plan, so I won't file the bug specifically for this comment but I can assure that it will happen.
Assignee | ||
Comment 8•6 years ago
|
||
https://hg.mozilla.org/projects/date/rev/472d7c6ccafd34fef8d8c0f25bfdd3dbfe352a60
Pushed by Callek@gmail.com: https://hg.mozilla.org/integration/autoland/rev/0761d9bf56c4 Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long. r=mshal
Assignee | ||
Comment 10•6 years ago
|
||
(In reply to Pulsebot from comment #9) > Pushed by Callek@gmail.com: > https://hg.mozilla.org/integration/autoland/rev/0761d9bf56c4 > Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment > 12-40 characters long. r=mshal Wes promised he'd make this patch land before his EOD, (either by graft or merge), so its in tomorrow's nightly. n-i to him to ensure that.
Flags: needinfo?(wkocher)
Comment 11•6 years ago
|
||
Pushed by kwierso@gmail.com: https://hg.mozilla.org/mozilla-central/rev/13603af3862d Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long. r=mshal a=merge
https://hg.mozilla.org/mozilla-central/rev/13603af3862d9583ed2feefb06e0988c2d7fed8c Grafted this manually from autoland because I didn't get a merge in today. There'll likely be another comment when the merge officially gets the original landing over to mozilla-central.
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox53:
--- → fixed
Flags: needinfo?(wkocher)
Resolution: --- → FIXED
Comment 13•6 years ago
|
||
i guess this cause https://treeherder.mozilla.org/logviewer.html#?job_id=68381306&repo=mozilla-central now
Status: RESOLVED → REOPENED
Flags: needinfo?(bugspam.Callek)
Resolution: FIXED → ---
Comment 14•6 years ago
|
||
Pushed by Callek@gmail.com: https://hg.mozilla.org/mozilla-central/rev/1289b60bd5ed Bustage fix from Bug 1330191. r=me, a=Tomcat
Assignee | ||
Comment 15•6 years ago
|
||
Sorry for that... https://hg.mozilla.org/mozilla-central/rev/1289b60bd5ed221f6713497fcdc8167ae3896916
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Flags: needinfo?(bugspam.Callek)
Resolution: --- → FIXED
Comment 16•6 years ago
|
||
Pushed by Callek@gmail.com: https://hg.mozilla.org/mozilla-central/rev/6e5f04db4c4a Another Bustage fix from Bug 1330191. r=me, a=philor
Updated•6 years ago
|
status-firefox51:
--- → unaffected
status-firefox52:
--- → unaffected
Updated•6 years ago
|
Assignee: nobody → bugspam.Callek
Comment 17•6 years ago
|
||
Pushed by myk@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d8a68016cc26 Bustage fix from Bug 1330191. r=me, a=Tomcat
Comment 18•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d8a68016cc26
Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•