Closed
Bug 820165
Opened 13 years ago
Closed 13 years ago
b2g_build.py looking for platform.ini in a different place than it should be
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhford, Assigned: mozilla)
References
Details
Attachments
(2 files)
|
2.92 KB,
patch
|
catlee
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
|
2.93 KB,
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
https://tbpl.mozilla.org/php/getParsedLog.php?id=17795026&tree=Firefox&full=1#error0
The script is looking for b2g's platform.ini here:
$builder_dir/build/out/target/product/panda-gaia-central/system/b2g/platform.ini
but that path should be using the PRODUCT_OUT android build system variable to locate the file. This variable is set on the build machines to:
$builder_dir/build/out/target/product/panda
Which means that it should be looking for:
$builder_dir/build/out/target/product/panda/system/b2g/platform.ini
It looks like b2g_build.py is substituting the releng name of the platform where it should be the android build system name of the platform ("panda").
Updated•13 years ago
|
Component: Release Engineering → Release Engineering: Automation (General)
QA Contact: catlee
| Assignee | ||
Comment 1•13 years ago
|
||
I think we do that in three places:
http://hg.mozilla.org/build/mozharness/file/a6817d229248/scripts/b2g_build.py#l119
http://hg.mozilla.org/build/mozharness/file/a6817d229248/scripts/b2g_build.py#l177
http://hg.mozilla.org/build/mozharness/file/a6817d229248/scripts/b2g_build.py#l472
Now all we need is a map of panda-gaia-central -> panda.
Component: Release Engineering: Automation (General) → Release Engineering
QA Contact: catlee
| Assignee | ||
Updated•13 years ago
|
Component: Release Engineering → Release Engineering: Automation (General)
QA Contact: catlee
| Assignee | ||
Comment 2•13 years ago
|
||
The current solution being considered is
1) rename panda-gaia-central to panda_gaia-central
2) go by self.config['target'].split('_')[0]
Is there a way to get PRODUCT_OUT directly?
| Assignee | ||
Comment 3•13 years ago
|
||
Also
--target panda --b2g-config-dir panda-gaia-central
would work.
| Assignee | ||
Comment 4•13 years ago
|
||
Assignee: nobody → aki
Attachment #690609 -
Flags: review?(catlee)
| Assignee | ||
Comment 5•13 years ago
|
||
Attachment #690610 -
Flags: review?(bhearsum)
| Assignee | ||
Comment 6•13 years ago
|
||
I hid the panda-gaia-central builds on tbpl (m-c, m-i, m-a, m-b) til this is fixed.
| Assignee | ||
Comment 7•13 years ago
|
||
also m-b2g18.
Comment 8•13 years ago
|
||
Comment on attachment 690610 [details] [diff] [review]
change --target panda-gaia-central to --target panda --b2g-config-dir panda-gaia-central
Review of attachment 690610 [details] [diff] [review]:
-----------------------------------------------------------------
::: mozilla/b2g_config.py
@@ +665,5 @@
> # b2g_build.py will checkout gecko from hg and look up a tooltool manifest given by the
> # --target name below
> # TODO: add gecko multilocale args
> + 'extra_args': ['--target', 'panda',
> + '--b2g-config-dir', 'panda-gaia-central',
I don't see --b2g-config-dir existing anywhere...at least according to mxr: https://mxr.mozilla.org/build-central/search?string=b2g-config-dir
Comment 9•13 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #6)
> I hid the panda-gaia-central builds on tbpl (m-c, m-i, m-a, m-b) til this is
> fixed.
I've just added Try, fx-team, services-central, ionmonkey to that list
Updated•13 years ago
|
Attachment #690609 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 10•13 years ago
|
||
(In reply to Ben Hearsum [:bhearsum] from comment #8)
> Comment on attachment 690610 [details] [diff] [review]
> change --target panda-gaia-central to --target panda --b2g-config-dir
> panda-gaia-central
>
> Review of attachment 690610 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: mozilla/b2g_config.py
> @@ +665,5 @@
> > # b2g_build.py will checkout gecko from hg and look up a tooltool manifest given by the
> > # --target name below
> > # TODO: add gecko multilocale args
> > + 'extra_args': ['--target', 'panda',
> > + '--b2g-config-dir', 'panda-gaia-central',
>
> I don't see --b2g-config-dir existing anywhere...at least according to mxr:
> https://mxr.mozilla.org/build-central/search?string=b2g-config-dir
See the other patch on this bug.
| Assignee | ||
Comment 11•13 years ago
|
||
Comment on attachment 690609 [details] [diff] [review]
[mozharness] add --b2g-config-dir to b2g_build.py
http://hg.mozilla.org/build/mozharness/rev/5f483079897a
Attachment #690609 -
Flags: checked-in+
Updated•13 years ago
|
Attachment #690610 -
Flags: review?(bhearsum) → review+
| Assignee | ||
Comment 12•13 years ago
|
||
Comment on attachment 690610 [details] [diff] [review]
change --target panda-gaia-central to --target panda --b2g-config-dir panda-gaia-central
http://hg.mozilla.org/build/buildbot-configs/rev/10328682a1a3
Attachment #690610 -
Flags: checked-in+
| Assignee | ||
Comment 13•13 years ago
|
||
This is in production.
| Assignee | ||
Comment 14•13 years ago
|
||
Green panda-gaia-central dep on b2g18.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 15•13 years ago
|
||
Unhidden on above branches.
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•