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

  • bug 683417 - retry.py didn't actually kill process tree for a timed-out pushsnip (and the timeout was too short)

Build Engineers

nthomas - Tracking bug: bug 712153

Signed-off Revision(s)

Build 1: 3a99d7ff459c

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
1 MOBILE100_2012012323_RELBRANCH, FENNEC_10_0b6_RELEASE, FENNEC_10_0b6_BUILD1 358f22110d73
GECKO100_2012012323_RELBRANCH, FIREFOX_10_0b6_BUILD1 FIREFOX_10_0b6_RELEASE b4091c66fdff

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20120123235200 mv-moz2-linux-ix-slave18 1 hrs, 25 mins, 48 secs
Linux64 moz2-linux64-slave09 3 hrs, 36 mins, 23 secs
Mac moz2-darwin10-slave18 4 hrs, 28 mins, 13 secs
Windows mw32-ix-slave07 3 hrs, 32 mins, 37 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20120123232851 mv-moz2-linux-ix-slave05 1 hrs, 56 mins, 9 secs
linux mv-moz2-linux-ix-slave02 1 hrs, 12 mins, 28 secs
macosx bm-xserve16 2 hrs, 5 mins, 17 secs
win32 mw32-ix-slave06 1 hrs, 42 mins, 8 secs

Notes

Using buildbot-master08.

Build 1

Preparing to start Automation

  • set 'anymaster', 'mozilla-beta', 'any-builder' on clobberer
  • reserved 8 slaves
echo "8"> master/reserved_slaves_bm08-build1
  • Update l10n changesets for desktop, mobile
  • Land automation configs
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags
hg tag -f FIREFOX_10_0b6_RELEASE FIREFOX_10_0b6_BUILD1 FENNEC_10_0b6_RELEASE FENNEC_10_0b6_BUILD1
  • update and reconfigure the master
  • dry run of release-sanity
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u nthomas \
 -pfirefox,fennec -V 10.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 nthomas \
 -pfirefox,fennec -V 10.0b6 --branch mozilla-beta --build-number 1 \
 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
 localhost:9001

E-mail Metrics

Sent

Firefox,firefox,firefox,10.0b6,10.0
Fennec,firefox-mobile,fennec,10.0b6,10.0

Tag

no problems

Bouncer Submitter

no problems

Source

no problems

Start autosign

NOTE: use new signcode keys from d:/2011-keys

PRODUCT=firefox
VERSION=10.0b6
BUILD=1
TAG=FIREFOX_10_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/ # if it exists, otherwise create a fresh clone
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

Firefox repacks

no problems

Fennec

Android

no problems

Desktop Builds

no problems

Mobile Desktop repacks

no problems

Unittests / Talos

  1. Look to see that they ran
  2. Document any oranges (per platform) for unittests - if possible, try to confirm it's known/random
  3. Make sure there's no red/failures that we need to have a dev look at

XULRunner

Source

no problems

Build

no problems

Signing

NOTE: use new signcode keys from d:/2011-keys and QUIT SIGNCODE when you're done with keymaster

TODO

Firefox Signing

no problems

Android Signing

Instructions in MobileSigning. No problems.

NOTE: It can be started in a different Windows without having to wait for Firefox signing to finish.

Android Signature Verification

no problems

L10N verify

win32 timed out doing

bash -c './verify_l10n.sh firefox-10.0b6-build1 win32'

on moz2-darwin10-slave08. Green when rebuilt, other platforms had no problems.

Updates

pushsnip failed, all 5 attempts of the retry when they took longer than an hour to complete. We hit bug 683417 leaving behind processes each time it tried to kill-and-retry. That bug has a fix and also a timeout bump on it.

Finish up by hand:

# on aus2-staging
~/bin/pushsnip Firefox-10.0b6-build1-test
# on mv-moz2-linux-ix-slave21
cd /builds/slave/rel-m-beta-updates/build/temp/firefox/10.0b5-10.0b6
rsync -av -e 'ssh -oIdentityFile=~/.ssh/cltbld_dsa' aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-10.0b6-build1
bash /builds/slave/rel-m-beta-updates/tools/release/compare-channel-snippets.sh aus2 beta aus2.test releasetest

Update verify

Had to force these with:

for p in linux linux64 macosx64 win32; do
    for i in 1 2 3 4 5 6 7 8 9 10; do
      echo $p $i
      curl -s "http://buildbot-master08.build.sjc1.mozilla.com:8001/builders/release-mozilla-beta-${p}_update_verify_${i}%2F10/force" >/dev/null
      sleep 5
    done
  done

but started failing pretty quickly due to

command: START
command: hg update -C -r FIREFOX_10_0b6_RELEASE_RUNTIME
command: cwd: buildbot-configs
command: output:
abort: unknown revision 'FIREFOX_10_0b6_RELEASE_RUNTIME'!
command: END (0.32s elapsed)

Looks like fallout from bug 719436. Backed that out and retriggered tests. All green.

Reset reserved slaves

[cltbld@buildbot-master08 ~]$ echo 0 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1  

Run backupsnip

~/bin/backupsnip Firefox-10.0b6-build1

Check permissions / AV scan

Forced with script_repo_revision & release_config set.

no problems with permissions check or av.

Push files to internal mirrors

Mirrors Policy

no problems

Final verification

no problems

Push to beta

~/bin/pushsnip Firefox-10.0b6-build1

Publish Fennec to the Android Market

Push the files

  • edited push_fennec_beta.sh as ffxbld@stage
  • ran push_fennec_beta

Android Market

IMPORTANT - Make sure to follow instructions!

  • download multi apk (e.g. multi/fennec-10.0b6.multi.android-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 almost the build date (seems to add an hour)
    • 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/10.0b6-candidates/build1/ \
   /pub/mozilla.org/xulrunner/releases/10.0b6/