Closed
Bug 868599
Opened 11 years ago
Closed 11 years ago
Use the gaia pointer in gecko when creating B2G desktop builds in buildbot
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Assigned: mozilla)
References
Details
(Whiteboard: [leave open])
Attachments
(4 files, 5 obsolete files)
16.95 KB,
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
8.06 KB,
patch
|
Details | Diff | Splinter Review | |
308 bytes,
patch
|
jgriffin
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
7.50 KB,
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
After we add a pointer to gaia into m-c, we should begin using that gaia revision to create B2G desktop builds in buildbot.
Assignee | ||
Comment 1•11 years ago
|
||
We're going to also have to split behavior between b2g18* (no gaia.json) and m-c based repos (gaia.json).
Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → aki
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Hm, I need to redo the configs to allow for gaia.json usage on try. Two things: 1) Once I do that, try will use gaia.json, even if you're pushing from b2g18*. So b2g18* b2g desktop builds on try will be bogus without this file. 2) Since the factory is expecting the repo path to be the path portion of the url, not the server, I'm ignoring the repo portion of the file. I could urlparse it, or we could just specify the repo_path (e.g. integration/gaia-central), or we can make the repo ignorable and point to the appropriate repo_path in buildbot-configs. Needinfo-ing :jgriffin since I think the above two points are important to note, and correct early if needed.
Flags: needinfo?(jgriffin)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #758998 -
Attachment is obsolete: true
Assignee | ||
Comment 6•11 years ago
|
||
This is mostly ok, but the dang mirrors portion of the makeHgtoolStep() call doesn't seem to play nicely with a partial WithProperties self.gaiaRepo. http://hg.mozilla.org/build/buildbotcustom/file/cf7133c180d2/process/factory.py#l1189 And if I set self.gaiaRepoUrl to one thing from the gaia.json, and the mirrors are something completely different, I'm probably going to hit issues. Probably on gaia-try. Frustrating.
Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #4) > Hm, I need to redo the configs to allow for gaia.json usage on try. > > Two things: > > 1) Once I do that, try will use gaia.json, even if you're pushing from > b2g18*. So b2g18* b2g desktop builds on try will be bogus without this file. Currently, if someone pushes from b2g18 to try, they would end up using gaia master, right? That's a bogus config too. I think the answer is, "we don't support gaia tests on try for mozilla-b2g18". > > 2) Since the factory is expecting the repo path to be the path portion of > the url, not the server, I'm ignoring the repo portion of the file. > > I could urlparse it, or we could just specify the repo_path (e.g. > integration/gaia-central), or we can make the repo ignorable and point to > the appropriate repo_path in buildbot-configs. I think either of these would be ok. For clarity, maybe we should specify repo_path (so people who are looking at the file or manually updating it for a try run aren't confused about where it points to). > > Needinfo-ing :jgriffin since I think the above two points are important to > note, and correct early if needed.
Flags: needinfo?(jgriffin)
Assignee | ||
Comment 8•11 years ago
|
||
Ok. And true, re: b2g18 try.
Assignee | ||
Comment 9•11 years ago
|
||
I may have fixed the mirrors issue I was whining about earlier. Fun part about this patch? The json.loads() was barfing, so I'm using re.search() to parse the json to try to figure out the repo/revision. Fun fun fun. I'm using urlparse to get the repo path until we actually change the gaia.json contents, so I don't have to fork m-c to test.
Attachment #758997 -
Attachment is obsolete: true
Attachment #759004 -
Attachment is obsolete: true
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #759281 -
Attachment is obsolete: true
Assignee | ||
Comment 11•11 years ago
|
||
The re.search is stackdumping as well. Trying to figure out what is wrong.
Assignee | ||
Updated•11 years ago
|
Attachment #759000 -
Attachment description: (configs) [needs testing] use gaia.json; enable try gaia.json → (configs) use gaia.json; enable try gaia.json
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #759297 -
Attachment is obsolete: true
Assignee | ||
Comment 13•11 years ago
|
||
Updating the revision while I'm here, but the important part is getting the repo_path in instead of the repo url.
Attachment #759554 -
Flags: review?(jgriffin)
Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 759000 [details] [diff] [review] (configs) use gaia.json; enable try gaia.json This worked in staging, with the m-c linux32_gecko_localizer nightly. I'm not sure if I prefer clumping the b2g18* platforms together, or if I should clump all the gaia_revision_file bits together with a comment at the top.
Attachment #759000 -
Flags: review?(bhearsum)
Assignee | ||
Comment 15•11 years ago
|
||
Attachment #759557 -
Flags: review?(bhearsum)
Updated•11 years ago
|
Attachment #759557 -
Flags: review?(bhearsum) → review+
Comment 16•11 years ago
|
||
Comment on attachment 759000 [details] [diff] [review] (configs) use gaia.json; enable try gaia.json Review of attachment 759000 [details] [diff] [review]: ----------------------------------------------------------------- I like this bug, it seems like a win.
Attachment #759000 -
Flags: review?(bhearsum) → review+
Reporter | ||
Comment 17•11 years ago
|
||
Comment on attachment 759554 [details] [diff] [review] update gaia.json with repo_path Review of attachment 759554 [details] [diff] [review]: ----------------------------------------------------------------- Thanks.
Attachment #759554 -
Flags: review?(jgriffin) → review+
Assignee | ||
Comment 18•11 years ago
|
||
Comment on attachment 759554 [details] [diff] [review] update gaia.json with repo_path https://hg.mozilla.org/integration/mozilla-inbound/rev/195a1146daa0
Attachment #759554 -
Flags: checked-in+
Comment 19•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/195a1146daa0
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [leave open]
Assignee | ||
Comment 20•11 years ago
|
||
Comment on attachment 759000 [details] [diff] [review] (configs) use gaia.json; enable try gaia.json http://hg.mozilla.org/build/buildbot-configs/rev/4915cd411d3b
Attachment #759000 -
Flags: checked-in+
Assignee | ||
Comment 21•11 years ago
|
||
Comment on attachment 759557 [details] [diff] [review] (custom) use repo_path instead of urlparse http://hg.mozilla.org/build/buildbotcustom/rev/f1608e939e30
Attachment #759557 -
Flags: checked-in+
Assignee | ||
Comment 22•11 years ago
|
||
This is in production.
Reporter | ||
Comment 23•11 years ago
|
||
Nice!
Assignee | ||
Comment 24•11 years ago
|
||
And I see it working.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•