Releases/Firefox 9.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:

  • bug 708859 - android signature verification doesn't kick off after aki renamed the signed apk.
  • forgot to run backupsnip the night before; updated the notes template

Build Engineers

aki - Tracking bug: bug 700906

Signed-off Revision(s)

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
1 MOBILE90_2011120622_RELBRANCH, FENNEC_9_0b5_RELEASE, FENNEC_9_0b5_BUILD1 fb1fa0a1fa7c
GECKO90_2011120622_RELBRANCH, FIREFOX_9_0b5_BUILD1 FIREFOX_9_0b5_RELEASE dea4e14dc88a
2 FENNEC_9_0b5_RELEASE FENNEC_9_0b5_BUILD2 938d0e6afa57

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20111206234556 mv-moz2-linux-ix-slave18 2 hrs, 17 mins, 36 secs
Linux64 linux64-ix-slave06 2 hrs, 12 mins, 53 secs
Mac moz2-darwin10-slave27 4 hrs, 39 mins, 39 secs
Windows mw32-ix-slave20 3 hrs, 20 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20111206233839 mv-moz2-linux-ix-slave10 1 hrs, 51 mins, 6 secs
linux mv-moz2-linux-ix-slave02 1 hrs, 5 mins, 24 secs
macosx bm-xserve11 2 hrs, 18 mins, 30 secs
win32 mw32-ix-slave07 1 hrs, 33 mins, 9 secs
2 android 20111208122233 mv-moz2-linux-ix-slave10 1 hrs, 48 mins, 47 secs
linux linux-ix-slave15 1 hrs, 9 mins, 21 secs
macosx
win32 mw32-ix-slave14 1 hrs, 36 mins, 2 secs

Notes

Build 1

Preparing to start Automation

  • Set clobbers for the appropriate masters. Any master, mozilla-beta, any builder.
  • Reserve slaves
[cltbld@buildbot-master08 ~]$ echo 8 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
  • Updated l10n changesets for desktop, mobile
  • Landed automation configs and merged
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags:
hg tag -f FIREFOX_9_0b5_RELEASE FIREFOX_9_0b5_BUILD1 FENNEC_9_0b5_RELEASE FENNEC_9_0b5_BUILD1
  • update and reconfigure the master
  • start automation
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u aki -pfirefox,fennec -V 9.0b5 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py --dryrun  localhost:9001

Then reran without --dryrun when it passed.

  • The only merged change was the release configs; skipped other master reconfig.

E-mail Metrics

Emailed with

Firefox,firefox,firefox,9.0b5,9.0
Fennec,firefox-mobile,fennec,9.0b5,9.0

Tag

No problems.

Fennec mv-moz2-linux-ix-slave21

Firefox mv-moz2-linux-ix-slave07

Bouncer Submitter

No problems.

moz2-linux-slave12

Source

No problems.

Fennec: mv-moz2-linux-ix-slave09

Firefox: mv-moz2-linux-ix-slave07

Start autosign

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

PRODUCT=firefox
VERSION=9.0b5
BUILD=1
TAG=FIREFOX_9_0b5_RELEASE
REPO='releases/mozilla-beta'
EMAIL=mozilla_release@oduinn.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.

XULRunner

Source

No problems.

Build

No problems.

Signing

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

No problems.

Firefox Signing

No problems.

Android Signing

Instructions in [MobileSigning https://intranet.mozilla.org/Build:MobileSigning]

No problems.

Android Signature Verification

No problems.

L10N verify

No problems.

Updates

No problems.

Update verify

No problems.

Reset reserved slaves

Done.

Check permissions / AV scan

No problems.


Push files to internal mirrors

Mirrors Policy

No problems.

Final verification

No problems.

Build 2

Preparing to start Automation

  • Set clobbers for all masters, mozilla-beta, all builders.
  • Reserved slaves: 8.
  • Landed automation configs
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags
hg tag -f FIREFOX_9_0b5_RELEASE FIREFOX_9_0b5_BUILD2 FENNEC_9_0b5_RELEASE FENNEC_9_0b5_BUILD2
  • update and reconfigure the master
make update
make reconfig
  • start automation
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u aki -pfennec -V 9.0b5 --branch mozilla-beta --build-number 2 -c release-fennec-mozilla-beta.py --dryrun  localhost:9001

then reran without --dryrun.

Tag

No problems.

mv-moz2-linux-ix-slave21

Source

No problems.

mv-moz2-linux-ix-slave09

Build

Fennec

Android

No problems.

Desktop Builds

No problems.

Mobile Desktop repacks

No problems.

Android Signing

Instructions in [MobileSigning https://intranet.mozilla.org/Build:MobileSigning]

No problems.

Android Signature Verification

I renamed the apk in sign-android-0.8.sh, so caused bug 708859. Fixed.

Reset reserved slaves

Done.

Push to beta

Failed to backupsnip the night before; added a "run backupsnip" section to the buildnotes template.

#cltbld@aus2-staging
screen
cd /opt/aus2/snippets/staging/
time ~/bin/backupsnip Firefox-9.0b5-build1 2>&1 | tee 9.0b5.out

real    76m51.525s
user    0m10.106s
sys     0m51.681s

real    76m55.204s
user    0m10.711s
sys     0m57.395s

time ~/bin/pushsnip Firefox-9.0b5-build1 2>&1 | tee 9.0b5.pushsnip.out

real    46m42.909s
user    0m11.386s
sys     0m49.663s

Publish Fennec to the Android Market

Push the files

ran push_fennec_{beta,release}.sh on stage


Android Market

Done.

IMPORTANT - Make sure to follow instructions!

  • download multi apk (e.g. multi/fennec-8.0b4.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"