Releases/Fennec 14.0/BuildNotes

From MozillaWiki
Jump to: navigation, search

Notes About Releasing

Please update the Notes Template and the Release:Primer for future releases (bug fixes, changes to automation) as needed

Bugs hit

Enter any bugs pre-existing or newly discovered and filed during the release:

Build Engineers

{aki} - Tracking bug: bug 758787

Signed-off Revision(s)

L10N changesets

  • build 1:
    • Created 14.0b8 milestones
    • Generated the 14.0b8 changesets without hitting "ship it"
    • Saved those as l10n-changesets_mobile-release.json

This is specifically because we're taking the latest off mozilla-beta, without really having clear 14.0 release-off-beta processes.

  • build 2:
    • Copied 14.0b8 build 3 changesets.

Tags

Manually tag the automation code, then record the generated tags below. (details)

Build # Branch, Tags Changeset
1 MOBILE140_2012061216_RELBRANCH, FENNEC_14_0_RELEASE, FENNEC_14_0_BUILD1 1f1eb085571a
2 MOBILE140_2012061216_RELBRANCH, FENNEC_14_0_RELEASE, FENNEC_14_0_BUILD2 35a98282d2a6

Build data

Fennec

Build # Type Build ID Build machine Time to build
1 android 20120619161328 linux-ix-slave36 50 mins, 32 secs
android-xul 20120619182707 linux-ix-slave22 51 mins, 31 secs
2 android 20120622154125 linux-ix-slave36 53 mins, 23 secs
android-xul linux-ix-slave22 53 mins, 58 secs

Notes

Build 1

Set reserved slaves

  • Reserved 5 slaves on bm12.

Preparing to start Automation

detailed instructions

  • readied to move the candidates dir away:
cd /pub/mozilla.org/mobile/candidates
mkdir ../nightly/test14
ln -s ../nightly/test14 14.0-candidates
  • l10n milestones
    • Created 14.0b8 milestones
    • Generated the 14.0b8 changesets without hitting "ship it"
    • Saved those as l10n-changesets_mobile-release.json

This is specifically because we're taking the latest off mozilla-beta, without really having clear 14.0 release-off-beta processes.

  • Set clobbers for mozilla-beta
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags.
  • update and reconfigure the master
cd /builds/buildbot/build1/master
source ../bin/activate
VERSION="14.0"
BUILDNUM="1"
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V $VERSION --branch mozilla-beta \
--build-number $BUILDNUM -c release-fennec-mozilla-release.py --products fennec --dryrun localhost:9001 2>&1 | tee aki.out

Gave me:

2012-06-19 15:54:07,935 : ERROR : Branch mozilla-beta isn't enabled for fennec
2012-06-19 15:54:07,936 : ERROR : Error verifying branch is enabled on master
2012-06-19 15:54:10,667 : ERROR : found in mobile/android/config/mozconfigs/android/release but not in mobile/android/config/mozconfigs/android/nightly: ac_add_options --with-branding=mobile/android/branding/official
2012-06-19 15:54:10,667 : ERROR : found in mobile/android/config/mozconfigs/android/nightly but not in mobile/android/config/mozconfigs/android/release: ac_add_options --with-branding=mobile/android/branding/beta
2012-06-19 15:54:13,488 : ERROR : Error verifying mozconfigs
2012-06-19 15:54:42,867 : ERROR : cannot find l10n dashboard at https://l10n.mozilla.org/shipping/l10n-changesets?ms=fennec14.0
2012-06-19 15:54:42,867 : ERROR : Error verifying l10n dashboard changesets
  • start automation ← monitor progress on buildbot (e.g. beta)
    • the same command as above but without the "--dryrun" and with a "-b"

E-mail Metrics

Done

Fennec,firefox-mobile,fennec,14.0,14.0

Tag

No problems.

Source

No problems.

Build

