Releases/Firefox 7.0b4/BuildNotes

From MozillaWiki
Jump to: navigation, search

Contents

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:

  • bug 651802 - create_buildN_snippets fails when locales are missing

Build Engineers

lsblakk - Tracking bug: bug 683545

Signed-off Revision(s)

Build 1: 6791db28b82f

Build 2: c1f5c2acfb75

L10N changesets

  • Firefox: hit 'chemspill' on dashboard milestone, reusing 7.0b3 l10n-changesets
  • Fennec: hit 'chemspill' on dashboard milestone, reusing 7.0b3 json

Tags

Build # Branch, Tags Changeset
1 MOBILE70_2011083111_RELBRANCH, FENNEC_7_0b4_RELEASE, FENNEC_7_0b4_BUILD1 16401e558c71
GECKO70_2011083111_RELBRANCH, FIREFOX_7_0b4_BUILD1 FIREFOX_7_0b4_RELEASE c1166670a105
2 MOBILE70_2011083111_RELBRANCH, FENNEC_7_0b4_RELEASE, FENNEC_7_0b4_BUILD2 ff20a21364bb
GECKO70_2011083111_RELBRANCH, FIREFOX_7_0b4_BUILD2 FIREFOX_7_0b4_RELEASE ff20a21364bb

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110831124126 mv-moz2-linux-ix-slave02 2 hrs, 31 mins
Linux64 moz2-linux64-slave06 4 hrs, 17 mins
Mac moz2-darwin10-slave47 4 hrs, 23 mins
Windows mw32-ix-slave03 2 hrs, 52 mins
2 Linux 20110902161802 mv-moz2-linux-ix-slave02 2 hrs, 37 mins, 17 secs
Linux64 moz2-linux64-slave05 3 hrs, 59 mins, 50 secs
Mac moz2-darwin10-slave44 4 hrs, 19 mins, 25 secs
Windows mw32-ix-slave14 2 hrs, 42 mins, 6 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20110831133104 mv-moz2-linux-ix-slave21 1 hrs, 35 mins
maemo5-gtk 20110831131324 mv-moz2-linux-ix-slave20 1 hrs, 27 mins
linux 20110831121400 mv-moz2-linux-ix-slave07 1 hrs
macosx 20110831144955 bm-xserve18 1 hrs, 47 mins
win32 20110831150643 mw32-ix-slave12 1 hrs, 16 mins
2 android 20110902171049 mv-moz2-linux-ix-slave21 1 hrs, 34 mins, 46 secs
maemo5-gtk 20110902165231 mv-moz2-linux-ix-slave20 1 hrs, 33 mins, 13 secs
linux 20110902155713 mv-moz2-linux-ix-slave07 1 hrs, 9 mins, 56 secs
macosx 20110902175428 bm-xserve18 1 hrs, 51 mins, 50 secs
win32 20110902181736 mw32-ix-slave03 1 hrs, 17 mins, 16 secs

Notes

Build 1

  • Ben already clobbered every master/release/builder, reserved slaves
  • Landed configs & mozharness, re-using l10n from 7.0b3 so nothing to land there
  • on the master:
make update
release_sanity noop: 

cd master
. ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -V 7.0b4 \
--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 lsblakk.out

Did not pass release_sanity, turned out I had not saved my changes to release-fennec-mozilla-beta.py so I did that, landed on production, re-tagged buildbot-configs, updated the master, did release_sanity dryrun again which passed

start automation: 

PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -V 7.0b4 \
--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 for beta > 1

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

Didn't start autosign yet as there were two other releases running: 3.6.22 and 6.0.2 - waiting for a connection to be available.

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

Macosx64 failed compile on the first run, forced rebuild and second run compiled.

Signing

Did not sign due to ALL STOP.

Repacks

Firefox

No problems

Fennec

No problems

Firefox Signing

Did not sign due to ALL STOP.

Android Signing

Followed instructions.

Android Signature Verification

No problems.

Reset reserved slaves

Set to 0 in 3.6.22 notes, after ALL STOP on this build.

Build 2

  • landed configs & mozharness bumps
  • tagged buildbot-configs, buildbotcustom, tools, mozharness repos
  • clobbered all mozilla-beta builders on any master
  • on bm08:
make update

release_sanity noop:

cd master
. ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -V 7.0b4 \
--branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
--products firefox,fennec --dryrun localhost:9001 2>&1 | tee lsblakk.out

passed dryrun so started automation:

PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -V 7.0b4 \
--branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
--products firefox,fennec localhost:9001 2>&1 | tee lsblakk.out


E-mail Metrics

N/A > beta 1

Tag

No problems

Bouncer Submitter

N/A build > 1

Source

No problems

Start autosign

PRODUCT=firefox
VERSION=7.0b4
BUILD=1
TAG=FIREFOX_7_0b4_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}
  • BUILD=1 was set incorrect. Stopped signing, removed all files and restarted the signing with BUILD=2
  • Signing failed due to low disk space. Removed ~/signing-work/firefox-6.0.2/broken-build2. Removed 7.0b4 files and restarted the signing.

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.0b4
BUILD=2
TAG=FIREFOX_7_0b3_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

Android Signing

Followed instructions (copied sign_android-0.8.sh to sign_android7.0b4.sh to not overwrite settings for 6.0.2).

Automation sent "Fennec 7.0b4 build2: All signed builds now available" email twice. To be investigated.

Android Signature Verification

No problems

Maemo5-GTK repos

Forced builder. No problems.

L10N verify

No problems.

Updates

Turned red because BuildN updates weren't generated (build1 was stopped). See bug 651802 for details.

Update verify

# On my local machine, to kick off update verify
for p in linux linux64 macosx64 win32; do
  for i in 1 2 3 4 5 6 7 8 9 10; do
    curl "http://buildbot-master08.build.sjc1.mozilla.com:8001/builders/release-mozilla-beta-${p}_update_verify_${i}%2F10/force" >/dev/null
  done
done

Major Update

N/A

Update verify

N/A

Socorro Product Data Updates

Check permissions / AV scan

Got a failure for

test ! -d /pub/mozilla.org/firefox/releases/7.0b4/

because I'd already pushed to mirrors.

Got the same dir test error for Check Permissions

See bug 683448 for details.

Reset reserved slaves

# cltbld@buildbot-master08
/builds/buildbot/build1
echo "0"> master/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_0b4_RELEASE

Push to beta

# cltbld@aus2-staging
time ~/bin/backupsnip Firefox-7.0b4-build2
# took 109m
~/bin/pushsnip Firefox-7.0b4-build2
# real    35m50.508s
# user    0m7.417s
# sys     0m39.144s

Push XULRunner to Mirrors

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

# FOR REAL
 rsync -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip --exclude=*.checksums \
 /pub/mozilla.org/xulrunner/nightly/7.0b4-candidates/build2/ \
 /pub/mozilla.org/xulrunner/releases/7.0b4/

Update XULRunner wiki page

N/A

Publish Fennec

Create bouncer entry for maemo

Added Firefox-Mobile-7.0b4 product with location set to /mobile/releases/maemo/:lang/firefox-beta.install for maemo platform.

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

downloaded multi apk
under APK Files, Upload APK

    chose multi apk, uploaded
    when it finished uploading, verified VersionCode is build date
    hit "Save" 

activated new apk
deactivated old apk
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

Passed.

Push to Release Channel

N/A

Update symlinks

N/A

Update browser choice website

N/A