Releases/Firefox 7.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:

Build Engineers

lsblakk - Tracking bug: bug 682982

Signed-off Revision(s)

Build 1: edf2f673b882

L10N changesets

Tags

Build # Branch, Tags Changeset
MOBILE70_2011083111_RELBRANCH, FENNEC_7_0b3_RELEASE, FENNEC_7_0b3_BUILD1 16401e558c71
GECKO70_2011083111_RELBRANCH, FIREFOX_7_0b3_BUILD1 FIREFOX_7_0b3_RELEASE 2c55596b75e1

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110830100616 mv-moz2-linux-ix-slave18 2 hrs, 32 mins
Linux64 moz2-linux64-slave02 2 hrs, 50 mins
Mac moz2-darwin10-slave48 4 hrs, 21 mins
Windows mw32-ix-slave08 2 hrs, 54 mins

Fennec

Build # Type Build ID Build machine Time to build
1 android 20110830105547 mv-moz2-linux-ix-slave21 1 hrs, 33 mins
maemo5-gtk 20110830103857 mv-moz2-linux-ix-slave15 1 hrs, 30 mins
linux 20110830111038 linux-ix-slave15 1 hrs, 7 mins
macosx 20110830115410 bm-xserve11 2 hrs, 8 mins
win32 20110830115713 mw32-ix-slave04 1 hrs, 13 mins

Notes

Build 1

  • marked "Any master" "mozilla-beta" "Any builder" for clobber on clobberer
  • Got "go" revision
  • Grabbed l10n changesets firefox,mobile
  • landed configs patch and mozharness
  • did not reserve slaves because they were already reserved by Ben
  • Updated master
make update
  • release_sanity noop:
cd master
. ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -V 7.0b3 \
--branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
--dryrun --products firefox,fennec localhost:9001 2>&1 | tee lsblakk.out
  • Did not pass release_sanity, turned out I had landed mobile json using the Firefox milestone instead of Fennec, landed correct mobile-json, re-tagged buildbot-configs, updated master, did release_sanity dryrun again which passed
  • start automation
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -V 7.0b3 \
--branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
--products firefox,fennec localhost:9001

E-mail metrics@mozilla.com

cc: release@mozilla.com
subject: [release] building firefox/fennec 7.0b3
Firefox,firefox,firefox,7.0b3,7.0

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

Didn't start autosign early in deference to 3.6.21 and 6.0.1, see Firefox signing for notes.

Build

Firefox

No problems

Fennec

Android

No problems

Maemo5-GTK

No problems

Desktop Builds

No problems

Desktop repacks

No problems

Unittests / Talos

XULRunner

Source

No problems

Build

  • Macosx failed compile as per bug 670951 which was also hit on 7.0b1
  • Hit Rebuild. Compiled successfully.

Signing

PRODUCT=xulrunner
VERSION=7.0b3
BUILD=1
TAG=FIREFOX_7_0b3_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

Partner Repack

Firefox

N/A

Fennec

N/A

Firefox Signing

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

First run quit at 54.12% on locale zu, moved signed-build1 and restarted autosign again, this second run was successful.

Fix up GPG sigs

Turns out we didn't get GPG sigs for non-Windows files - bug 684434. Had to clean up firefox-3.6.22/*build1 first. Fix:

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

# tweak the exclusions, we want signed win32 but not unsigned, and not partner-repacks
grep -v win ~/hg-tools/release/signing/download-exclude.list > download-exclude.list2
echo "- /unsigned/" >> download-exclude.list2
echo "- /partner-repacks/" >> download-exclude.list2
mv download-exclude.list2 download-exclude.list

rsync -av --exclude-from download-exclude.list -e "ssh -i $HOME/.ssh/ffxbld_dsa" \
 ffxbld@stage.mozilla.org:/home/ftp/pub/firefox/nightly/${VERSION}-candidates/build${BUILD}/ \
 signed-build${BUILD}

make setup checksum-files create-sigs verify-sigs verify-asc fake-upload PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}

# double check upload
rsync -n -e "ssh -i /home/cltsign/.ssh/ffxbld_dsa" -avO \
 /home/cltsign/signing-work/firefox-7.0b3/signed-build1/ \
 ffxbld@stage.mozilla.org:/home/ftp/pub/firefox/nightly/7.0b3-candidates/build1/

# upload
make upload PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}

Push to mirrors

# ffxbld@stage
rsync -av --exclude=*tests* --exclude=*crashreporter* --exclude=*.log --exclude=*.txt --exclude=*unsigned* --exclude=*update-backup* --exclude=*partner-repacks* --exclude=*.checksums --exclude=logs --exclude=jsshell* /pub/mozilla.org/firefox/nightly/7.0b3-candidates/build1/ /pub/mozilla.org/firefox/releases/7.0b3/

Some errors for contrib/solaris_*, due to already existing files not owned by ffxbld.

Android Signing

Followed instructions (copied sign_android-0.8.sh to sign_android7.0b3.sh to not overwrite aki's settings for 6.0.1).

Android Signature Verification

No problems.

Maemo5-GTK repos

Forced builder. No problems.

L10N verify

No problems

Updates

No problems

Update verify

Some of the builders failed. Checked the filed updates manually, all were good. Pressed "Rebuild" for all failed builders.

Major Update

N/A

Update verify

N/A

Socorro Product Data Updates

Check permissions / AV scan

Got a failure for

test ! -d /pub/mozilla.org/firefox/releases/7.0b3/

because I'd already pushed to mirrors. After that it would have done a dummy push to mirrors, which is OK to miss today.

Got the same dir test error for Check Permissions, but the permission checks before that were all fine.

Filed bug 683448

Reset reserved slaves

# cltbld@buildbot-master08 
cd /builds/buildbot/build1/master
echo "0"> reserved_slaves_bm08-build1

Push files to internal mirrors

  • /pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude (cltbld@stage) has been adjusted to exclude anything from
firefox/releases/*.*b*
  • put the following property into the 'release-mozilla-beta-push_to_mirrors' builder & forced it
script_repo_revision: FIREFOX_7_0b3_RELEASE

Push to beta

~/bin/backupsnip Firefox-7.0b3-build1

Didn't pushsnip due to all stop for DigiNotar fix (bug 683449)

Push XULRunner to Mirrors

# xrbld@stage
# DRY RUN
rsync -n -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip --exclude=*.checksums \
 /pub/mozilla.org/xulrunner/nightly/7.0b3-candidates/build1/ \
 /pub/mozilla.org/xulrunner/releases/7.0b3/
# FOR REAL
rsync -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip --exclude=*.checksums \
 /pub/mozilla.org/xulrunner/nightly/7.0b3-candidates/build1/ \
 /pub/mozilla.org/xulrunner/releases/7.0b3/

Update XULRunner wiki page

N/A for betas.

Publish Fennec

Create bouncer entry for maemo

Added Firefox-Mobile-7.0b3 product with location set to /mobile/releases/maemo/:lang/firefox-beta.install for maemo platform.

Push the files

Not pushed due to all stop on the DigiNotar fix (https://bugzilla.mozilla.org/show_bug.cgi?id=683449)

Publish to the Android Market

Not published due to all stop for DigiNotar fix (https://bugzilla.mozilla.org/show_bug.cgi?id=683449)

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

Push index file to mirrors

N/A

Push to external mirrors

N/A

Final verification

  • Forced.
  • Linux failed. Checked the files manually, no problems. Rebuilt. No problem.

Push to Release Channel

N/A

Update symlinks

N/A

Update browser choice website

N/A