Releases/Firefox 10.0b3/BuildNotes

From MozillaWiki
Jump to: navigation, search

Contents

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

lsblakk - Tracking bug: bug 712150

Signed-off Revision(s)

Build 1: aa49b359456f

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
MOBILE100_#_RELBRANCH, FENNEC_10_0b3_RELEASE, FENNEC_10_0b3_BUILD1 #
GECKO100_#_RELBRANCH, FIREFOX_10_0b3_BUILD1 FIREFOX_10_0b3_RELEASE #

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux
Linux64
Mac
Windows

Fennec

Build # Type Build ID Build machine Time to build
1 android
linux
macosx
win32

Notes

Build 1

Syncing repos

N/A

Diff mozconfigs

N/A

Preparing to start Automation

  • Set clobbers for the appropriate masters.
  • Reserved slaves:
echo "10"> master/reserved_slaves_bm08-build1
  • Updated l10n changesets for desktop, mobile
  • double-landed automation configs
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags:
hg tag -f FIREFOX_10_0b3_RELEASE FIREFOX_10_0b3_BUILD1 FENNEC_10_0b3_RELEASE FENNEC_10_0b3_BUILD1
  • updated and reconfigured the master
  • dry-run release_sanity.py
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py --dryrun localhost:9001
  • start automation
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py localhost:9001

E-mail Metrics

Email sent:

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

E-mail mirrors@mozilla.org

N/A

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

PRODUCT=firefox
VERSION=10.0b3
BUILD=1
TAG=FIREFOX_10_0b3_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}

Instructions are in CombinedSigning

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

Partner Repack

Firefox

N/A

Fennec

N/A

Firefox Signing

All Stop for build 2 to backout bug 714320

Build 2

Preparing to start Automation

  • Set clobbers for the appropriate masters.
  • double-landed updated configs
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags:
hg tag -f FIREFOX_10_0b3_RELEASE FIREFOX_10_0b3_BUILD2 FENNEC_10_0b3_RELEASE FENNEC_10_0b3_BUILD2
  • updated and reconfigured the master
  • dry-run release_sanity.py
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py --dryrun localhost:9001
  • start automation
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py localhost:9001

E-mail Metrics

N/A

E-mail mirrors@mozilla.org

N/A

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

PRODUCT=firefox
VERSION=10.0b3
BUILD=2
TAG=FIREFOX_10_0b3_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}

Instructions are in CombinedSigning

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 (with variables edited for 10.0b3/build2)

Android Signature Verification

L10N verify

No problems

Updates

No problems

Update verify

No problems

Major Update

N/A

Socorro Product Data Updates

N/A

Reset reserved slaves

echo "0" > master/reserved_slaves_bm08-build1

Run backupsnip

~/bin/backupsnip Firefox-10.0b3-build2

real    111m25.536s
user    0m12.655s
sys     1m4.244s

Check permissions / AV scan

No problems

Push files to internal mirrors

Mirrors Policy

Final verification

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

Generating new snippets:

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

Push to beta

~/bin/pushsnip Firefox-10.0b3-build2.appVersion

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-8.0b4.multi.eabi-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.0b3-candidates/build2/ \
  /pub/mozilla.org/xulrunner/releases/10.0b3/

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