Releases/Firefox 8.0b1/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

bhearsum - Tracking bug: bug 689327

Signed-off Revision(s)

Build 1: 7b8d7d4b1c90

L10N changesets

Tags

Build # Branch, Tags Changeset
1 MOBILE80_2011092805_RELBRANCH, FENNEC_8_0b1_RELEASE, FENNEC_8_0b1_BUILD1 ac89e8348a6a
GECKO80_2011092805_RELBRANCH, FIREFOX_8_0b1_BUILD1 FIREFOX_8_0b1_RELEASE 8c16a7575d10

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110928060149 mv-moz2-linux-ix-slave10 2 hrs, 33 mins, 5 secs
Linux64 moz2-linux64-slave05 4 hrs, 16 mins, 46 secs
Mac moz2-darwin10-slave18 5 hrs, 23 mins, 52 secs
Windows mw32-ix-slave03 3 hrs, 4 mins, 51 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20110928055811 mv-moz2-linux-ix-slave21 1 hrs, 45 mins, 9 secs
maemo5-gtk mv-moz2-linux-ix-slave20 1 hrs, 46 mins, 27 secs
linux linux-ix-slave15 1 hrs, 13 mins, 54 secs
macosx bm-xserve11 2 hrs, 17 mins, 50 secs
win32 mw32-ix-slave05 1 hrs, 24 mins, 48 secs

Notes

Build 1

Preparing to start Automation

  • Hit "Ship it" for Firefox & Fennec 8.0b1
  • Requested a clobber for Any master, mozilla-beta, any builder
  • Landed configs and tagged buildbot-configs, buildbotcustom, tools, and mozharness repositories with {FIREFOX,FENNEC}_8_0b1_{RELEASE,BUILD1}
  • Set reserved_slaves to 10:
# cltbld@buildbot-master08
echo 10 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
  • Updated master configs, ran checkconfig, reconfiged.
  • Ran release_sanity.py:
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum -p firefox -V 8.0b1 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py --dryrun localhost:9001
  • Started the release:
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum -p firefox -V 8.0b1 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py localhost:9001

Then I realized that I only started Firefox, so did the following to get Fennec going:

  • Dry run:
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum -V 8.0b1 --branch mozilla-beta --build-number 1 -c release-fennec-mozilla-beta.py --dryrun --products fennec localhost:9001
  • Starting it:
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum -V 8.0b1 --branch mozilla-beta --build-number 1 -c release-fennec-mozilla-beta.py --products fennec localhost:9001

E-mail Metrics

Sent the following mail:

Firefox,firefox,firefox,8.0b1,8.0
Firefox,firefox,firefox,9.0a2,9.0
Firefox,firefox,firefox,10.0a1,10.0

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

PRODUCT=firefox
VERSION=8.0b1
BUILD=1
TAG=FIREFOX_8_0b1_RELEASE
REPO='releases/mozilla-beta'
EMAIL=release@mozilla.com
KEYDIR=d:/2010-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

Fennec

Android

No problems

Maemo5-GTK

Generated, but won't be shipped.

Desktop Builds

No problems

Desktop repacks

No problems

Unittests / Talos

XULRunner

Source

No problems

Build

No problems

Signing

PRODUCT=xulrunner
VERSION=8.0b1
BUILD=1
TAG=FIREFOX_8_0b1_RELEASE
REPO="releases/mozilla-beta"
EMAIL=release@mozilla.com
KEYDIR=d:/2010-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} USE_NEW=1
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} USE_NEW=1

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

PRODUCT=firefox
VERSION=8.0b1
BUILD=1
TAG=FIREFOX_8_0b1_RELEASE
REPO='releases/mozilla-beta'
EMAIL=release@mozilla.com
KEYDIR=d:/2010-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}

Android Signing

  • Edited ~/sign_android-0.8.sh to match current releases
  • Ran the script, worked fine.

Android Signature Verification

Passed

L10N verify

All green, indicating no l10n changes

Updates

No problems

Update verify

No problems

Reset reserved slaves

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

Check permissions / AV scan

No bad permissions, no viruses detected.

Push files to internal mirrors

Used "Force build" to starting the push to mirrors builder with the following property:

  • script_repo_revision: FIREFOX_8_0b1_RELEASE

Final verification

Burned because it was incorrectly testing 5.0, 5.0.1, 6.0, 6.0.1, and 6.0.2. All files we care about were ok. Filed bug 690465 for the long term fix.

Push to beta

~/bin/pushsnip Firefox-8.0b1-build1

Push XULRunner to Mirrors

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

Update XULRunner wiki page

Publish Fennec

Push the files

# as ffxbld@stage in ~ dir
vim push_fennec_beta.sh # update VERSION,BUILDNUM
# RUN IT
./push_fennec_beta.sh

Publish to the Android Market

IMPORTANT - Make sure to follow instructions! See 6.0b6's push to Market.