Closed
Bug 1279048
Opened 8 years ago
Closed 8 years ago
Use MOZ_SOURCE_REPO for source file mapping in buildsymbols
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox49 fixed, firefox50 fixed, firefox51 fixed)
RESOLVED
FIXED
mozilla51
People
(Reporter: MatsPalmgren_bugz, Assigned: gps)
References
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
ted
:
review+
lizzard
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
lizzard
:
approval-mozilla-release+
|
Details |
13:45:33 INFO - Failed to get HG Repo for c:\builds\moz2_slave\try-w64-d-00000000000000000000\build\src 13:45:33 INFO - Could not determine repo info for c:\builds\moz2_slave\try-w64-d-00000000000000000000\build\src. This is either not a clone of the web-based 13:45:33 INFO - repository, or you have not specified SRCSRV_ROOT, or the clone is corrupt. 13:45:33 INFO - Failed to get HG Repo for c:\builds\moz2_slave\try-w64-d-00000000000000000000\build\src 13:45:33 INFO - Could not determine repo info for c:\builds\moz2_slave\try-w64-d-00000000000000000000\build\src. This is either not a clone of the web-based 13:45:33 INFO - repository, or you have not specified SRCSRV_ROOT, or the clone is corrupt. [...] mozmake.EXE[4]: *** [buildsymbols] Error 1 mozmake.EXE[3]: *** [automation/buildsymbols] Error 2 mozmake.EXE[3]: *** Waiting for unfinished jobs.... mozmake.EXE[2]: *** [automation/build] Error 2 mozmake.EXE[1]: *** [realbuild] Error 2 mozmake.EXE: *** [build] Error 2 Return code: 1 https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e803302f3c7&selectedJob=22199087
Assignee | ||
Comment 1•8 years ago
|
||
This is a regression from the work in bug 1270317. We no longer have a straight clone of individual repos in automation so we can't trust that .hg/hgrc has the appropriate [path] entries. The repo URL will need to be obtained from environment variables, similar to what's done in build/variables.py - see bug 1274655. Come to think of it, the bug here is likely that symbolstore.py isn't using the VCS info set by variables.py (it has its own code for reading hg repo info).
Depends on: 1270317
Assignee | ||
Comment 2•8 years ago
|
||
MOZ_SOURCE_REPO is set by automation to indicate the URL of the current repository. I'm not sure what SRCSRV_ROOT is from. Probably legacy. Use MOZ_SOURCE_REPO instead of SRCSRV_ROOT. Review commit: https://reviewboard.mozilla.org/r/58612/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/58612/
Attachment #8761396 -
Flags: review?(ted)
Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8761396 [details] Bug 1279048 - Check MOZ_SOURCE_REPO for repository URL; Review request updated; see interdiff: https://reviewboard.mozilla.org/r/58612/diff/1-2/
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → gps
Status: NEW → ASSIGNED
Comment 5•8 years ago
|
||
Comment on attachment 8761396 [details] Bug 1279048 - Check MOZ_SOURCE_REPO for repository URL; https://reviewboard.mozilla.org/r/58612/#review57902 `SRCSRV_ROOT` dates back to the days of CVS(!) when we needed to manually specify the repository path. Replacing it here should be fine. ::: toolkit/crashreporter/tools/symbolstore.py:139 (Diff revision 2) > return stdout.rstrip() > > class HGRepoInfo: > def __init__(self, path): > self.path = path > rev = read_output('hg', '-R', path, It'd be nice to also honor `MOZ_SOURCE_CHANGESET`.
Attachment #8761396 -
Flags: review?(ted) → review+
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8761396 [details] Bug 1279048 - Check MOZ_SOURCE_REPO for repository URL; Review request updated; see interdiff: https://reviewboard.mozilla.org/r/58612/diff/2-3/
Assignee | ||
Updated•8 years ago
|
Attachment #8761396 -
Flags: review+ → review?(ted)
Comment 7•8 years ago
|
||
Comment on attachment 8761396 [details] Bug 1279048 - Check MOZ_SOURCE_REPO for repository URL; https://reviewboard.mozilla.org/r/58612/#review60030
Attachment #8761396 -
Flags: review?(ted) → review+
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/229cd3b8bf5d Check MOZ_SOURCE_REPO for repository URL; r=ted
Backed out for build bustage: https://hg.mozilla.org/integration/autoland/rev/53b24e115c19 https://treeherder.mozilla.org/logviewer.html#?job_id=403174&repo=autoland
Flags: needinfo?(gps)
Comment hidden (mozreview-request) |
Comment 13•8 years ago
|
||
mozreview-review |
Comment on attachment 8761396 [details] Bug 1279048 - Check MOZ_SOURCE_REPO for repository URL; https://reviewboard.mozilla.org/r/58612/#review75672 Thanks for getting back to this!
Comment 14•8 years ago
|
||
Pushed by cbook@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/19395c1734f2 Check MOZ_SOURCE_REPO for repository URL; r=ted
Comment 15•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/19395c1734f2
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Assignee | ||
Comment 16•8 years ago
|
||
Comment on attachment 8761396 [details] Bug 1279048 - Check MOZ_SOURCE_REPO for repository URL; Approval Request Comment [Feature/regressing bug #]: bug 1270317 [User impact if declined]: debug symbols may not be attributed to proper repository, confuses crash reporting [Describe test coverage new/current, TreeHerder]: there is a unit test. ted will provide confirmation that symbols produced with this change behave properly [Risks and why]: automation only change. should be low. it either works or it doesn't [String/UUID change made/needed]: none Ted: could you please spot check and sign off that this patch fixed things?
Flags: needinfo?(ted)
Attachment #8761396 -
Flags: approval-mozilla-beta?
Attachment #8761396 -
Flags: approval-mozilla-aurora?
Comment 17•8 years ago
|
||
Comment on attachment 8761396 [details] Bug 1279048 - Check MOZ_SOURCE_REPO for repository URL; [Triage Comment] OK to uplift, should only affect debug symbols.
Attachment #8761396 -
Flags: approval-mozilla-release+
Attachment #8761396 -
Flags: approval-mozilla-beta?
Attachment #8761396 -
Flags: approval-mozilla-beta+
Attachment #8761396 -
Flags: approval-mozilla-aurora?
Attachment #8761396 -
Flags: approval-mozilla-aurora+
Comment 18•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/08c1069d87f6
Flags: in-testsuite+
Comment 19•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/af42e0b7e0e5
status-firefox49:
--- → fixed
Comment 20•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-release/rev/af42e0b7e0e5
Comment 21•8 years ago
|
||
I spot checked a few symbol files from nightly builds and they all look OK.
Flags: needinfo?(ted)
Summary: buildsymbols] Error 1 → Use MOZ_SOURCE_REPO for source file mapping in buildsymbols
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•