Closed Bug 820165 Opened 12 years ago Closed 12 years ago

b2g_build.py looking for platform.ini in a different place than it should be

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhford, Assigned: mozilla)

References

Details

Attachments

(2 files)

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").
Component: Release Engineering → Release Engineering: Automation (General)
QA Contact: catlee
Component: Release Engineering: Automation (General) → Release Engineering
QA Contact: catlee
Component: Release Engineering → Release Engineering: Automation (General)
QA Contact: catlee
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?
Also --target panda --b2g-config-dir panda-gaia-central would work.
Assignee: nobody → aki
Attachment #690609 - Flags: review?(catlee)
I hid the panda-gaia-central builds on tbpl (m-c, m-i, m-a, m-b) til this is fixed.
also m-b2g18.
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
Blocks: 817811
(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
Attachment #690609 - Flags: review?(catlee) → review+
(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.
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+
Attachment #690610 - Flags: review?(bhearsum) → review+
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+
This is in production.
Green panda-gaia-central dep on b2g18.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Unhidden on above branches.
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: