Releases/Firefox 8.0b5/BuildNotes

From MozillaWiki
Jump to navigation Jump to 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

rail - Tracking bug: bug 695655

Signed-off Revision(s)

Build 1: fc2bb0c7af44

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
MOBILE80_2011102618_RELBRANCH, FENNEC_8_0b5_RELEASE, FENNEC_8_0b5_BUILD1 1559949121cc
GECKO80_2011102619_RELBRANCH, FIREFOX_8_0b5_BUILD1, FIREFOX_8_0b5_RELEASE 317fabbef86b

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20111026191032 mv-moz2-linux-ix-slave18 2 hrs, 32 mins, 31 secs
Linux64 linux64-ix-slave15 2 hrs, 12 mins, 48 secs
Mac moz2-darwin10-slave48 4 hrs, 40 mins, 22 secs
Windows mw32-ix-slave08 2 hrs, 48 mins, 7 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20111026190650 mv-moz2-linux-ix-slave10 1 hrs, 42 mins, 17 secs
linux mv-moz2-linux-ix-slave02 1 hrs, 10 mins, 53 secs
macosx bm-xserve15 2 hrs, 12 mins, 48 secs
win32 mw32-ix-slave06 1 hrs, 30 mins, 18 secs

Notes

Build 1

Master: buildbot-master08.build.sjc1.mozilla.com

Syncing repos

N/A

Diff mozconfigs

N/A

Preparing to start Automation

  • Set clobbers for the appropriate masters
  • reserved slaves
echo "10">  master/reserved_slaves_bm08-build1
  • Update l10n changesets for desktop, mobile
  • Land automation configs
  • Tag buildbot-configs (production), buildbotcustom (production-0.8), tools with {FIREFOX,FENNEC}_8_0b5_{RELEASE,BUILD1}
  • update and reconfigure the master
make update && make checkconfig && make reconfig
  • release sanity
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u rail -pfirefox,fennec -V 8.0b5 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py --dryrun  localhost:9001

It failed, see [1] for the details

  • start automation
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u rail -pfirefox,fennec -V 8.0b5 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py localhost:9001

E-mail Metrics

N/A

E-mail mirrors@mozilla.org

N/A

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

PRODUCT=firefox
VERSION=8.0b5
BUILD=1
TAG=FIREFOX_8_0b5_RELEASE
REPO='releases/mozilla-beta'
EMAIL=release@mozilla.com
KEYDIR=d:/2011-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}

Build

Firefox

No problems

Fennec

No problems

Android

No problems

Desktop Builds

No problems

Desktop repacks

No problems

Unittests / Talos

XULRunner

Source

No problems

Build

No problems

Signing

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

PRODUCT=xulrunner
VERSION=8.0b5
BUILD=1
TAG=FIREFOX_8_0b5_RELEASE
REPO="releases/mozilla-beta"
EMAIL=release@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

Partner Repack

Firefox

n/a

Fennec

n/a

Firefox Signing

No problems

Android Signing

No problems with instructions

Android Signature Verification

No problems

L10N verify

No problems

Updates

First pushsnip timed out (was running simultaneously with nightly backup). Second retry (which is a safe operation) passed w/o any problems.

Update verify

Some of the builders failed (known bug 664539 problem). Rebuilds went fine.

Major Update

n/a

Update verify

n/a

Socorro Product Data Updates

n/a

Reset reserved slaves

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

echo 0 > reserved_slaves_bm08-build1

Check permissions / AV scan

No problems

Push files to internal mirrors

Ran automatically after virus check (betas only)

Final verification

Some of the builders failed (known bug 664539 problem). Rebuilds went fine.

Push to beta

time ~/bin/backupsnip Firefox-8.0b5-build1
# 42m37.745s
time ~/bin/pushsnip Firefox-8.0b5-build1
# 31m28.739s

Push index file to mirrors

N/A

Push to external mirrors

N/A

Publish Fennec

Push the files

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

FTR, cat push_fennec_beta.sh

export VERSION=8.0b5
export BUILDNUM=1
export RD=/home/ftp/pub/mozilla.org/mobile/releases
export CD=/home/ftp/pub/mozilla.org/mobile/candidates

mkdir $RD/$VERSION
cd $RD/$VERSION

rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* \
 --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=*install* \
 --exclude=*logs* \
 $CD/$VERSION-candidates/build$BUILDNUM/ $RD/$VERSION/

# linux/linux-i686
locales=`cd $CD/$VERSION-candidates/build$BUILDNUM/linux/; ls -1 --hide=en-US`
for i in $locales; do
    cp -a $CD/$VERSION-candidates/build$BUILDNUM/linux/$i/linux-i686/xpi/*.xpi \
      $RD/$VERSION/linux/$i
done

# macosx/mac
locales=`cd $CD/$VERSION-candidates/build$BUILDNUM/macosx/; ls -1 --hide=en-US`
for i in $locales; do
    cp -a $CD/$VERSION-candidates/build$BUILDNUM/macosx/$i/mac/xpi/*.xpi \
      $RD/$VERSION/macosx/$i
done

#win32/win32
locales=`cd $CD/$VERSION-candidates/build$BUILDNUM/win32/; ls -1 --hide=en-US`
for i in $locales; do
    cp -a $CD/$VERSION-candidates/build$BUILDNUM/win32/$i/win32/xpi/*.xpi \
      $RD/$VERSION/win32/$i
done

Publish to the Android Market

  • APK uploaded in advance.

IMPORTANT - Make sure to follow instructions!

  • download multi apk (e.g. multi/fennec-8.0b5.multi.eabi-arm.apk)
  • visit https://market.android.com/publish
  • choose "Firefox Beta" or "Firefox"
  • select the "APK Files" tab and choose "Upload APK"
    • choose the multi apk that you downloaded and hit "upload"
      • NOTE: the progress bar does not seem to show progress (at least on Google Chrome)
    • when it finishes uploading, verify VersionCode is build date
    • hit "Save"
  • activate new apk (You should see an Error message since both apk's are active)
  • deactivate old apk (You should not see the Error message anymore)
  • hit "Save"
  • If this is a beta 1, go to "Product Details" tab -> Recent Changes, change the url to
http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/
    • and hit "Save"

Push XULRunner to Mirrors

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

Update XULRunner wiki page

N/A

Push to Release Channel

N/A

Update symlinks

N/A

Remove index.html files

N/A

Update browser choice website

N/A