ReleaseEngineering/Platforms/Android: Difference between revisions

Add info about split apks
(Add info about split apks)
 
Line 1: Line 1:
'''NOTE: This is still WIP.'''
= Introduction =  
= Introduction =  
Mozilla releases a version of [[Mobile/Platforms/Android|Firefox for Android]].
Mozilla releases a version of [[Mobile/Platforms/Android|Firefox for Android]].
Line 7: Line 5:


Currently, we build on EC2 instances (bld-linux64-ec2-XXX machines) and in-house machines (bld-linux64-ix-XXX machines).
Currently, we build on EC2 instances (bld-linux64-ec2-XXX machines) and in-house machines (bld-linux64-ix-XXX machines).
We create builds for three different architectures: armv6, armv7 and x86.
We create builds for three different architectures: Android API9, Android API10 and Android 4.2 x86.
We run unit tests and performance test differently for each build.
We run unit tests and performance test differently for each build.
You can see all jobs running in [https://treeherder.mozilla.org/ui/#/jobs?repo=mozilla-inbound&filter-searchStr=android].


= Builds & tests =
= Builds & tests =
== Armv6 ==
More info needed as to how we build this.
=== Android 2.2 ===
Jobs: '''unit tests''' tests <br />
Setup configuration: Foopies-board setup and fixed allocation (no mozpool).<br />
Hosts: Tegra boards (tegra-XXX) <br />
Scripts: [http://hg.mozilla.org/build/buildbotcustom/file/default/process/factory.py factory.py] <br />
Configs: [http://hg.mozilla.org/build/mozharness/file/default/configs/android/android_panda_releng.py android_panda_releng.py] and [http://hg.mozilla.org/build/mozharness/file/default/configs/androidandroid_panda_talos_releng.py android_panda_talos_releng.py]<br />
Artifacts: SUT agent, watcher


== Armv7 ==
== Armv7 API 9 ==
For this architecture we build both '''optimized''' and '''debug''' builds.
For this architecture we build both '''optimized''' and '''debug''' builds.
NOTE: We don't yet run tests on the debug builds.
NOTE: We don't yet run tests on the debug builds.
Line 28: Line 17:
More info needed as to how we build this.
More info needed as to how we build this.


=== Android 2.2 ===
=== Android 2.3 API 9===
Jobs: '''unit tests''' tests <br />
Setup configuration: Foopies-board setup and fixed allocation (no mozpool).<br />
Hosts: Tegra boards (tegra-XXX) <br />
Scripts: [http://hg.mozilla.org/build/buildbotcustom/file/default/process/factory.py factory.py] <br />
Configs: [http://hg.mozilla.org/build/mozharness/file/default/configs/android/android_panda_releng.py android_panda_releng.py] and [http://hg.mozilla.org/build/mozharness/file/default/configs/androidandroid_panda_talos_releng.py android_panda_talos_releng.py]<br />
Artifacts: SUT agent, watcher
 
=== Android 2.3 ===
This is still WIP.
 
Jobs: '''unit tests''' tests <br />
Jobs: '''unit tests''' tests <br />
Setup configuration: Emulator (single-core) <br />
Setup configuration: Emulator (single-core) <br />
Line 46: Line 25:
Artifacts: SUT agent, watcher, Android emulator, Android SDK, AVD definitions
Artifacts: SUT agent, watcher, Android emulator, Android SDK, AVD definitions


=== Android 4.0 ===
== Armv7 API 10 ==
For this architecture we build both '''optimized''' and '''debug''' builds.
NOTE: We don't yet run tests on the debug builds.
 
More info needed as to how we build this.
 
=== Android 4.0 API 10 ===
Jobs: '''unit tests''' and '''performance'' tests <br />
Jobs: '''unit tests''' and '''performance'' tests <br />
Setup configuration: Foopies-board setup and fixed allocation (no mozpool) <br />
Setup configuration: Foopies-board setup and fixed allocation (no mozpool) <br />
Line 54: Line 39:
Artifacts: SUT agent, watcher
Artifacts: SUT agent, watcher


== x86 ==
== Android x86 ==
More info needed as to how we build this.
More info needed as to how we build this.


Line 64: Line 49:
Configs: [http://hg.mozilla.org/build/mozharness/file/default/configs/android/androidarm.py androidarm.py]
Configs: [http://hg.mozilla.org/build/mozharness/file/default/configs/android/androidarm.py androidarm.py]
Artifacts: SUT agent, watcher, Android emulator, Android SDK, AVD definitions
Artifacts: SUT agent, watcher, Android emulator, Android SDK, AVD definitions
= Older builds/tests =
== Armv6 ==
More info needed as to how we build this.
=== Android 2.2 ===
Jobs: '''unit tests''' tests <br />
Setup configuration: Foopies-board setup and fixed allocation (no mozpool).<br />
Hosts: Tegra boards (tegra-XXX) <br />
Scripts: [http://hg.mozilla.org/build/buildbotcustom/file/default/process/factory.py factory.py] <br />
Configs: [http://hg.mozilla.org/build/mozharness/file/default/configs/android/android_panda_releng.py android_panda_releng.py] and [http://hg.mozilla.org/build/mozharness/file/default/configs/androidandroid_panda_talos_releng.py android_panda_talos_releng.py]<br />
Artifacts: SUT agent, watcher
== Armv7 ==
=== Android 2.2 ===
Jobs: '''unit tests''' tests <br />
Setup configuration: Foopies-board setup and fixed allocation (no mozpool).<br />
Hosts: Tegra boards (tegra-XXX) <br />
Scripts: [http://hg.mozilla.org/build/buildbotcustom/file/default/process/factory.py factory.py] <br />
Configs: [http://hg.mozilla.org/build/mozharness/file/default/configs/android/android_panda_releng.py android_panda_releng.py] and [http://hg.mozilla.org/build/mozharness/file/default/configs/androidandroid_panda_talos_releng.py android_panda_talos_releng.py]<br />
Artifacts: SUT agent, watcher
= Running locally =
TBD


= Testing setup configurations =
= Testing setup configurations =
Confirmed users
3,990

edits