Releases/Firefox 8.0b4/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 689334 - The L10n dashboard was not giving the correct set of changesets and we had to halt the release
  • bug 695707 - forgetting about tagging mozharness should be fixed with this bug
  • bug 648665 - all jobs hitting hg started failing and being retried
  • bug 695467 - darwin9/w32 jobs started hitting a new HG issue
  • bug 696056 - Some jobs did not re-trigger when HG failed but required manual re-trigger.
  • bug 696052 - status for unit/talos tests for releases

Build Engineers

armenzg - Tracking bug: bug 695429

Signed-off Revision(s)

Build 1: dd943de3de11

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset

MOBILE80_2011101907_RELBRANCH, FENNEC_8_0b4_BUILD1 FENNEC_8_0b4_RELEASE #
GECKO80_2011101907_RELBRANCH, FIREFOX_8_0b4_BUILD1 FIREFOX_8_0b4_RELEASE #

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20111019081014 mv-moz2-linux-ix-slave18 2 hrs, 52 mins, 17 secs
Linux64 linux64-ix-slave07 2 hrs, 21 mins, 25 secs
Mac moz2-darwin10-slave26 5 hrs, 32 mins, 31 secs
Windows mw32-ix-slave06 2 hrs, 59 mins, 50 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20111019121950 mv-moz2-linux-ix-slave10 1 hrs, 37 mins, 15 secs
linux 20111019075219 mv-moz2-linux-ix-slave02 1 hrs, 23 mins, 27 secs
macosx 20111019075219 bm-xserve15 2 hrs, 32 mins, 24 secs
win32 20111019075219 mw32-ix-slave20 1 hrs, 18 mins, 44 secs

Notes

Build 1

Preparing to start Automation

  • Set reserved_slaves to 6:
# cltbld@buildbot-master08
echo 6 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
  • Requested a clobber for Any master, mozilla-beta, any builder
  • Hit "Ship it" for Firefox & Fennec 8.0b4
  • Update l10n changesets for desktop, mobile
  • Land automation configs
  • Tag buildbot-configs, buildbotcustom, tools, mozharness with {FIREFOX,FENNEC}_8_0b4_{RELEASE,BUILD1}
  • Updated master configs, ran checkconfig, reconfiged
  • Ran release sanity:
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u armenzg -pfirefox,fennec -V 8.0b4 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py --dryrun localhost:9001
  • Started the release:
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u armenzg -pfirefox,fennec -V 8.0b4 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py localhost:9001

Tag

No problems.

Bouncer Submitter

No problems.

Source

No problems after HG issues.

Start autosign

PRODUCT=firefox
VERSION=8.0b4
BUILD=1
TAG=FIREFOX_8_0b4_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

Around 10:30 AM PDT (Oct. 18th) most build jobs started passing through the hg steps.

Fennec

No problems after HG issues were left behind.

Android
  • I failed to tag mozharness and linux-android_build failed
  • Tagged and retriggered the job
  • Later on, the multi-locale steps failed with HG
  • Clobbered and re-triggered

Unittests / Talos

Filed bug 696052 to recover visibility of these.

XULRunner

No problems after HG issues were ironed out.

Source

No problems after HG issues were ironed out.

Build

No problems after HG issues were ironed out.

Signing

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

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

PRODUCT=xulrunner
VERSION=8.0b4
BUILD=1
TAG=FIREFOX_8_0b4_RELEASE
REPO="releases/mozilla-beta"
EMAIL=armenzg@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 with instructions

Android Signature Verification

No problems

L10N verify

No problems

Updates

No problems

Update verify

No problems

Reset reserved slaves

In buildbot-master08:/builds/buildbot/build1/master did

echo 0 > reserved_slaves_bm08-build1

Check permissions / AV scan

No problems

Push files to internal mirrors

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

script_repo_revision: FIREFOX_8_0b4_RELEASE

Final verification

No problems.

Push to beta

#cltbld@aus2-staging
cd /opt/aus2/snippets/staging/
~/bin/backupsnip Firefox-8.0b4-build1
real    56m52.284s
user    0m8.330s
sys     0m43.232s

Upon rel-drivers request:

#cltbld@aus2-staging
cd /opt/aus2/snippets/staging/
~/bin/pushsnip Firefox-8.0b4-build1

Push XULRunner to Mirrors

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

Publish Fennec

Publish files

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

Publish to the Android Market