Closed Bug 917144 Opened 12 years ago Closed 12 years ago

list apps included in b2g engineering builds, and prune non-essential apps to reduce size

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.2 fixed)

RESOLVED FIXED
Tracking Status
b2g-v1.2 --- fixed

People

(Reporter: joduinn, Assigned: yurenju)

References

Details

Attachments

(1 file)

Spun out from bug#912617. Found bug#854995 while filing. Guessing this is correct component, but please adjust as needed. (In reply to Tony Chung [:tchung] from comment #12) > (In reply to Chris AtLee [:catlee] from comment #8) > > We are about 4.8 MB over the size limit here, if I'm interpreting this line > > correctly. > > 09:08:02 INFO - error: out/target/product/hamachi/system.img+ too large > > (197465664 > [194641920 - 2027520]) > > > > Tony, Fabrice suggested we may be able to get these working by disabling > > some of the test apps. Are there any you know of that we could delete? > > good question. given this is for test automation, i'll defer to stephen's > team to comment more. can you list the existing test apps that are in the > bundle right now? then we can just go through the list and say > keep/delete..
Depends on: 912617
Flags: needinfo?(stephen.donner)
It's probably easier for build/engineering to list the apps, since you have access to the manifest; my team can answer what we need from the engineering builds, but I know we at least need to keep the Keyboard app. Also, we're not the only consumer of the engineering builds, so I'm not sure whom else we'd need to ask before removing test apps?
Flags: needinfo?(stephen.donner) → needinfo?(zcampbell)
We don't actually use anything aside from the core apps but I know you'll step on the toes of the Persona team if you remove the "UI Tests" app.
Flags: needinfo?(zcampbell)
Can someone write a post to dev-gaia about this bug? That will help figure out what we can and can't prune from the build.
(In reply to Zac C (:zac) from comment #2) > We don't actually use anything aside from the core apps but I know you'll > step on the toes of the Persona team if you remove the "UI Tests" app. Thank you, this is true; we use the UI Tests app to launch the navigator.mozId and navigator.mozId.get tests. We'd be glad to move them somewhere else if necessary.
As a volunteer who has been working on a few bugs, I have found uitests app to be extremely useful. It is very handy to reproduce bugs, because it contains minimal use cases for almost every UI feature.
We're using the keyboard and lockscreen apps (actually we only use lockscreen because 'gaiatest.py' uses it, but the keyboard app we use independently).
Will it be possible to have marketplace-dev app installed by default on the eng builds?
(In reply to Jason Smith [:jsmith] from comment #3) > Can someone write a post to dev-gaia about this bug? That will help figure > out what we can and can't prune from the build. Done yesterday: https://groups.google.com/forum/#!topic/mozilla.dev.gaia/1YQeZmB3P_4
Removing these, as a start, seems to not hurt anyone's workflow/needs (at least, those that have chimed in, in this bug), and seems to have given us enough space to move forward (for now). RelEng, can we get these pruned, for now, as a "test"? rm -rf b2g-distro/gaia/profile/webapps/cubevid* rm -rf b2g-distro/gaia/profile/webapps/testpermission* rm -rf b2g-distro/gaia/profile/webapps/image-uploader* rm -rf b2g-distro/gaia/profile/webapps/crystalskull* rm -rf b2g-distro/gaia/profile/webapps/test-ime*
:vingtetun are you fine with the (few, so far) proposed removals, to help engineering builds flash/run again? Thanks!
Flags: needinfo?(21)
(In reply to Stephen Donner [:stephend] from comment #10) > :vingtetun are you fine with the (few, so far) proposed removals, to help > engineering builds flash/run again? Thanks! Or Jonas? :-) RelEng doesn't feel comfortable removing without approval, first.
Flags: needinfo?(jonas)
fwiw, that looks very reasonable to me. I was expecting more pruning :)
Fabrice also said we could probably remove tests-sensors.
Please make sure we are patching gaia/build/apps-engineering.list for this bug instead of creating something fancy in releng scripts. I wouldn't mind if releng opt to use a customized list like apps-engbuild-relengs.list.
Assignee: nobody → yurenju.mozilla
it's easy to create or modify a set with customization mechanism. e.g., create a file |apps-newset.list| in GAIA_DIR/build/ with: > apps/system > apps/keyboard > apps/homescreen > apps/settings and build gaia: |GAIA_APP_CONFIG=build/apps-newset.list make reset-gaia|, you will get a gaia build only with settings app on homescreen.
(In reply to Yuren Ju [:yurenju] from comment #16) > it's easy to create or modify a set with customization mechanism. e.g., > create a file |apps-newset.list| in GAIA_DIR/build/ with: > > apps/system > > apps/keyboard > > apps/homescreen > > apps/settings > > and build gaia: |GAIA_APP_CONFIG=build/apps-newset.list make reset-gaia|, > you will get a gaia build only with settings app on homescreen. Thanks, Yuren. We don't self-build (our machines are dedicated to the automation-infrastructure running, itself, and we need Engineering builds with specific scripts, etc.). I see you've assigned this to yourself; would it be possible to get the apps from comment 9 and comment 13 removed from the list this evening, to help unblock our Unagi and Inari runs? Thanks!
how much size does we need to reduce? I removed apps mentioned in comment 9 and comment 13 and reduce profile size from 84M to 73M, is it enough?
Flags: needinfo?(stephen.donner)
remove apps list below to reduce image size for engineering build: - cubevid - testpermission - image-uploader - crystalskull - test-ime - tests-sensors
Attachment #809024 - Flags: review?(timdream)
Comment on attachment 809024 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/12384 Do remember to send an e-mail to dev-gaia for this. Thanks.
Attachment #809024 - Flags: review?(timdream) → review+
email was sent. accroding comment 0, reduce 11M should be enough.
Flags: needinfo?(stephen.donner)
added test-ime back because we use it for integration test.
(In reply to Yuren Ju [:yurenju] from comment #22) > added test-ime back because we use it for integration test. Thanks, Yuren! Who is able to do this review and unblock us by merging it?
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(jonas)
Flags: needinfo?(21)
Resolution: --- → FIXED
in 1.2: 9fe0880922a133261b2ed38e66df78c83a4fff0e
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: