Releases/Firefox 10.0b2/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

Build Engineers

rail - Tracking bug: bug 712149

Signed-off Revision(s)

Build 1: 9588ec86d6e6

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
MOBILE100_2011122805_RELBRANCH, FENNEC_10_0b2_RELEASE, FENNEC_10_0b2_BUILD1 fd3e3cca7544
GECKO100_2011122805_RELBRANCH, FIREFOX_10_0b2_BUILD1 FIREFOX_10_0b2_RELEASE dde3aba400ae

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20111228055358 mv-moz2-linux-ix-slave18 2 hrs, 22 mins, 0 secs
Linux64 moz2-linux64-slave04 4 hrs, 10 mins, 53 secs
Mac moz2-darwin10-slave23 4 hrs, 41 mins, 56 secs
Windows mw32-ix-slave26 3 hrs, 14 mins, 45 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20111228054821 mv-moz2-linux-ix-slave10 1 hrs, 49 mins, 1 secs
linux mv-moz2-linux-ix-slave02 1 hrs, 5 mins, 12 secs
macosx bm-xserve16 1 hrs, 56 mins, 34 secs
win32 mw32-ix-slave03 1 hrs, 28 mins, 12 secs

Notes

Build 1

Syncing repos

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

Diff mozconfigs

If this is a *.0 beta -> release

Preparing to start Automation

  • Set clobbers for the appropriate masters.
  • Reserve slaves
echo "10"> master/reserved_slaves_bm08-build1
  • Update l10n changesets for desktop, mobile
  • Land automation configs (are you or buildduty going to reconfig? great, merge. otherwise double-land only your configs)
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags
  • update and reconfigure the master
  • start automation
source ../bin/activate
# dry run
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py \
-u rail -pfirefox,fennec -V 10.0b2 --branch mozilla-beta \
--build-number 1 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py --dryrun localhost:9001
# start
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py \
-u rail -pfirefox,fennec -V 10.0b2 --branch mozilla-beta \
--build-number 1 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py localhost:9001

E-mail Metrics

For 10.0b2 it would be

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

E-mail mirrors@mozilla.org

N/A

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

PRODUCT=firefox
VERSION=10.0b2
BUILD=1
TAG=FIREFOX_10_0b2_RELEASE
REPO='releases/mozilla-beta'
EMAIL=release@mozilla.com
KEYDIR=d:/2011-keys
RELCONFIG=mozilla/release-firefox-mozilla-beta.py

cd ${HOME}/hg-tools/ # if it exists, otherwise create a fresh clone
hg pull && hg up -r ${TAG}
mkdir -p ~/signing-work/${PRODUCT}-${VERSION}/lib/python
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .
rsync -av ~/hg-tools/lib/python/ ./lib/python/
make autosign PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
 EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}

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

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

Used this script

Partner Repack

Firefox

N/A

Fennec

N/A

Firefox Signing

No problems

Android Signing

Instructions in [MobileSigning https://intranet.mozilla.org/Build:MobileSigning]

Used this script

Android Signature Verification

No problems

L10N verify

No problems

Updates

No problems

Update verify

No problems

Major Update

N/A

Update verify

N/A

Socorro Product Data Updates

N/A

Reset reserved slaves

echo "0" > master/reserved_slaves_bm08-build1

Run backupsnip

~/bin/backupsnip Firefox-10.0b2-build1

Check permissions / AV scan

No problems

Push files to internal mirrors

Mirrors Policy No problems

Final verification

It turned out that 10.0b1 was unable to update to 10.0b2 (caught by QA, not by our automation): https://bugzilla.mozilla.org/show_bug.cgi?id=711275#c22

Generating new snippets:

rsync -avP Firefox-10.0b2-build1-test/ Firefox-10.0b2-build1-test.appVersion/
find Firefox-10.0b2-build1-test.appVersion -type f -name "*.txt" -exec sed -i -c -e "s/appVersion=10.0b2/appVersion=10.0/" {} \;
~/bin/pushsnip Firefox-10.0b2-build1-test.appVersion
rsync -av Firefox-10.0b2-build1/ Firefox-10.0b2-build1.appVersion/
find Firefox-10.0b2-build1.appVersion -type f -name "*.txt" -exec sed -i -c -e "s/appVersion=10.0b2/appVersion=10.0/" {} \;

Push to beta

Push index file to mirrors

N/A

Push to external mirrors

N/A

Publish Fennec to the Android Market

Push the files

Used this script

Android Market

IMPORTANT - Make sure to follow instructions!

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

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

Update XULRunner wiki page

N/A

Push to Release Channel

N/A

Update symlinks

N/A

Remove index.html files

N/A

Update browser choice website

N/A