Releases/Firefox 8.0/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 236: Line 236:


=== Reset reserved slaves ===
=== Reset reserved slaves ===
echo 0 > master/reserved_slaves_bm07-build1


=== Check permissions / AV scan ===
=== Check permissions / AV scan ===

Revision as of 17:58, 5 November 2011

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 700013 - sign_android-0.8.sh needs to be smarter about disk space available
  • bug 674327 - bump the disk space requirement for signing

Build Engineers

lsblakk - Tracking bug: bug 695722

Signed-off Revision(s)

Build 1: 04778346a3b0

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
1 MOBILE80_2011110415_RELBRANCH, FENNEC_8_0_RELEASE, FENNEC_8_0_BUILD1 c85cee638277
GECKO80_2011110416_RELBRANCH, FIREFOX_8_0_BUILD1 FIREFOX_8_0_RELEASE 67f0ce993976

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20111104165243 mv-moz2-linux-ix-slave08 2 hrs, 27 mins
Linux64 moz2-linux64-slave08 3 hrs, 52 mins
Mac moz2-darwin10-slave46 4 hrs, 30 mins
Windows mw32-ix-slave11 2 hrs, 53 mins

Fennec

Build # Type Build ID Build machine Time to build
1 android 20111104164606 mv-moz2-linux-ix-slave16 1 hr, 43 mins
linux mv-moz2-linux-ix-slave19 1 hr, 10 mins
macosx bm-xserve09 2 hrs, 14 mins
win32 mw32-ix-slave15 1 hr, 30 mins

Notes

Build 1

Syncing repos

mozilla-beta -> mozilla-release was done by Christian Legnitto (as well as updating browser/locales/shipped_locales to eliminate non-release locales that were in beta releases mn,sw,csb)

Did l10n repo sync on linux-ix-slave02 as per instructions

Diff mozconfigs

Updated the mozconfig_whitelist PGO difference in release configs that are known and intentional diff

Preparing to start Automation

  • Set clobber for 'any master', 'mozilla-release', 'any builder'
  • reserved 10 slaves
echo "10" > master/reserved_slaves_bm07-build1
  • Landed automation configs & l10n updates
  • Tagged buildbot-configs (production), buildbotcustom (production-0.8), tools (default) with build & release tags
hg tag -f FIREFOX_8_0_BUILD1 FIREFOX_8_0_RELEASE FENNEC_8_0_BUILD1 FENNEC_8_0_RELEASE
  • release_sanity dry run
 source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk
 -V 8.0 --branch mozilla-release --build-number 1 -c release-firefox-mozilla-release.py
 --dryrun --products firefox,fennec localhost:9001

dry-run failed verify_l10n_dashboard because the url for the dashboard was https://l10n-stage-sj.mozilla.org/shipping/l10n-changesets?ms=fx8 and the release_sanity looks for https://l10n-stage-sj.mozilla.org/shipping/l10n-changesets?ms=fx8.0

  • start automation
 source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u lsblakk
 -V 8.0 --branch mozilla-release --build-number 1 -c release-firefox-mozilla-release.py
 --products -b firefox,fennec localhost:9001
  • not reconfiguring other masters, it's EOD Pacific time on a Friday, sent an email to release@mozilla.com to notify for Monday morning
  • returned linux-ix-slave02 to the pool now that l10n repos are synched

E-mail Metrics

Only for beta1 and 1.9.2 releases

E-mail mirrors@mozilla.org

email sent, cc'd release@mozilla.com

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

# created in ~/tmp/sign_8.0.sh
PRODUCT=firefox
VERSION=8.0
BUILD=1
TAG=FIREFOX_8_0_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}

Started auto-sign

bash -xe ~/tmp/sign_8.0.sh 2>&1 | tee sign_8.0.log

Build

Firefox

No problems

Fennec

Android

No problems

Desktop Builds

No problems

Desktop repacks

No problems

Unittests / Talos

QUESTION: should I be looking at https://tbpl.mozilla.org/?tree=Mozilla-Release&rev=04778346a3b0 for this? The build sendchange for rev = d03b51a9b2bd did not trigger tests

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

XULRunner

Source

No problems

Build

No problems

Signing

Copied sign_xulrunner-8.0b6.sh to sign_xulrunner-8.0.sh, altered version/build vars and ran the script

No problems

Repacks

Firefox

No problems

Fennec

No problems

Partner Repack

Firefox

Had to force builds on linux,linux64,mac while win32 was successfully triggered

Fennec

N/A for this release, no maemo

Firefox Signing

No problems, but would have been if I hadn't gone on to sign android and discovered there was no more disk space. Seems like we need at least 30 GB (?) free to do signing now and the signing script isn't clearing enough space, re-opened bug 674327

Android Signing

First attempt failed because of 0GB disk space available Cleaned up binaries from signed-work and retried, second time no problems filed bug 700013

Android Signature Verification

No problems

L10N verify

No problems

Updates

Hit bug 690365 - updates failed at trying to upload to aus2.beta

Update verify

Had to trigger manually:

# 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-master07.build.sjc1.mozilla.com:8001/builders/release-mozilla-release-${p}_update_verify_${i}%2F10/force" >/dev/null
    sleep 5
  done
done

Major Update

N/A

Update verify

N/A

Socorro Product Data Updates

N/A

Reset reserved slaves

echo 0 > master/reserved_slaves_bm07-build1

Check permissions / AV scan

Push files to internal mirrors

Final verification

Push to beta

Push index file to mirrors

Push to external mirrors

if this is a chemspill you will want to ping justdave (or other sysadmin) in #release-drivers 
and ask them to enable CDN

Publish Fennec

Push the files

(only for < 8.0b*) TODO: review as we are going to ask release-drivers about this step

Publish to the Android Market

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"

Push XULRunner to Mirrors

Update XULRunner wiki page

Push to Release Channel

Update symlinks

Once we're signed off on the release channel.

Remove index.html files

If you created them earlier to hide the release.

Update browser choice website