Releases/Firefox 3.6.22/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

Build Engineers

group effort - Tracking bug: bug 683540

Signed-off Revision(s)

Build 1: 38181cd30b88

L10N changesets

Tags

Build # Branch, Tags Changeset
1 GECKO19220_2011080310_RELBRANCH, FIREFOX_3_6_22_BUILD1 FIREFOX_3_6_22_RELEASE ffe5c11b4bf2

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110831122603 linux-ix-slave15 41 mins, 3 secs
Mac bm-xserve11 2 hrs, 3 mins, 53 secs
Windows mw32-ix-slave05 1 hrs, 43 mins, 36 secs
2 Linux 20110902133716 linux-ix-slave15 40 min, 53 secs
Mac bm-xserve11 2 hrs, 4 mins, 38 secs
Windows mw32-ix-slave14 1hrs, 48 mins, 38 secs

Notes

Done on bm08

Build 1

  • Set reserved slaves:
# cltbld@buildbot-master08
# 8 for 3.6.22, 8 for 7.0b4
echo 16 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
  • Requested a clobber for any master, any release, any builder - to cover all branches.
  • Landed release config changes
  • Tagged buildbot-configs, buildbotcustom, and tools with FIREFOX_3_6_22_{BUILD1,RELEASE}
  • 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 3.6.22 --branch mozilla-1.9.2 --build-number 1 -c release-firefox-mozilla-1.9.2.py --dryrun localhost:9001
  • Started the release:
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum -p firefox -V 3.6.22 --branch mozilla-1.9.2 --build-number 1 -c release-firefox-mozilla-1.9.2.py localhost:9001

E-mail Metrics

Sent the following mail to metrics@mozilla.com:

Firefox,firefox,firefox,3.6.22,3.6
Firefox,firefox,firefox,3.6.23pre,3.6

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

Started autosign on keymaster with the following commands:

PRODUCT=firefox
VERSION=3.6.22
BUILD=1
TAG=FIREFOX_3_6_22_RELEASE
REPO='releases/mozilla-1.9.2'
EMAIL=release@mozilla.com
KEYDIR=d:/2010-keys
RELCONFIG=mozilla/release-firefox-mozilla-1.9.2.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

Unittests / Talos

XULRunner

Source

No problems

Build

No problems

Signing

Repacks

Firefox

No problems

Firefox Signing

No problems

L10N verify

No problems

Updates

No problems

RESPIN DECLARED

Reset reserved slaves

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

Build 2

  • Requested a clobber for any master, any release, any builder - to cover all branches.
  • Set reserved_slaves:
# cltbld@buildbot-master08
# 8 for 3.6.22, 8 for 7.0b4
echo 16 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
  • Landed release config changes
  • Tagged buildbot-configs, buildbotcustom, and tools with FIREFOX_3_6_22_{BUILD1,RELEASE}
  • Reconfiged the master
  • 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 3.6.22 --branch mozilla-1.9.2 --build-number 2 -c release-firefox-mozilla-1.9.2.py --dryrun localhost:9001
  • Started the release:
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum -p firefox -V 3.6.22 --branch mozilla-1.9.2 --build-number 2 -c release-firefox-mozilla-1.9.2.py localhost:9001

Tag

No problems

Source

No problems

Start autosign

Started autosign on keymaster with the following commands:

PRODUCT=firefox
VERSION=3.6.22
BUILD=2
TAG=FIREFOX_3_6_22_RELEASE
REPO='releases/mozilla-1.9.2'
EMAIL=release@mozilla.com
KEYDIR=d:/2010-keys
RELCONFIG=mozilla/release-firefox-mozilla-1.9.2.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

Unittests / Talos

XULRunner

Source

No problems

Build

No problems

Signing

Signed with:

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

PRODUCT=xulrunner
VERSION=3.6.22
BUILD=2
TAG=FIREFOX_3_6_21_RELEASE
REPO="releases/mozilla-1.9.2"
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 \
  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

Firefox Signing

No problems

L10N verify

All green, no changes since 3.6.21.

Updates

No problems

Update verify

All green, scanned a few logs & they looked sane.

Major Update

No problems.

Update verify

No problems

Check permissions / AV scan

No bad permissions. Antivirus detected no viruses, but burned because it checks for existence of the releases dir at the end, which already existed (validly). So, conditional pass here.

Reset reserved slaves

Set reserved slaves down to 8, because 7.0b4 was still running.

Push files to internal mirrors

  • Added 3.6.22 to rsyncd-mozilla-releases.exclude:
- firefox/releases/3.6.22

Hours later, started the push to mirrors builder with the following properties:

release_config: mozilla/release-firefox-mozilla-1.9.2.py
script_repo_revision: FIREFOX_3_6_22_RELEASE

Push XULRunner to Mirrors

# xrbld@stage
rsync -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip \
  /pub/mozilla.org/xulrunner/nightly/3.6.22-candidates/build2/ \
  /pub/mozilla.org/xulrunner/releases/3.6.22/

Edited cltbld@stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude and added

- xulrunner/releases/3.6.20
- xulrunner/releases/3.6.21

...to exclude the previous releases.

Update XULRunner wiki page

Updated XULRunner wiki pages: https://developer.mozilla.org/en/XULRunner_1.9.2_Release_Notes
https://developer.mozilla.org/en/Gecko_SDK

Push to external mirrors

Removed 3.6.22 from stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude

Final verification

Push to Release Channel

time ~/bin/backupsnip Firefox-3.6.22-build2
# took 69m
time ~/bin/pushsnip Firefox-3.6.22-build2
# 25m for mpt
# 8m for phx
# 33m total

Update symlinks

rm latest-3.6; ln -s 3.6.22 latest-3.6

Push to beta

~/bin/pushsnip Firefox-3.6.22-build2-beta

Push 3.6.22 -> 5.0.1 MU

time ~/bin/backupsnip Firefox-3.6.22-build2-5.0.1-build1-MU
time ~/bin/pushsnip Firefox-3.6.22-build2-5.0.1-build1-MU
# 32s

Should have landed and deployed the change to the throttling first - attachment 558616 [edit]. We had about 45 minutes of advertised major update between the pushsnip and throttling happening.