Releases/Firefox 9.0b3/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 704028 - xulrunner source bundle times out (didn't take patch on this release)
  • fennec signing will continue and upload files if you enter incorrect passphrases
  • bug 664539 - AUS returns empty snippets

Build Engineers

catlee - Tracking bug: bug 700904

Signed-off Revision(s)

Build 1: a8b9b7d98fb5

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
1 MOBILE90_b3_RELBRANCH, FENNEC_9_0b3_RELEASE, FENNEC_9_0b3_BUILD1 a8b9b7d98fb5
GECKO90_b3_RELBRANCH, FIREFOX_9_0b3_BUILD1 FIREFOX_9_0b3_RELEASE a8b9b7d98fb5

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20111122192043 mv-moz2-linux-ix-slave18 2 hrs, 18 mins, 37 secs
Linux64 linux64-ix-slave07 2 hrs, 13 mins, 51 secs
Mac moz2-darwin10-slave53 4 hrs, 31 mins, 0 secs
Windows mw32-ix-slave05 3 hrs, 4 mins, 29 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20111122190959 mv-moz2-linux-ix-slave10 1 hrs, 44 mins, 50 secs
linux mv-moz2-linux-ix-slave02 1 hrs, 6 mins, 34 secs
macosx bm-xserve11 2 hrs, 14 mins, 33 secs
win32 mw32-ix-slave07 1 hrs, 29 mins, 15 secs

Notes

Build 1

Preparing to start Automation

  • Set clobbers for the appropriate masters.
  • Reserved slaves
[cltbld@buildbot-master08 ~]$ echo 8 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
  • Update l10n changesets for desktop, mobile
  • Tag buildbot-configs, buildbotcustom, tools with build & release tags
FIREFOX_9_0b3_RELEASE FIREFOX_9_0b3_BUILD1 FENNEC_9_0b3_RELEASE FENNEC_9_0b3_BUILD1

  • updated and reconfigured the master using fabric tools
  • start automation
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u catlee -pfirefox,fennec -V 9.0b3 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py --dryrun  localhost:9001

2011-11-22 18:48:58,392 : INFO : Tests Passed! Did not run reconfig/sendchange. Rerun without `-d`

PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u catlee -pfirefox,fennec -V 9.0b3 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py  localhost:9001

E-mail Metrics

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

Start autosign

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

PRODUCT=firefox
VERSION=9.0b3
BUILD=1
TAG=FIREFOX_9_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/
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}

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Build

Firefox

No problems

Fennec

No problems

Desktop Builds

No problems

Desktop repacks

No problems

XULRunner

Source

Bundle timed out bug 704028

Build

No problems

Signing

#!/bin/bash
set -x
set -e

PRODUCT=xulrunner
VERSION=9.0b3
BUILD=1
TAG=FIREFOX_9_0b3_RELEASE
REPO="releases/mozilla-beta"
EMAIL=release@mozilla.com
KEYDIR=d:/2011-keys

cd ~/hg-tools
hg pull
hg up -r ${TAG}

mkdir -p ~/signing-work/${PRODUCT}-${VERSION}
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .

make setup PRODUCT=${PRODUCT} VERSION=${VERSION} \
  BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR}
rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
  --exclude=*.txt --exclude=*-symbols.zip --exclude=jsshell* \
  xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/ \
  unsigned-build${BUILD}
rsync -av --exclude=unsigned unsigned-build${BUILD}/ \
 signed-build${BUILD}/
rsync -av unsigned-build${BUILD}/unsigned/ \
 signed-build${BUILD}/

make checksum-files create-sigs stage verify-sigs \
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} \
  REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR}

rmdir signed-build${BUILD}/contrib{,-localized}

rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
  signed-build${BUILD}/ \
  xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/

Repacks

Firefox

No problems

Fennec

No problems

Firefox Signing

No problems

Android Signing

Entered the passphrases incorrectly for the en-US version. Tried again a few more times until I was able to enter them properly both times.

Android Signature Verification

Caught invalidly signed en-US version. Re-signed and pressed "Rebuild" on both en-US and multilocale builds. These passed.

L10N verify

No problems

Updates

No problems (4 hrs, 45 mins, 18 secs on mv-moz2-linux-ix-slave07)

Update verify

update_verify_9/10 failed on win32 due to empty AUS response. Manually checked AUS url and it was ok. bug 664539

update_verify_4/10 failed on win32 due to empty AUS response. Manually checked AUS url and it was ok. bug 664539

update_verify_7/10 failed on win32 due to empty AUS response. Manually checked AUS url and it was ok. bug 664539

update_verify_4/10 failed on linux64 due to empty AUS response. Manually checked AUS url and it was ok. bug 664539

update_verify_1/10 failed on linux64 due to empty AUS response. Manually checked AUS url and it was ok. bug 664539

update_verify_2/10 failed on linux64 due to empty AUS response. Manually checked AUS url and it was ok. bug 664539

update_verify_10/10 failed on linux64 due to empty AUS response. Manually checked AUS url and it was ok. bug 664539

Reset reserved slaves

[cltbld@buildbot-master08 build1]$ echo 0 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1

Check permissions / AV scan

No problems

Push files to internal mirrors

No problems

Final verification

No problems

Push to beta

# done the day before
cltbld@aus2-staging
screen
time ~/bin/backupsnip Firefox-9.0b3-build1
real    56m33.008s
user    0m9.195s
sys     0m46.053s
time ~/bin/pushsnip Firefox-9.0b3-build1
real    38m57.041s
user    0m9.562s
sys     0m39.919s

Publish Fennec to the Android Market

Push the files

modified and ran push_fennec_beta.sh on ffxbld@stage

Android Market

IMPORTANT - Make sure to follow instructions!

  • download multi apk (multi/fennec-9.0b3.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/9.0b3-candidates/build1/ \
  /pub/mozilla.org/xulrunner/releases/9.0b3/