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

Enter any bugs pre-existing or newly discovered and filed during the release:

  • no clear source of approval/direction for r-d in the absence of Legneato
  • bug 666367 - Builder status sometimes gets confused
    • several l10n_verify chunks for linux64 finished but were still reported as running
  • ran out of space during signing
  • Firefox signing stalled. Looks like autosign was started, but signcodepwd wasn't running. I started up signcodepwd and things resumed.

Build Engineers

coop, aki - Tracking bug: bug 681448

Signed-off Revision(s)

Build 1: 7e3966aece57

L10N changesets

Tags

Build # Branch, Tags Changeset
MOBILE70_2011082416_RELBRANCH, FENNEC_7_0b2_RELEASE, FENNEC_7_0b2_BUILD1 d972aa1d6203
GECKO70_2011082416_RELBRANCH, FIREFOX_7_0b2_BUILD1 FIREFOX_7_0b2_RELEASE 4ee096ccdd5a

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110824172139 mv-moz2-linux-ix-slave18 2 hrs, 32 mins, 24 secs
Linux64 moz2-linux64-slave02 2 hrs, 38 mins, 0 secs
Mac moz2-darwin10-slave44 4 hrs, 20 mins, 54 secs
Windows mw32-ix-slave05 2 hrs, 56 mins, 0 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20110824181241 mv-moz2-linux-ix-slave21 1 hrs, 34 mins, 13 secs
maemo5-gtk 20110824180046 mv-moz2-linux-ix-slave05 1 hrs, 31 mins, 13 secs
linux 20110824175006 mv-moz2-linux-ix-slave15 1 hrs, 8 mins, 37 secs
macosx 20110824191413 bm-xserve11 2 hrs, 11 mins, 56 secs
win32 20110824183137 mw32-ix-slave03 1 hrs, 18 mins, 12 secs

Notes

buildbot-master08

Build 1

  • Got 'go'
  • Marked "Any master", "mozilla-beta", "Any builder" for a clobber
  • Hit ship for Firefox 7 beta 2 and Fennec 7 beta 2 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)
  • reserved 6 slaves
  • Updated master
make update
  • release_sanity noop:
cd master
. ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u coop -V 7.0b2 \
--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 coop.out
  • read coop.out for sanity check, removed
vi coop.out
rm coop.out
  • start automation
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u coop -V 7.0b2 \
--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 + Socorro-dev

Emailed Socorro-dev. They'd like this to stay until bug 679541 is resolved.

Tag

No problems.

Bouncer Submitter

No problems.

Source

No problems.

Start autosign

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

PRODUCT=firefox
VERSION=7.0b2
BUILD=1
TAG=FIREFOX_7_0b2_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_7.0b2.sh 2>&1 | tee sign_7.0b2.log

Out of space!!

Tried a |make cleanup| but it required a PGP passphrase ??? and then said there wasn't a VERSION defined, so I just nuked {firefox,fennec}-6.0b* and restarted sign_7.0b2.sh.

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=7.0b2
BUILD=1
TAG=FIREFOX_7_0b2_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

Signing was stalled. Looks like autosign was started, but signcodepwd wasn't running. I started up signcodepwd and things resumed.

Android Signing

Followed instructions.

Android Signature Verification

No problems.

Maemo5-GTK repos

No problems.

L10N verify

No problems.

Updates

No problems.

Update verify

  • macosx64
    • couldn't find complete update for ta for 5.0
  • win32
    • couldn't find complete update for cy for 6.0
    • couldn't find complete update for da for 4.0b9
    • couldn't find complete update for rm for 4.0b11
    • couldn't find partial update for ru for 7.0

Tried snippet URLs again by hand and they were fine.

Major Update

n/a

Update verify

n/a

Socorro Product Data Updates

n/a

Check permissions / AV scan

No problems.

Reset reserved slaves

set to 0

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_0b2_RELEASE

bug 682148 for the jsshell files we shouldn't be pushing out.

Push to beta

~/bin/backupsnip Firefox-7.0b2-build1
~/bin/pushsnip Firefox-7.0b2-build1

Push XULRunner to Mirrors

# DRY RUN
rsync -n -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip --exclude=*.checksums \
 /pub/mozilla.org/xulrunner/nightly/7.0b2-candidates/build1/ \
 /pub/mozilla.org/xulrunner/releases/7.0b2/
# FOR REAL
rsync -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip --exclude=*.checksums \
 /pub/mozilla.org/xulrunner/nightly/7.0b2-candidates/build1/ \
 /pub/mozilla.org/xulrunner/releases/7.0b2/

Update XULRunner wiki page

n/a

Publish Fennec

Create bouncer entry for maemo

  • added Firefox-Mobile-7.0b2 to products
  • added location for Firefox-Mobile-7.0b2 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"
  6. If this is a beta 1, go to Product Details -> Recent Changes, change the url to
http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/
    • and hit "Save"

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

Push index file to mirrors

n/a

Push to external mirrors

n/a

Final verification

No problems.

Push to Release Channel

n/a

Update symlinks

n/a

Update browser choice website

n/a

DONE TO HERE