Releases/Fennec 14.0b2/BuildNotes: Difference between revisions
(21 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
= Bugs hit = | = Bugs hit = | ||
Enter any bugs pre-existing or newly discovered and filed during the release: | Enter any bugs pre-existing or newly discovered and filed during the release: | ||
* | * {{bug|755588}} - mozconfig whitelist update needed for MOZ_MOBILE_COMPAT=Tablets (13.0b2) | ||
=Build Engineers= | =Build Engineers= | ||
Line 29: | Line 29: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | MOBILE140_2012051517_RELBRANCH, FENNEC_14_0b2_RELEASE, FENNEC_14_0b2_BUILD1 | ||
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/ | | [http://hg.mozilla.org/releases/mozilla-aurora/rev/9ff2584b47a5 9ff2584b47a5] | ||
|- | |- | ||
| 13.0b2 build3 spin1 | | 13.0b2 build3 spin1 | ||
| MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD3 FENNEC_13_0b2_RELEASE | | MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD3 FENNEC_13_0b2_RELEASE | ||
| [http://hg.mozilla.org/releases/mozilla-beta/rev/ | | [http://hg.mozilla.org/releases/mozilla-beta/rev/88ee14110a74 88ee14110a74] | ||
|} | |} | ||
Line 48: | Line 48: | ||
| rowspan="2" | 1 | | rowspan="2" | 1 | ||
| android | | android | ||
| rowspan="2" | | | rowspan="2" | 20120515171426 | ||
| | | linux-ix-slave29 | ||
| | | 48 mins, 18 secs | ||
|- | |- | ||
| android-xul | | android-xul | ||
| | | linux-ix-slave39 | ||
| | | 51 mins, 20 secs | ||
|- | |- | ||
| 13.0b2 build | | 13.0b2 build 3 spin 1 | ||
| android-xul | | android-xul | ||
| | | 20120515174413 | ||
| | | linux-ix-slave15 | ||
| | | 45 mins, 41 secs | ||
|} | |} | ||
Line 68: | Line 68: | ||
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small> | <small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small> | ||
* Set clobbers for mozilla-aurora | * Set clobbers for mozilla-aurora | ||
* | * Reserved 5 slaves on bm12 | ||
* | * Updated l10n changesets for mobile (see above) -- no changes | ||
* | * Landed configs: [http://hg.mozilla.org/build/buildbot-configs/rev/599243f9ac92 default] [http://hg.mozilla.org/build/buildbot-configs/rev/098d942e4868 production] | ||
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags. | * Tag buildbot-configs, buildbotcustom, & tools with build & release tags. | ||
hg tag -f FENNEC_14_0b2_{RELEASE,BUILD1} | hg tag -f FENNEC_14_0b2_{RELEASE,BUILD1} | ||
* | * updated and reconfigured the master | ||
* release-sanity | * release-sanity | ||
<pre> | <pre> | ||
Line 88: | Line 88: | ||
Use the address "metrics-alerts < AT > mozilla < PERIOD > org" | Use the address "metrics-alerts < AT > mozilla < PERIOD > org" | ||
# For 14. | # For 14.0b2 : | ||
Fennec,firefox-mobile,fennec,14. | Fennec,firefox-mobile,fennec,14.0b2,14.0 | ||
=== Tag === | === Tag === | ||
No problems. | |||
=== Source === | === Source === | ||
No problems. | |||
=== Build === | === Build === | ||
==== Fennec ==== | ==== Fennec ==== | ||
No problems. | |||
===== Fennec repacks ===== | ===== Fennec repacks ===== | ||
No problems. | |||
=== Android Signing === | === Android Signing === | ||
Line 107: | Line 111: | ||
hg --cwd mozharness pull | hg --cwd mozharness pull | ||
hg --cwd mozharness up -C -r default | hg --cwd mozharness up -C -r default | ||
python26 mozharness/scripts/sign_android.py --cfg signing/android_mozilla-aurora.py --platform android | |||
python26 mozharness/scripts/sign_android.py -- | |||
</pre> | </pre> | ||
=== Reset reserved slaves === | === Reset reserved slaves === | ||
Done. | |||
==13.0b2 build 3 spin 1== | |||
===Preparing to start Automation=== | ===Preparing to start Automation=== | ||
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small> | <small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small> | ||
* Set clobbers for mozilla-beta | * Set clobbers for mozilla-beta | ||
* | * Reserved slaves on bm13 | ||
* L10n changesets for 13.0b2 build3 spin1 will remain empty {} | |||
* L10n changesets for 13.0b2 | * There are code changes! | ||
* | |||
=== IF NO CODE HAS CHANGED === | |||
n/a, code has changed. | |||
=== IF CODE HAS CHANGED === | |||
* Landed 13.0b2 configs: [http://hg.mozilla.org/build/buildbot-configs/rev/02c3e6eae112 default] [http://hg.mozilla.org/build/buildbot-configs/rev/85dc1088a3ae production]. incremented the build number to 3. | |||
* Created a build3-spin1 directory on stage, and softlinked build3 to it. | |||
<pre> | <pre> | ||
# ffxbld@stage | # ffxbld@stage | ||
cd /pub/mozilla.org/mobile/candidates/13.0b2-candidates | cd /pub/mozilla.org/mobile/candidates/13.0b2-candidates | ||
mkdir | mkdir build3-spin1 | ||
ln -s build3-spin1 build3 | |||
ln -s | |||
</pre> | </pre> | ||
* | * Tagged buildbot-configs, buildbotcustom, & tools with build & release tags. | ||
hg tag -f FENNEC_13_0b2_{RELEASE,BUILD#} | |||
* update and reconfigure the master | |||
* release-sanity | |||
<pre> | |||
# For 13.0b2 build 3: | |||
# cltbld@bm13 | |||
cd /builds/buildbot/build1/master | |||
source ../bin/activate | |||
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec --dryrun localhost:9001 2>&1 | tee aki.out | |||
</pre> | |||
Ran into a mozconfig issue, filed {{bug|755588}}. | |||
* started automation with -m ''← monitor progress on buildbot (e.g. [http://buildbot-master13.build.mozilla.org:8001/waterfall?num_events=10&category=release-mozilla-beta- beta])'' | |||
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec -m localhost:9001 2>&1 | tee aki.out | |||
=== Tagging === | |||
(only runs if code has changed) | |||
=== Source === | |||
(only runs if code has changed) | |||
=== Build === | === Build === | ||
==== Fennec ==== | ==== Fennec ==== | ||
No problems. | |||
=== Android Signing === | === Android Signing === | ||
Line 155: | Line 188: | ||
'''IMPORTANT -''' Make sure to follow instructions! | '''IMPORTANT -''' Make sure to follow instructions! | ||
<font color="red" size="+1">'''The 14. | <font color="red" size="+1">'''The 14.0b2 build *must* be uploaded before the 13.0b2 build!'''</font> | ||
* download 14. | * download 14.0b2 and 13.0b2 multi apk (e.g. [http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/14.0b2-candidates/build1/android/multi/fennec-14.0b2.multi.android-arm.apk] and [http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/13.0b2-candidates/build3/android-xul/multi/fennec-13.0b2.multi.android-arm.apk]) | ||
* visit https://market.android.com/publish | * visit https://market.android.com/publish | ||
* choose "Firefox Beta" or "Firefox" | * choose "Firefox Beta" or "Firefox" | ||
* select the "APK Files" tab and choose "Upload APK" | * select the "APK Files" tab and choose "Upload APK" | ||
** choose the 14. | ** choose the 14.0b2 multi apk that you downloaded and hit "upload" | ||
*** NOTE: the progress bar does not seem to show progress (at least on Google Chrome) | *** NOTE: the progress bar does not seem to show progress (at least on Google Chrome) | ||
** when it finishes uploading, verify VersionCode is the build date (almost anyway, the market reports an hour later than our buildID) | ** when it finishes uploading, verify VersionCode is the build date (almost anyway, the market reports an hour later than our buildID) | ||
** hit "Save" | ** hit "Save" | ||
* Repeat with the 13.0b2 multi apk | * Repeat with the 13.0b2 multi apk | ||
* activate new 14. | * activate new 14.0b2 and 13.0b2 apks (You should see an Error message since both apk's are active) | ||
* deactivate old apks (You should not see the Error message anymore) | * deactivate old apks (You should not see the Error message anymore) | ||
* hit "Save" | * hit "Save" | ||
* If this is a beta 1, go to "Product Details" tab -> Recent Changes, change the url to http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/ | * If this is a beta 1, go to "Product Details" tab -> Recent Changes, change the url to http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/ | ||
** and hit "Save" | ** and hit "Save" |
Latest revision as of 17:43, 18 May 2012
Notes About Releasing
Please update the Aurora Notes Template and the Release:Primer for future releases (bug fixes, changes to automation) as needed.
You will need to build a 14.0bX build using the fennec mozilla-aurora config files, then a respin of the 13.0b2 build2 android-xul build for tablets. Both will go to the market.
Bugs hit
Enter any bugs pre-existing or newly discovered and filed during the release:
- bug 755588 - mozconfig whitelist update needed for MOZ_MOBILE_COMPAT=Tablets (13.0b2)
Build Engineers
{aki} - Tracking bug: bug 755486
Signed-off Revision(s)
- Build 1: 319fc8878b6e
- 13.0b2 build3 spin1: 88ee14110a74
L10N changesets
- 14.0bN will get Aurora changesets from this dashboard link. This link will change over time, so won't be useful for verifying later, but isn't dependent on a milestone being created per beta.
- 13.0b2 build# spin# will have an empty l10n-changesets_mobile-beta.json
Tags
Manually tag the automation code, then record the generated tags below. (details)
Build # | Branch, Tags | Changeset |
1 | MOBILE140_2012051517_RELBRANCH, FENNEC_14_0b2_RELEASE, FENNEC_14_0b2_BUILD1 | 9ff2584b47a5 |
13.0b2 build3 spin1 | MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD3 FENNEC_13_0b2_RELEASE | 88ee14110a74 |
Build data
Fennec
Build # | Type | Build ID | Build machine | Time to build |
1 | android | 20120515171426 | linux-ix-slave29 | 48 mins, 18 secs |
android-xul | linux-ix-slave39 | 51 mins, 20 secs | ||
13.0b2 build 3 spin 1 | android-xul | 20120515174413 | linux-ix-slave15 | 45 mins, 41 secs |
Notes
Build 1
Preparing to start Automation
- Set clobbers for mozilla-aurora
- Reserved 5 slaves on bm12
- Updated l10n changesets for mobile (see above) -- no changes
- Landed configs: default production
- Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_14_0b2_{RELEASE,BUILD1}
- updated and reconfigured the master
- release-sanity
# For 14.0b2 build 1: # cltbld@bm12 cd /builds/buildbot/build1/master source ../bin/activate PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b2 --branch mozilla-aurora --build-number 1 -c release-fennec-mozilla-aurora.py -m -l --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
- start automation ← monitor progress on buildbot (e.g. aurora)
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b2 --branch mozilla-aurora --build-number 1 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out
E-mail Metrics
Use the address "metrics-alerts < AT > mozilla < PERIOD > org"
# For 14.0b2 : Fennec,firefox-mobile,fennec,14.0b2,14.0
Tag
No problems.
Source
No problems.
Build
Fennec
No problems.
Fennec repacks
No problems.
Android Signing
# cltsign@signing1 cd signing-work hg --cwd mozharness pull hg --cwd mozharness up -C -r default python26 mozharness/scripts/sign_android.py --cfg signing/android_mozilla-aurora.py --platform android
Reset reserved slaves
Done.
13.0b2 build 3 spin 1
Preparing to start Automation
- Set clobbers for mozilla-beta
- Reserved slaves on bm13
- L10n changesets for 13.0b2 build3 spin1 will remain empty {}
- There are code changes!
IF NO CODE HAS CHANGED
n/a, code has changed.
IF CODE HAS CHANGED
- Landed 13.0b2 configs: default production. incremented the build number to 3.
- Created a build3-spin1 directory on stage, and softlinked build3 to it.
# ffxbld@stage cd /pub/mozilla.org/mobile/candidates/13.0b2-candidates mkdir build3-spin1 ln -s build3-spin1 build3
- Tagged buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_13_0b2_{RELEASE,BUILD#}
- update and reconfigure the master
- release-sanity
# For 13.0b2 build 3: # cltbld@bm13 cd /builds/buildbot/build1/master source ../bin/activate PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
Ran into a mozconfig issue, filed bug 755588.
- started automation with -m ← monitor progress on buildbot (e.g. beta)
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec -m localhost:9001 2>&1 | tee aki.out
Tagging
(only runs if code has changed)
Source
(only runs if code has changed)
Build
Fennec
No problems.
Android Signing
# cltsign@signing1 cd signing-work hg --cwd mozharness pull hg --cwd mozharness up -C -r default python26 mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py
Release Day
Publish Fennec to the Play Store (for beta releases and release releases)
Push the files (for beta releases and release releases)
- Use this script and run it as ffxbld@stage (please push you changes prior to using it, and grab latest on stage via curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh)
Play Store (for beta releases and release releases)
IMPORTANT - Make sure to follow instructions!
The 14.0b2 build *must* be uploaded before the 13.0b2 build!
- download 14.0b2 and 13.0b2 multi apk (e.g. [1] and [2])
- visit https://market.android.com/publish
- choose "Firefox Beta" or "Firefox"
- select the "APK Files" tab and choose "Upload APK"
- choose the 14.0b2 multi apk that you downloaded and hit "upload"
- NOTE: the progress bar does not seem to show progress (at least on Google Chrome)
- when it finishes uploading, verify VersionCode is the build date (almost anyway, the market reports an hour later than our buildID)
- hit "Save"
- choose the 14.0b2 multi apk that you downloaded and hit "upload"
- Repeat with the 13.0b2 multi apk
- activate new 14.0b2 and 13.0b2 apks (You should see an Error message since both apk's are active)
- deactivate old apks (You should not see the Error message anymore)
- hit "Save"
- If this is a beta 1, go to "Product Details" tab -> Recent Changes, change the url to http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/
- and hit "Save"