Releases/Fennec 14.0b3/BuildNotes

From MozillaWiki
Jump to: navigation, search

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.0b3 build using the fennec mozilla-aurora config files, then a new build or respin (depending on code changes) of the 13.0b2 build# 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 757911 - buildbot database replication event causing multiple failures

Build Engineers

{aki} - Tracking bug: bug 757597

Signed-off Revision(s)

L10N changesets

  • 14.0b3 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 build3 spin2 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_2012052310_RELBRANCH, FENNEC_14_0b3_RELEASE, FENNEC_14_0b3_BUILD1 397e23d78465
13.0b2 build3 spin2 MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD3 FENNEC_13_0b2_RELEASE 88ee14110a74
2 MOBILE140_2012052310_RELBRANCH, FENNEC_14_0b3_RELEASE, FENNEC_14_0b3_BUILD2 fcd3d27d53c6
13.0b2 build3 spin3 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 20120523093928 linux-ix-slave01 49 mins, 28 secs
android-xul linux-ix-slave13 49 mins, 22 secs
13.0b2 build 3 spin 2 android-xul 20120523112126 linux-ix-slave35 46 mins, 8 secs
2 android 20120524133102 linux-ix-slave01 51 mins, 16 secs
android-xul linux-ix-slave17 52 mins, 12 secs
13.0b2 build 3 spin 3 android-xul 20120524151809 linux-ix-slave35 46 mins, 44 secs

Notes

Build 1

Preparing to start Automation

detailed instructions

  • Set clobbers for mozilla-aurora
  • Reserved slaves on bm12
  • Updated l10n changesets for mobile (see above)
  • Double landed configs: default production
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_14_0b3_{RELEASE,BUILD1}
  • updated and reconfigured the master
  • release-sanity
# For 14.0b3 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.0b3 --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.0b3 --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.0b3 :
Fennec,firefox-mobile,fennec,14.0b3,14.0

Tag

No problems.

db-issue caused 2nd run completed, probably very ugly =\

Source

No problems.

Killed 2nd and 3rd runs due to db replication issues.

Build

Fennec

No problems.

Killed 2nd and 3rd runs due to db replication issues.

Fennec repacks

No problems.

Android Signing

I started this before the repacks kicked off. Removed the android dir on stage; reran after repacks. No problems.

# 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 2

Preparing to start Automation

detailed instructions

  • Set clobbers for mozilla-beta
  • Reserve slave on bm13
  • L10n changesets for 13.0b2 build3 spin2 will remain empty {}
  • Verify that nothing has changed in 13.0b2 land since the previous spin.

IF NO CODE HAS CHANGED

No code has changed.

  • Created a build3-spin2 directory on stage, and softlink the build3 to it.
  • Hit "rebuild" on the latest release-mozilla-beta-android-xul_build.
    • This will upload into the build3-spin2 directory instead of overwriting the previous build.

Build

Fennec

No problems.

Android Signing

No problems.

# 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

Build 2

Preparing to start Automation

detailed instructions

  • Set clobbers for mozilla-aurora
  • Reserved 5 slaves on bm12
  • L10n changesets are unchanged since build 1.
hg tag -f FENNEC_14_0b3_{RELEASE,BUILD2}
  • updated and reconfigured the master
  • release-sanity
# For 14.0b3 build 2:
# cltbld@bm12
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b3 --branch mozilla-aurora --build-number 2 -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.0b3 --branch mozilla-aurora --build-number 2 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out

Tag

No problems.

Source

No problems.

Build

Fennec

No problems.

Fennec repacks

No problems.

Android Signing

No problems.

# 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 3

Preparing to start Automation

detailed instructions

  • Set clobbers for mozilla-beta
  • No code has changed.

IF NO CODE HAS CHANGED

If no code has changed since the previous 13.0b2 build, we can just respin the previous build:

  • Created a build3-spin3 directory on stage, and softlinked build3 to it.

Build

Fennec

No problems.

Android Signing

No problems.

# 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)
Play Store (for beta releases and release releases)

IMPORTANT - Make sure to follow instructions!

The 14.0b# build *must* be uploaded before the 13.0b2 build!

  • download 14.0b# 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.0b# 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 the versionCode is the build date (almost anyway, the market reports an hour later than our buildID)
    • hit "Save"
  • Repeat with the 13.0b2 multi apk
    • when it finishes uploading, verify the versionCode is larger than the 14.0b# versionCode.
  • activate new 14.0b# 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"