Fennec

  • Android: no problems.
  • Android-xul failed because I didn't change the multilocale config for it in mozharness. We're not shipping, so I skipped this.
    • Alex emailed saying we may release this.
    • Landed a patch to fix, re-tagged mozharness manually.
    • Rebuilt android-xul build.

The rebuild had no problems.

Fennec repacks

No problems.

Android Signing

  1. cltsign@signing1
cd signing-work/
hg --cwd mozharness pull
hg --cwd mozharness up -C -r default
python2.6 ~/signing-work/mozharness/scripts/sign_android.py --config-file signing/android_mozilla-release.py --platform android

Later did

python2.6 ~/signing-work/mozharness/scripts/sign_android.py --config-file signing/android_mozilla-release.py --platform android-xul

to sign the android-xul build.

Hide candidates dir

# ffxbld@stage
cd /pub/mozilla.org/mobile/candidates
ls -l 14.0-candidates
ls 14.0-candidates/
rm 14.0-candidates

Send email

Done.

Reset reserved slaves

Done.

Build 2

Set reserved slaves

5 on bm12.

Preparing to start Automation

detailed instructions

  • readied to move the candidates dir away:
cd /pub/mozilla.org/mobile/candidates
ln -s ../nightly/test14 14.0-candidates
  • l10n milestones -- copied l10n-changesets_mobile-beta.json from 14.0b8 build 3 to l10n-changesets_mobile-release.json
  • Set clobbers for mozilla-beta
  • Landed patches:
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags.
  • update and reconfigure the master
# cltbld@bm12
cd /builds/buildbot/build1
. bin/activate
make update
make checkconfig
make reconfig
tail -F -n 1000 master/twistd.log | grep configuration
# wait til "configuration update complete", ctrl-c out
  • release sanity
cd /builds/buildbot/build1/master

VERSION="14.0"
BUILDNUM="2"
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V $VERSION --branch mozilla-beta --build-number $BUILDNUM -c release-fennec-mozilla-release.py --products fennec --l10n-dashboard-version 14_beta_b8.3 --dryrun localhost:9001 2>&1 | tee aki.out

Gave me:

2012-06-22 15:28:34,442 : ERROR : Branch mozilla-beta isn't enabled for fennec
2012-06-22 15:28:34,443 : ERROR : Error verifying branch is enabled on master
2012-06-22 15:28:36,956 : ERROR : found in mobile/android/config/mozconfigs/android/release but not in mobile/android/config/mozconfigs/android/nightly: ac_add_options --with-branding=mobile/android/branding/official
2012-06-22 15:28:36,957 : ERROR : found in mobile/android/config/mozconfigs/android/nightly but not in mobile/android/config/mozconfigs/android/release: ac_add_options --with-branding=mobile/android/branding/beta
2012-06-22 15:28:40,110 : ERROR : Error verifying mozconfigs

These were expected.

  • start automation ← monitor progress on buildbot (e.g. beta)
    • the same command as above but without the "--dryrun" and with a "-b"

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 stat
hg --cwd mozharness up -C -r default
python2.6 ~/signing-work/mozharness/scripts/sign_android.py --config-file signing/android_mozilla-release.py --platform android

No problems.

Later did

python2.6 ~/signing-work/mozharness/scripts/sign_android.py --config-file signing/android_mozilla-release.py --platform android-xul

to sign the Android-xul builds.

Hide candidates dir

# ffxbld@stage
cd /pub/mozilla.org/mobile/candidates/
rm 14.0-candidates

Send email

Sent.

Reset reserved slaves

0

Release Day

Publish Fennec to the Play Store (for beta releases and release releases)

Push the files (for beta releases and release releases)
# ffxbld@stage
cd /pub/mozilla.org/mobile/nightly
rsync -avP /pub/mozilla.org/mobile/nightly/test14/ /pub/mozilla.org/mobile/candidates/14.0-candidates/
Play Store (for beta releases and release releases)

This will be the 14.0 build 2 android multi apk.

If we need to push the 14.0 build 2 android-xul multi apk, we can do that as well. Per Alex, this will be deactivated if we do push it.