Releases/Firefox 9.0b2/BuildNotes

From MozillaWiki
Jump to navigation Jump to 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:

Build Engineers

jhford - Tracking bug: bug 700903

Signed-off Revision(s)

Build 1: 05255b6a0f42

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
MOBILE90_b2_RELBRANCH, FENNEC_9_0b2_RELEASE, FENNEC_9_0b2_BUILD1 05255b6a0f42
GECKO90_b2_RELBRANCH, FIREFOX_9_0b2_BUILD1 FIREFOX_9_0b2_RELEASE 05255b6a0f42

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20111116091359 mv-moz2-linux-ix-slave18 2 hrs, 16 mins, 0 secs
Linux64 linux64-ix-slave07 2 hrs, 15 mins, 13 secs
Mac moz2-darwin10-slave53 4 hrs, 31 mins, 52 secs
Windows mw32-ix-slave08 3 hrs, 10 mins, 13 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20111116090940 mv-moz2-linux-ix-slave10 1 hrs, 44 mins, 47 secs
linux mv-moz2-linux-ix-slave02 1 hrs, 7 mins, 39 secs
macosx bm-xserve11 2 hrs, 15 mins, 55 secs
win32 mw32-ix-slave06 1 hrs, 32 mins, 21 secs

Notes

Build 1

Preparing to start Automation

  • Set clobbers for the appropriate masters.
  • Reserved slaves
[cltbld@buildbot-master08 ~]$ echo 8 > !$
echo 8 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
  • Update l10n changesets for desktop, mobile
  • double landed
  • Tag buildbot-configs, buildbotcustom, tools with build & release tags
FIREFOX_9_0b2_RELEASE FIREFOX_9_0b2_BUILD1 FENNEC_9_0b2_RELEASE FENNEC_9_0b2_BUILD1

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

2011-11-16 09:00:10,341 : INFO : Tests Passed! Did not run reconfig/sendchange. Rerun without `-d`

PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u jhford -pfirefox,fennec -V 9.0b2 --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.0b2,9.0

Was asked to update docs so that the following *would* have been sent in addition

Fennec,firefox-mobile,fennec,9.0b2,9.0

Tag

no problems

Bouncer Submitter

no problems

Source

no problems

Start autosign

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

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

Fennec

no problems

Desktop Builds

no problems

Desktop repacks

no problems

XULRunner

Source

no problems

Build

no problems

Signing

  1. !/bin/bash

set -x set -e

PRODUCT=xulrunner VERSION=9.0b2 BUILD=1 TAG=FIREFOX_9_0b2_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

no problems

Android Signature Verification

no problems

L10N verify

no problems

Updates

no problems

Update verify

macosx64 and linux32 update-verify failed on chunk 1/10 Linux failed on

FAIL: no complete update found for https://aus3.mozilla.org/update/1/Firefox/8.0/20111026191032/Linux_x86-gcc3/rm/betatest/update.xml?force=1

Tested that manually and got a complete update.xml file, retriggered for safety. Retriggered run was green on linux.

Macosx64 failed on

FAIL: no partial update found for https://aus3.mozilla.org/update/1/Firefox/9.0/20111109112850/Darwin_x86-gcc3-u-i386-x86_64/bn-IN/betatest/update.xml?force=1

Tested that manually and got a complete update.xml file, retriggered for safety. Retriggered run was green on macosx64

On Macosx64 we also saw a lot of issues like:

Calling <function run_with_timeout at 0x10074b7d0> with args: (['wget', '--no-check-certificate', '-S', '-O', 'update.xml', 'https://aus3.mozilla.org/update/1/Firefox/8.0/20111019081014/Darwin_x86-gcc3-u-i386-x86_64/de/betatest/update.xml?force=1'], 300, None, None, False, True), kwargs: {}, attempt #1
Executing: ['wget', '--no-check-certificate', '-S', '-O', 'update.xml', 'https://aus3.mozilla.org/update/1/Firefox/8.0/20111019081014/Darwin_x86-gcc3-u-i386-x86_64/de/betatest/update.xml?force=1']
--19:53:22--  https://aus3.mozilla.org/update/1/Firefox/8.0/20111019081014/Darwin_x86-gcc3-u-i386-x86_64/de/betatest/update.xml?force=1
           => `update.xml'
Resolving aus3.mozilla.org... failed: nodename nor servname provided, or not known.
Failed, sleeping 1 seconds before retrying
Calling <function run_with_timeout at 0x10074b7d0> with args: (['wget', '--no-check-certificate', '-S', '-O', 'update.xml', 'https://aus3.mozilla.org/update/1/Firefox/8.0/20111019081014/Darwin_x86-gcc3-u-i386-x86_64/de/betatest/update.xml?force=1'], 300, None, None, False, True), kwargs: {}, attempt #2
Executing: ['wget', '--no-check-certificate', '-S', '-O', 'update.xml', 'https://aus3.mozilla.org/update/1/Firefox/8.0/20111019081014/Darwin_x86-gcc3-u-i386-x86_64/de/betatest/update.xml?force=1']
--19:53:53--  https://aus3.mozilla.org/update/1/Firefox/8.0/20111019081014/Darwin_x86-gcc3-u-i386-x86_64/de/betatest/update.xml?force=1
           => `update.xml'
Resolving aus3.mozilla.org... 63.245.209.149
Connecting to aus3.mozilla.org|63.245.209.149|:443... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Date: Thu, 17 Nov 2011 03:53:53 GMT
  Server: Apache
  X-Backend-Server: pm-app-dist01
  X-Powered-By: PHP/5.1.6
  Set-Cookie: aus2a=63.245.220.220.1321502033.8607; expires=Wed, 16-Nov-2016 08:57:43 GMT; path=/; domain=aus2.mozilla.org
  Cache-Control: no-store, must-revalidate, post-check=0, pre-check=0, private
  Content-Length: 599
  Keep-Alive: timeout=5, max=72
  Connection: Keep-Alive
  Content-Type: text/xml;
Cookie coming from aus3.mozilla.org attempted to set domain to aus2.mozilla.org
Length: 599 [text/xml]

    0K                                                       100%   71.41 MB/s

19:53:53 (71.41 MB/s) - `update.xml' saved [599/599]

This didn't kill update verify because of retry, but

Reset reserved slaves

set back to 0

Check permissions / AV scan

no problems

Push files to internal mirrors

Mirrors Policy

Final verification

Issues with aus showing empty update.xml similar to update verify issues.

Push to beta

cltbld@aus2-staging
screen
time ~/bin/backupsnip Firefox-9.0b2-build1
real    57m0.443s
time ~/bin/pushsnip Firefox-9.0b2-build1
real    28m10.261s

Publish Fennec to the Android Market

Push the files

Found that 9.0b1 wasn't pushed to mobile on stage. Aki ran the 9.0b1 push.

modified and ran push_fennec_{beta,release}.sh on stage

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

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