Releases/Firefox 7.0b5/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

rail - Tracking bug: bug 685253

Signed-off Revision(s)

Build 1:

L10N changesets

Tags

Build # Branch, Tags Changeset
MOBILE70_2011090812_RELBRANCH, FENNEC_7_0b5_BUILD1, FENNEC_7_0b5_RELEASE 386311c39987
GECKO70_2011090812_RELBRANCH, FIREFOX_7_0b5_BUILD1, FIREFOX_7_0b5_RELEASE d70ed894123a

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110908135051 mv-moz2-linux-ix-slave02 2 hrs, 31 mins, 22 secs
Linux64 linux64-ix-slave19 2 hrs, 13 mins, 42 secs
Mac moz2-darwin10-slave53 4 hrs, 14 mins, 45 secs
Windows mw32-ix-slave04 2 hrs, 41 mins, 57 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20110908162413 mv-moz2-linux-ix-slave21 1 hrs, 28 mins, 17 secs
maemo5-gtk 20110908152658 mv-moz2-linux-ix-slave05 39 mins, 41 secs
linux 20110908143941 linux-ix-slave15 1 hrs, 6 mins, 57 secs
macosx 20110908151217 bm-xserve18 1 hrs, 56 mins, 15 secs
win32 20110908144258 mw32-ix-slave08 1 hrs, 19 mins, 6 secs

Notes

Build 1

  • reserved 8 slaves
  • Marked "Any master", "mozilla-beta", "Any builder" for a clobber
  • Hit ship for Firefox 7 beta 5 and Fennec 7 beta 5 at https://l10n-stage-sj.mozilla.org/shipping/milestones
  • Landed configs, mozharness
  • landed on production buildbot-configs, tagged buildbot-configs (production), mozharness, tools, buildbotcustom (production-0.8) using FIREFOX_7_0b5_BUILD1 FIREFOX_7_0b5_RELEASE FENNEC_7_0b5_BUILD1 FENNEC_7_0b5_RELEASE tags
  • Updated master
make update
  • release_sanity noop:
cd master
. ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u rail -V 7.0b5 \
--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 rail.out
  • read rail.out for sanity check, removed
vi rail.out
rm rail.out
  • start automation
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u rail -V 7.0b5 \
--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

N/A

E-mail socorro-dev

Firefox and Fennec 7.0b5 build IDs can be found here:
https://wiki.mozilla.org/Releases/Firefox_7.0b5/BuildNotes#Build_data

Tag

Fennec tagging went good.

Firefox tagging failed for cs and gd:

abort: no suitable response from remote hg!
...
Giving up on <function out at 0xb7c74df4>
  • logged to the tagging slave:
# mv-moz2-linux-ix-slave15
cd /builds/slave/rel-m-beta-firefox-tag/cs
hg push -e 'ssh -l ffxbld -i ~cltbld/.ssh/ffxbld_dsa' --new-branch ssh://hg.mozilla.org/releases/l10n/mozilla-beta/cs

cd /builds/slave/rel-m-beta-firefox-tag/gd
hg push -e 'ssh -l ffxbld -i ~cltbld/.ssh/ffxbld_dsa' --new-branch ssh://hg.mozilla.org/releases/l10n/mozilla-beta/gd
  • disabled tagging by applying the following patch (locally)
--- a/mozilla/release-firefox-mozilla-beta.py   Thu Sep 08 22:35:05 2011 +0300
+++ b/mozilla/release-firefox-mozilla-beta.py   Thu Sep 08 13:44:40 2011 -0700
@@ -1,4 +1,5 @@
 releaseConfig = {}
+releaseConfig['skip_tag']       = True
 
 # Release Notification
 releaseConfig['AllRecipients']       = ['release@mozilla.com',]
  • reconfigured the master (to be safe)
  • ran release_sanity.py. Had to add -b (by pass) to ignore local changes, remove -c *fennec* and use --product firefox
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u rail -V 7.0b5 \
 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py \
 --products firefox -b localhost:9001
  • reverted local changes (hg up -C)

Bouncer Submitter

No problems

Source

No problems

Start autosign

Saved the following as ~/tmp/sign_7.0b5.sh

PRODUCT=firefox
VERSION=7.0b5
BUILD=1
TAG=FIREFOX_7_0b5_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}

Ran the following

cd tmp && bash -xe sign_7.0b5.sh 2>&1 | tee 7.0b5.log

Build

Firefox

There were not enough linux64 build slaves, so linux64 build was pending for ~1h. Moved 2 idle slaves using slavealloc.

Fennec

Android
  • mozharness_multilocale failed:
ERROR: Can't find /builds/slave/rel-m-beta-lnx-andrd-bld/./build/configs/mozilla/l10n-changesets_mobile-beta.json ...

since we don't pull buildbot-configs to build/configs anymore (see bug 558180).

  • Aki landed a fix to default and production-0.8
  • buildbotcustom retagged, updated on master, master reconfigured.
  • Hit Rebuild
Maemo5-GTK

Failed. See Android notes.

Desktop Builds

No problems

Desktop repacks

No problems

Unittests / Talos

XULRunner

Source

  • make bundle timed out
  • clobbered the slave manually and hit Rebuild

Build

No problems

Signing

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

No problems.

Android Signing

Followed instructions

Android Signature Verification

No problems.

Maemo5-GTK repos

Forced builder. No problems.

L10N verify

No problems.

Updates

No problems

Update verify

No problems.

Major Update

N/A

Update verify

N/A

Socorro Product Data Updates

N/A

Check permissions / AV scan

No problems.

Reset reserved slaves

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_0b5_RELEASE

Push to beta

# ctbld@aus2-staging
time ~/bin/backupsnip Firefox-7.0b5-build1
# 72m39.555s
time ~/bin/pushsnip Firefox-7.0b5-build1
# 33m11.209s

Push XULRunner to Mirrors

# as xrbld@stage
# DRY RUN
rsync -n -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip \
 --exclude=*.checksums --exclude=jsshell* \
 /pub/mozilla.org/xulrunner/nightly/7.0b5-candidates/build1/ \
 /pub/mozilla.org/xulrunner/releases/7.0b5/
# Real push
rsync  -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip \
 --exclude=*.checksums --exclude=jsshell* \
 /pub/mozilla.org/xulrunner/nightly/7.0b5-candidates/build1/ \
 /pub/mozilla.org/xulrunner/releases/7.0b5/

Update XULRunner wiki page

N/A

Publish Fennec

Create bouncer entry for maemo

  • added Firefox-Mobile-7.0b5 to products
  • added location for Firefox-Mobile-7.0b5 maemo: /mobile/releases/maemo/:lang/firefox-beta.install

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

  1. download multi apk
  2. under APK Files, Upload APK
    • choose multi apk, upload
    • when it finishes uploading, verify VersionCode is build date
    • hit "Save"
  3. activate new apk
  4. deactivate old apk
  5. hit "Save"
    • and hit "Save"

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

(aki fixed after an r-d email):

  1. activate new apk
  2. deactivate old apk
  3. hit save

Push index file to mirrors

N/A

Push to external mirrors

N/A

Final verification

Triggered automatically. No problems.

Push to Release Channel

N/A

Update symlinks

N/A

Update browser choice website

N/A