Releases/Firefox 11.0b5/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:

  • bug 729516 - Errors comparing fennec mozconfigs to nightly mozconfigs
  • bug 725300 - mozconfig comparison output from release sanity is hard to read
    • made the release_sanity.py output say a lot of "ERROR", bypassed with "-b"
  • bug 725839 - created candidates symlink by hand at start
  • bug 729998 - Check permissions failed because setgid
    • rail fixed this before I even woke up
  • bug 732516 - Bump free space requirement for Windows l10n verification

Build Engineers

coop - Tracking bug: bug 719425

Signed-off Revision(s)

Build 1: cefd93ce9ec5

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
MOBILE110_2012022820_RELBRANCH, FENNEC_11_0b5_RELEASE, FENNEC_11_0b5_BUILD1 9e00ed5d9453
GECKO110_2012022820_RELBRANCH, FIREFOX_11_0b5_BUILD1 FIREFOX_11_0b5_RELEASE 33223be526ea

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20120228210006 mv-moz2-linux-ix-slave10 1 hrs, 1 mins, 29 secs
Linux64 moz2-linux64-slave01 2 hrs, 41 mins, 8 secs
Mac moz2-darwin10-slave41 3 hrs, 14 mins, 8 secs
Windows mw32-ix-slave03 3 hrs, 19 mins, 36 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android-xul 20120228204920 mv-moz2-linux-ix-slave08 46 mins, 16 secs

Notes

Build 1

Syncing repos

(eg: mozilla-beta -> mozilla-release for new Firefox releases)

Diff mozconfigs

If this is a *.0 beta -> release. May also need to update the whitelist of nightly vs release differences for release sanity.

Preparing to start Automation

  • Set clobbers for the appropriate masters
  • Reserve slaves
  • created symlink (see bug 725839):
# ffxbld@stage
cd /pub/mozilla.org/firefox/nightly/
ln -s ../candidates/11.0b5-candidates 11.0b5-candidates
  • Update l10n changesets for desktop, mobile
  • Land automation configs
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags
  • merged and reconfig-ed all masters
  • start automation
cd master
. ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u coop -p firefox,fennec \
 -V 11.0b5 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
 --dryrun  localhost:9001 2>&1 | tee release_sanity_11.0b5.out

Same errors hit as for 11.0b4. Ran release_sanity.py with -b flag to skip errors. See ERROR output section below for details

cd master
. ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u coop -p firefox,fennec \
 -V 11.0b5 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
 -b  localhost:9001 2>&1 | tee release_sanity_11.0b5.out

ERROR output

Identical (modulo changesets) to the ERRORS armenzg hit with 11.0b4 (bug 729516 and bug 725300)

2012-02-28 20:35:44,258 : INFO : Comparing fennec mozconfigs to nightly mozconfigs...
2012-02-28 20:35:50,473 : ERROR : MISSING: http://hg.mozilla.org/releases/mozilla-beta/raw-file/cefd93ce9ec5/mobile/android/config/mozconfigs/android/release - ERROR: Not Found
2012-02-28 20:35:56,591 : INFO : Missing mozconfigs to compare for android
2012-02-28 20:36:02,794 : ERROR : MISSING: http://hg.mozilla.org/releases/mozilla-beta/raw-file/cefd93ce9ec5/mobile/xul/config/mozconfigs/android/release - ERROR: Not Found
2012-02-28 20:36:09,035 : INFO : Missing mozconfigs to compare for android-xul
2012-02-28 20:36:09,165 : INFO : Comparing tagged revision http://hg.mozilla.org/build/buildbot-configs/raw-file/FENNEC_11_0b5_BUILD1/mozilla/release-fennec-mozilla-beta.py to on-disk release-fennec-mozilla-beta.py ...
2012-02-28 20:36:09,437 : INFO : Comparing tagged revision http://hg.mozilla.org/build/buildbot-configs/raw-file/FENNEC_11_0b5_BUILD1/mozilla/l10n-changesets_mobile-beta.json to on-disk l10n-changesets_mobile-beta.json ...
2012-02-28 20:36:09,438 : INFO : Comparing l10n changesets on dashboard https://l10n-stage-sj.mozilla.org/shipping/l10n-changesets?ms=fennec11_beta_b5 to on-disk l10n-changesets_mobile-beta.json ...
2012-02-28 20:36:10,836 : ERROR : cannot find l10n dashboard at https://l10n-stage-sj.mozilla.org/shipping/l10n-changesets?ms=fennec11_beta_b5
2012-02-28 20:36:10,836 : ERROR : Error verifying l10n dashboard changesets
2012-02-28 20:36:10,836 : INFO : Checking for existence of http://hg.mozilla.org/releases/mozilla-beta/rev/cefd93ce9ec5...
2012-02-28 20:36:17,425 : INFO : Got: http://hg.mozilla.org/releases/mozilla-beta/rev/cefd93ce9ec5 !
2012-02-28 20:36:17,428 : INFO : Comparing firefox mozconfigs to nightly mozconfigs...
2012-02-28 20:36:29,480 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/macosx64/nightly) : ac_add_options --enable-official-branding
2012-02-28 20:36:29,480 : ERROR : not in nightly mozconfig's whitelist (releases/mozilla-beta/macosx64/release) : ac_add_options --with-macbundlename-prefix=Firefox
2012-02-28 20:36:29,480 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/macosx64/nightly) : mk_add_options MOZ_MAKE_FLAGS="-j4"
2012-02-28 20:36:42,225 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/win32/nightly) : mk_add_options MOZ_PGO=1
2012-02-28 20:36:42,225 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/win32/nightly) : ac_add_options --enable-official-branding
2012-02-28 20:36:54,633 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/linux64/nightly) : ac_add_options --enable-official-branding
2012-02-28 20:36:54,633 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/linux64/nightly) : mk_add_options MOZ_PGO=1
2012-02-28 20:36:54,634 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/linux64/nightly) : mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) @MOZ_OBJDIR@/_profile/pgo/profileserver.py 10'
2012-02-28 20:37:06,893 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/linux/nightly) : ac_add_options --enable-official-branding
2012-02-28 20:37:06,893 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/linux/nightly) : mk_add_options MOZ_PGO=1
2012-02-28 20:37:06,893 : ERROR : not in release mozconfig's whitelist (releases/mozilla-beta/linux/nightly) : mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) @MOZ_OBJDIR@/_profile/pgo/profileserver.py 10'
2012-02-28 20:37:06,894 : ERROR : Error verifying mozconfigs

