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

  • regression running release_sanity from bug 690785 - backed out for further investigation
  • bug 699478 - Don't try to create snippets for Darwin_x86_64-gcc3 for build# > 1

Build Engineers

coop - Tracking bug: bug 698546

Signed-off Revision(s)

Build 1: 402afd561056
Build 2: Mobile d17877e2b391, Desktop a1022c1524af

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
1 MOBILE80_2011103117_RELBRANCH, FENNEC_8_0b6_RELEASE, FENNEC_8_0b6_BUILD1 a75938e6625e
GECKO80_2011103118_RELBRANCH, FIREFOX_8_0b6_BUILD1, FIREFOX_8_0b6_RELEASE 92635f5299af
2 FENNEC_8_0b6_RELEASE, FENNEC_8_0b6_BUILD2 d17877e2b391
FIREFOX_8_0b6_BUILD2, FIREFOX_8_0b6_RELEASE a1022c1524af

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20111031184046 mv-moz2-linux-ix-slave18 2 hrs, 28 mins, 34 secs
Linux64 linux64-ix-slave07 2 hrs, 13 mins, 26 secs
Mac moz2-darwin10-slave23 4 hrs, 36 mins, 29 secs
Windows mw32-ix-slave07 3 hrs, 3 mins, 22 secs
2 Linux 20111102223350 mv-moz2-linux-ix-slave18 2 hrs, 30 mins, 21 secs
Linux64 linux64-ix-slave15 2 hrs, 9 mins, 34 secs
Mac
Windows

Fennec

Build # Type Build ID Build machine Time to build
1 android 20111031183531 mv-moz2-linux-ix-slave10 1 hrs, 44 mins, 22 secs
linux mv-moz2-linux-ix-slave02 1 hrs, 15 mins, 59 secs
macosx bm-xserve15 2 hrs, 19 mins, 17 secs
win32 mw32-ix-slave05 1 hrs, 23 mins, 58 secs
2 android 20111102223018 mv-moz2-linux-ix-slave10 1 hrs, 42 mins, 13 secs
linux mv-moz2-linux-ix-slave02 1 hrs, 12 mins, 9 secs
macosx bm-xserve15 2 hrs, 17 mins, 49 secs
win32 mw32-ix-slave06 1 hrs, 30 mins, 44 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_0b6_{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 coop -pfirefox,fennec -V 8.0b6 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py --dryrun  localhost:9001
  • start automation
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u coop -pfirefox,fennec -V 8.0b6 --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.0b6
BUILD=1
TAG=FIREFOX_8_0b6_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.0b6
BUILD=1
TAG=FIREFOX_8_0b6_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.

ALL STOP. Will have a build#2 to pickup cert changes from bug 698753

Build 2

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 on default and production
  • Tag buildbot-configs (production), buildbotcustom (production-0.8), tools with {FIREFOX,FENNEC}_8_0b6_{RELEASE,BUILD2}
  • 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 nthomas -pfirefox,fennec -V 8.0b6 --branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py --dryrun  localhost:9001

Hit a problem - backed out bug 690785 and retagged the tools repo. Redo update/checkconfig/reconfig. Redo release sanity dryrun -> PASS.

  • start automation
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u nthomas -pfirefox,fennec -V 8.0b6 --branch mozilla-beta --build-number 2 -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

N/A for build > 1

Source

No problems

Start autosign

PRODUCT=firefox
VERSION=8.0b6
BUILD=2
TAG=FIREFOX_8_0b6_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

  • Win32 build had a network interruption that dropped the job - Aki used the rebuild button
  • Previous job hadn't rebooted and something was locking a file, so a rm failed early in the compile:
rm: cannot lstat `./dist/bin/components': Permission denied
  • nthomas manually clobbered build dir and rebooted slave, then used 'rebuild button'

Fennec

Android

No problems

Desktop Builds

No problems

Desktop Repacks

Win32 repack 2/6 failed - a network interruption. Rebuild used, successful that time

XULRunner

Source

Failed because 20 mins wasn't enough time to create the bundle on a VM. Manual clobber and rebuild. Failed again. Third time was the charm.

Build

No problems

Signing

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

PRODUCT=xulrunner
VERSION=8.0b6
BUILD=2
TAG=FIREFOX_8_0b6_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 the 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.

Filed bug 699478 - Don't try to create snippets for Darwin_x86_64-gcc3 for build# > 1

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

No problems

Push to beta

time ~/bin/backupsnip Firefox-8.0b6-build2
# 60m 23s
time ~/bin/pushsnip Firefox-8.0b6-build2
# 31m

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.0b6
export BUILDNUM=2
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.0b6.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"

Weirdly, the Market truncated 20111102223018 to 2011110223 instead of 2011110222.

Push XULRunner to Mirrors

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

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