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

  • bug 675286 - reopened for broken gtk repos
  • bug 676506 - Send "Signed android build available" emails automatically
  • bug 676501 - Stop running mobile unittests on build machines for releases

Build Engineers

nthomas, rail - bug 675732

Signed-off Revision(s)

Build 1: a1e3e6a625ce

L10N changesets

Tags

Build # Branch, Tags Changeset
1 MOBILE60_2011080402_RELBRANCH, FENNEC_6_0b5_RELEASE, FENNEC_6_0b5_BUILD1 1e1def18cece
GECKO60_2011080402_RELBRANCH, FIREFOX_6_0b5_BUILD1 FIREFOX_6_0b5_RELEASE b961763def47

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110804030150 mv-moz2-linux-ix-slave15 2 hrs, 11 mins, 41 secs
Linux64 moz2-linux64-slave06 3 hrs, 31 mins, 44 secs
Mac moz2-darwin10-slave20 4 hrs, 18 mins, 46 secs
Windows mw32-ix-slave03 2 hrs, 40 mins, 51 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20110804021247 mv-moz2-linux-ix-slave04 1 hrs, 35 mins, 50 secs
maemo5-gtk 20110804034059 mv-moz2-linux-ix-slave05 1 hrs, 31 mins, 59 secs
linux 20110804040715 linux-ix-slave15 1 hrs, 8 mins, 43 secs
macosx 20110804044911 bm-xserve11 2 hrs, 7 mins, 22 secs
win32 20110804040124 mw32-ix-slave09 1 hrs, 15 mins, 15 secs

Notes

Using buildbot-master08.

Build 1

  • Marked "Any master", "mozilla-beta", "Any builder" for a clobber
  • WIP patches up for review for configs and debsign
  • delay for signoff from drivers
  • hit ship for Firefox 6 beta 5 and Fennec 6 beta 5 at https://l10n-stage-sj.mozilla.org/shipping/milestones
  • checked for l10n changes since config patch, replaced TBD with en-US revision a1e3e6a625ce in configs
  • landed configs on default and production to dodge bug 675977 on default, and debsign bumps and tag bumps
  • merged two fixes from default in buildbotcustom (fixes in l10n verify)
  • tagged mozharness, buildbot-configs (production), tools, and buildbotcustom (production-0.8)
  • didn't reserve slaves as 3.6.20 is on the same master
  • update master
# in /builds/buildbot/build1
make update

release_sanity no-op:

# /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u nthomas \
-V 6.0b5 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py \
--dryrun --products firefox,fennec localhost:9001

start automation:

PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u nthomas \
-V 6.0b5 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py \
--products firefox,fennec localhost:9001

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

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

PRODUCT=firefox
VERSION=6.0b5
BUILD=1
TAG=FIREFOX_6_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 from ~/tmp

bash -xe sign_6.0b5.sh 2>&1 | tee sign_6.0b5.log

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

No problems

Signing

PRODUCT=xulrunner
VERSION=6.0b5
BUILD=1
TAG=FIREFOX_6_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 \
  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

linux64_repack_3/6 timed out. Forced rebuild.

Fennec

No problems

Partner Repack

Firefox

N/A

Fennec

N/A

Firefox Signing

No problems

Android Signing

followed instructions

Android Signature Verification

No problems.

Sent "Signed android build available" email to the r-d list. Filed bug 676506 Send "Signed android build available" emails automatically.

Maemo5-GTK repos

Failed, reopened bug 675286.

Patched, landed, reconfigured. No problems.

L10N verify

No problems. Differences found are all for locales where changeset was bumped.

Updates

No problems in generation.

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

Done in 3.6.20 notes.

Push files to internal mirrors

looks like /pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude (cltbld@stage) has been adjusted to exclude anything from

firefox/releases/*.*b*

so I just put the following property into the 'release-mozilla-beta-push_to_mirrors' builder & forced it

script_repo_revision: FIREFOX_6_0b5_RELEASE

Push to beta channel

# cltbld@aus2-staging
~/bin/backupsnip Firefox-6.0b5-build1

Push XULRunner to Mirrors

from a slave:

ssh -l xrbld -i ~/.ssh/xrbld_dsa stage.mozilla.org
# DRYRUN
rsync -n -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip --exclude=*.checksums \
/pub/mozilla.org/xulrunner/nightly/6.0b5-candidates/build1/ /pub/mozilla.org/xulrunner/releases/6.0b5/
# FOR REAL
rsync -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip --exclude=*.checksums \
/pub/mozilla.org/xulrunner/nightly/6.0b5-candidates/build1/ /pub/mozilla.org/xulrunner/releases/6.0b5/

Update XULRunner wiki page

N/A

Publish Fennec

Create bouncer entry for maemo

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

Push the files

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

Publish to the Android Market

  • activated new apk
  • deactivated old apk
  • hit "save", waited til it saved.
  • force refreshed, verified the buildnumber.

IMPORTANT - Apparently it is possible for the old apk to "come back from the dead" and on this release it turned out that a second visit to the (insert expletive here) Market was necessary to re-activate new apk AGAIN. So watch your back with anything to do with the Market and check it twice.
PROTIP: after publishing new apk on android marketplace, ask anyone in RelEng who has an android device to check for updates. Some delay in seeing new apk might be caused by cache-needing-to-refresh. However, a multi-hour delay in seeing new apk means there is something wrong with the settings in marketplace website. Fixing this may require going to the "upload new apk" tab, then clicking the "advanced" tab and looking at the build ids to compare to the build date you're expecting.

Push index file to mirrors

N/A

Push to external mirrors

N/A

Final verification

Due to low uptake (we push betas to the internal mirrors only) final verification should be forced.

Mac final verification failed. Checked the failures manually. Worked fine. Reran, turned green.

Update browser choice website

N/A