E-mail Metrics

Use the address "metrics-alerts < AT > mozilla < PERIOD > org"

Firefox,firefox,firefox,11.0b5,11.0
Fennec,firefox-mobile,fennec,11.0b5,11.0

E-mail mirrors@mozilla.org

Not necessary for rapid release betas, files only go as far as the 'internal mirrors'.

Tag

No problems.

Bouncer Submitter

No problems.

Source

No problems.

Build

Firefox

No problems.

Firefox repacks

No problems.

Fennec

No problems.

Unittests / Talos

  1. Look to see that they ran
  2. Document any oranges (per platform) for unittests - if possible, try to confirm it's known/random
  3. Make sure there's no red/failures that we need to have a dev look at

XULRunner

Source

No problems.

Build

No problems.

Signing

NOTE: use new signcode keys from d:/2011-keys and QUIT SIGNCODE when you're done with keymaster

Follow instructions in XULRunner Signing (auth required).

No problems.

Firefox Signing

No problems.

Android Signing

Instructions in MobileSigning

Now run on signing1.

L10N verify

l10n_verify for win32 kept running out of space on moz2-darwin10-slave26. I went in and cleared out some space by hand. Will file a bug to bump the space req.

Checksums

Updates

Update verify

Reset reserved slaves

This is also a good time to QUIT SIGNCODE on keymaster if you've still got it running.

Check permissions / AV scan

No problems.

Going to Beta

Run backupsnip

NOTE: Remember to do this at least an hour ahead of the expected "go to beta" email.

# cltbld@aus2-staging in a screen session
cd /opt/aus2/snippets/staging
time ~/bin/backupsnip Firefox-11.0b5-build1

real    40m41.552s
user    0m4.779s
sys     0m23.956s

Push to beta

time ~/bin/pushsnip Firefox-11.0b4-build1

real    18m39.941s
user    0m3.290s
sys     0m16.997s

Final verification

Release Day

Publish Fennec to the Android Market

Push the files

Done.

Android Market

IMPORTANT - Make sure to follow instructions!

  • download multi apk (e.g. multi/fennec-11.0b5.multi.android-arm.apk)
  • visit https://market.android.com/publish
  • choose "Firefox Beta" or "Firefox"
  • select the "APK Files" tab and choose "Upload APK"
    • choose the 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"
  • activate new apk (You should see an Error message since both apk's are active)
  • deactivate old apk (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"

Done.

Push XULRunner to Mirrors

# xrbld@stage
rsync  -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip \
 --exclude=*.checksums --exclude=jsshell* \
 /pub/mozilla.org/xulrunner/nightly/11.0b5-candidates/build1/ \
 /pub/mozilla.org/xulrunner/releases/11.0b5/

Done.

ALL DONE