Releases/Fennec 14.0/BuildNotes

From MozillaWiki
Jump to navigation Jump to 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
android-xul

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

  1. 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.

DONE TO HERE

Build

Fennec

Fennec repacks

Android Signing

Hide candidates dir

Send email

Reset reserved slaves

Build 3

Set reserved slaves

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
  • Set clobbers for mozilla-beta
  • Landed patches:
  • 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="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 --dryrun localhost:9001 2>&1 | tee aki.out

Gave me:


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

Tag

Source

Build

Fennec

Fennec repacks

Android Signing

Hide candidates dir

Send email

Reset reserved slaves

Going to Beta

NOTE: Skip to "Before Release Day" for beta releases

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!

  • download both multi apks. These have the same name so save them to separate directories.
  • visit https://market.android.com/publish
  • choose "Firefox Beta" or "Firefox"
  • select the "APK Files" tab and choose "Upload APK"
    • choose the android 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"
  • If you're also uploading XUL Fennec, repeat the same steps for the android-xul multilocale apk
  • activate new android apk (You should see an Error message since both apk's are active)
  • deactivate old android apk (You should not see the Error message anymore). You can identify the two build types by
    • Native Fennec (phones) has Supported screens: small-large
    • XUL Fennec (tablets) has Supported screens: xlarge
  • If you're also activating XUL Fennec, repeat those steps for the android-xul multilocale apk.
  • 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"