Releases/Firefox 10.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:

  • bug 722182 - investigate double-triggering of builders by downstream (filed, but was duped to bug 719260
  • bug 711796 - release sanity should use different l10n dashboard URL for final releases

Build Engineers

lsblakk - Tracking bug: bug 712154

Signed-off Revision(s)

Build 1: acddb6b6a01c

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
1 MOBILE100_2012012901_RELBRANCH, FENNEC_10_0_RELEASE, FENNEC_10_0_BUILD1 601dbedb59cd
GECKO100_2012012901_RELBRANCH , FIREFOX_10_0_BUILD1 FIREFOX_10_0_RELEASE b8f758c47897

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20120129021758 mv-moz2-linux-ix-slave11 1 hr
Linux64 moz2-linux64-slave03 3 hrs, 58 mins
Mac moz2-darwin10-slave17 3 hrs, 15 mins
Windows mw32-ix-slave04 3 hrs, 16 mins

Fennec

Build # Type Build ID Build machine Time to build
1 android 20120129020652 mv-moz2-linux-ix-slave16 1 hrs, 49 mins
linux mv-moz2-linux-ix-slave19 1 hrs, 4 mins
macosx bm-xserve09 2 hrs, 11 mins
win32 mw32-ix-slave10 1 hrs, 27 mins

Notes

Build 1

Syncing repos

Synched mozilla-beta -> mozilla-release L10n sync bailed on new locale csb not having anything in its mozilla-release repo did:

hg -R push csb.beta ssh://hg.mozilla.org/releases/l10n/mozilla-release/csb

Then restarted the l10n_sync script which took 51 minutes from csb.

Diff mozconfigs

Mozconfigs in-tree

Preparing to start Automation

  • Set clobbers for the appropriate masters
  • Reserved slaves
echo "10" > reserved_slaves_bm07-build1
  • Updated l10n changesets for desktop, mobile
  • double-landed automation configs
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags {FIREFOX,FENNEC}_10_0_{BUILD1,RELEASE}
  • updated and reconfigured the master
  • start automation
# Dry-run
source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk \
-V 10.0 --branch mozilla-release --build-number 1 -c release-firefox-mozilla-release.py \
-c release-fennec-mozilla-release.py --dryrun --products firefox,fennec localhost:9001
  • Failed on l10n_dashboard because of version number 10.0 instead of 10 (see bug 711796 outstanding from 9.0)
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk \
-V 10.0 --branch mozilla-release --build-number 1 -c release-firefox-mozilla-release.py \
-c release-fennec-mozilla-release.py -b --products firefox,fennec localhost:9001

E-mail Metrics

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

Firefox,firefox,firefox,10.0,10.0
Fennec,firefox-mobile,fennec,10.0,10.0

E-mail mirrors@mozilla.org

Sent email.

Subject: Firefox 10.0 and 3.6.26 coming to mirrors January 31, 2012
Body:
We're planning on pushing our Firefox 10.0 and 3.6.26 releases to mirrors sometime next Tuesday, January 31st.
If you believe these releases or these dates will cause any problems, please notify release at mozilla.com.
If you have any problems with mirror status/weights/etc, please notify mirror-submissions at mozilla.org.

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

NOTE: use new signcode keys from d:/2011-keys

Instructions are in CombinedSigning

Done.

Build

Firefox

No problems

Firefox repacks

No problems

Fennec

Android

No problems

Desktop Builds

No problems

Mobile Desktop repacks

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

updated and ran ~/tmp/sign_xulrunner.sh, no problems

Partner Repack

Firefox

Apart from linux64 and win32 being triggered twice bug 722182, the partner repacks completed without problems

Fennec

N/A

Firefox Signing

No problems

Android Signing

No problems, updated and ran sign_android-0.8.sh

Android Signature Verification

No problems

L10N verify

Passed, but warnings in metadiff - lots of only in warnings for omni.jar

Updates

backupsnip got attempted twice (by retry.py) due to contention with 3.6.26 build2, but otherwise no problems.

Update verify

no problems

Major Update

Handled on the 3.6.26 notes.

Reset reserved slaves

echo 0 > /builds/buildbot/build1/master/reserved_slaves_bm07-build1

Run backupsnip

~/bin/backupsnip Firefox-10.0-build1

Push to beta

N/A

Check permissions / AV scan

no problems

Push files to internal mirrors

  • updated stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude in advance to add
- firefox/releases/10.0
  • Forced the "push to mirrors" builder

Final verification

No problems

Push index file to mirrors

Added the following lines to the top of stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude:

+ firefox
+ firefox/releases
+ firefox/releases/10.0
+ firefox/releases/10.0/*/
+ firefox/releases/10.0/*/*/
+ firefox/releases/10.0/*/*/*/
+ firefox/releases/10.0/**index.html
- firefox/releases/10.0/**

Removed the previously added "- firefox/releases/10.0" line. After that, ran the following to lay out the index files:

# ffxbld@stage
cd /pub/mozilla.org/firefox/releases/10.0
wget --no-check-certificate -O index.html https://bugzilla.mozilla.org/attachment.cgi?id=540139
sed -i -e 's/5/10/g' index.html 
for dir in `find . -mindepth 1 -type d `; do cp -pv index.html $dir/; done


Push to external mirrors

  • Filed bug 722699 to get the CDN enabled, at akeybl's request after we hadn't started the external mirror push as of 7:30am Tuesday morning.

Removed the following lines from the top of stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude:

+ firefox
+ firefox/releases
+ firefox/releases/10.0
+ firefox/releases/10.0/*/
+ firefox/releases/10.0/*/*/
+ firefox/releases/10.0/*/*/*/
+ firefox/releases/10.0/**index.html
- firefox/releases/10.0/**
  • Set rating of CDN to 45k and enabled it (need to disable it once we have uptake ~100K)
  • once uptake hit 100K I disabled CDN and set its rating to 1

Feb 01, 10:49am PST - dumitru pinged us to say that we forgot to update rsyncd-mozilla-current.exclude. I (bhearsum) bumped the version in that file to 10.0.

Publish Fennec to the Android Market

Push the files

Android Market

IMPORTANT - Make sure to follow instructions!

  • download multi apk (e.g. multi/fennec-10.0.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"

Push XULRunner to Mirrors

ssh -i ~/.ssh/xrbld_dsa xrbld@stage
rsync -avn --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip --exclude=*.checksums \
 --exclude 'jsshell-*' \
 /pub/mozilla.org/xulrunner/nightly/10.0-candidates/build1/ /pub/mozilla.org/xulrunner/releases/10.0/
rsync -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip --exclude=*.checksums \
 --exclude 'jsshell-*' \
 /pub/mozilla.org/xulrunner/nightly/10.0-candidates/build1/ /pub/mozilla.org/xulrunner/releases/10.0/

Update XULRunner wiki page

For major releases or chemspills, update the links on:

Push to Release Channel

We need to land and deploy the throttling change before running pushsnip. Filed bug 722711.

~/bin/pushsnip Firefox-10.0-build1

Update symlinks

# ffxbld@stage
cd /pub/mozilla.org/firefox/releases
ln -s 10.0 latest-10.0
rm latest-9.0
rm latest
ln -s latest-10.0 latest

Remove index.html files

cd /pub/mozilla.org/firefox/releases/10.0
find . -name index.html -exec echo rm -v {} \;
find . -name index.html -exec rm -v {} \;

Update browser choice website

Filed bug 722726