Releases/Thunderbird 12.0.1/BuildNotes

From MozillaWiki
Jump to: navigation, search

Until we're about to ship this page will serve as a spot to put down a rough checklist of what needs to be done to ship.

General Notes

See Thunderbird release docs

Release Engineers

Jhopkins, Standard8, tracking bug: bug 749735

Bugs Hit

Build Data

Not updated

Build # Type Build ID Build machine Time to build
1 Linux 20120420153403 momo-vm-linux-03 1 hrs, 43 mins, 28 secs
Linux64 20120420153206 momo-vm-linux64-06 1 hrs, 21 mins, 5 secs
Mac 20120420154114 tb2-darwin10-slave62 3 hrs, 37 mins, 27 secs
Windows 20120420153905 momo-vm-win2k3-08 1 hrs, 52 mins, 45 secs

Build 1

Signed off revisions

Start the Build

Preparation

  • Clobberred comm-release branch at https://clobberer-admin.mozillamessaging.com/ (at the top of the page, choose the production master, comm-release, any builder)
  • Create release config patch
  • Add L10N changesets (not required)
  • Land configs
  • Tag configs and tools using
hg tag THUNDERBIRD_12_0_1_RELEASE THUNDERBIRD_12_0_1_BUILD1 
  • Update and reconfig the master
ssh buildbot@momo-vm-03.sj.mozillamessaging.com
cd ~/production/buildbot-configs
hg pull -u
# check if there are local chanes
hg diff
cd /buildbot/production
./buildbot.sh checkconfig
./buildbot.sh reconfig & tail -F buildbot-configs/thunderbird/twistd.log |grep configuration
  • Start the automation
buildbot sendchange --username=standard8 --master=localhost:9010 --branch=releases/comm-release -m "Thunderbird 12.0.1 build 1 kick 1" doit


Tag

First run failed due to hg clone of a l10n repo. Applied the following patch:

diff -r c0094ce41cbf thunderbird/release_master.py
--- a/thunderbird/release_master.py	Sat Apr 28 18:52:35 2012 +0100
+++ b/thunderbird/release_master.py	Sat Apr 28 12:20:45 2012 -0700
@@ -678,11 +678,11 @@
     
     ##### Builders
     repositories = {
-        sourceRepoPath: {
-            'revision': sourceRepoRevision,
-            'relbranchOverride': relbranchOverride,
-            'bumpFiles': [productVersionFile]
-        },
+        #sourceRepoPath: {
+        #    'revision': sourceRepoRevision,
+        #    'relbranchOverride': relbranchOverride,
+        #    'bumpFiles': [productVersionFile]
+        #},
         mozillaRepoPath: {
             'revision': mozillaRepoRevision,
             'relbranchOverride': mozillaRelbranchOverride,

Then checkconfig, reconfig & re-kicked.

E-mail Metrics

Use the address "metrics-alerts < AT > mozilla < PERIOD > org"

Subject: Thunderbird 12.0.1

Thunderbird,thunderbird,thunderbird,12.0.1,12.0

E-mail mirrors@mozilla.org

Not necessary for rapid release betas or ESR builds; files only go as far as the 'internal mirrors'.

Coordinate yourself with the person creating the ESR and the latest release which normally go out at the same time.

They want to know approximately what time push to external mirrors will occur. Ideally this is a 24hr notice to them, with the estimated time.

Subject: Thunderbird 12.0.1 coming to mirrors on Apr 30, 2012
Body:
We're planning on pushing our Thunderbird 12.0 release to mirrors ~24 hours before Tuesday, April 24, 2012.
# If this is a chemspill, please mention that in the email as it will mean pinging 
# for CDN to be enabled when the push to internal mirrors happens

If you believe these releases or these dates will cause any problems,
please notify release at mozilla.com. If you have any problems with mirror
status/weights/etc, please notify mirror-submissions at mozilla.org.

Source

No problems.

Builds

No problems

L10N repacks

Killed one Linux repack (fi) as it had hung on the checking clobber times step for 33 minutes. Re-triggered with:

 check-l10n-release-builds.pl --repo http://hg.mozilla.org/releases/comm-release --branch=release --revision THUNDERBIRD_12_0_1_RELEASE --min 218 --max 271 -v --no-dry-run linux
  • linux sanity check:
 check-l10n-release-builds.pl --repo http://hg.mozilla.org/releases/comm-release --branch=release --revision THUNDERBIRD_12_0_1_RELEASE --min 218  --max 272  linux
  • linux64 sanity check:
 check-l10n-release-builds.pl --repo http://hg.mozilla.org/releases/comm-release --branch=release --revision THUNDERBIRD_12_0_1_RELEASE --min 218  --max 271  linux64

Win32 repacks had failed (ar, it, tr) due to hg errors. Re-triggered with:

check-l10n-release-builds.pl --repo http://hg.mozilla.org/releases/comm-release --branch=release --revision THUNDERBIRD_12_0_1_RELEASE --min 243 --max 296 -v --no-dry-run win32

  • win32 sanity check:
 check-l10n-release-builds.pl --repo http://hg.mozilla.org/releases/comm-release --branch=release --revision THUNDERBIRD_12_0_1_RELEASE --min 243  --max 313  win32
  • mac sanity check
check-l10n-release-builds.pl --repo http://hg.mozilla.org/releases/comm-release --branch=release --revision THUNDERBIRD_12_0_1_RELEASE --min 218  --max 271   osx

Signing

  • Using Firefox signing machine
  • Start signcodepwd
VERSION=12.0.1
BUILD=1
TAG=THUNDERBIRD_12_0_1_RELEASE
REPO=releases/comm-release

PRODUCT=thunderbird
APP_NAME=mail
EMAIL=release@mozilla.com
KEYDIR=d:/2011-keys
RELCONFIG=fake
STAGE_HOST=stage.mozilla.org
STAGE_USERNAME=tbirdbld
CVS_USER=tbirdbld
SSH_KEY=$HOME/.ssh/tbirdbld_dsa

cd ${HOME}/hg-tools/ # if it exists, otherwise create a fresh clone
hg pull && hg up

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 tb-all PRODUCT=${PRODUCT} VERSION=${VERSION} \
    BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} \
    KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG} \
    APP_NAME=$APP_NAME TAG=$TAG \
    STAGE_USERNAME=$STAGE_USERNAME \
    STAGE_HOST=$STAGE_HOST SSH_KEY=$SSH_KEY \
    CVS_USER=$CVS_USER

  • run the same with "postsign" target

L10N Verify

Updates

12.0 -> 12.0.1 updates generated. 11.0.1 -> 12.0.1 update generation is in progress.

Update Verify

Send a notification email

Let people know what's been done. Note: this is a wide list so keep traffic low.

To: thunderbird-drivers@mozilla.org
Subj: Thunderbird 12.0 build1 is available on test channels

Email sent to Thunderbird-drivers.

DONE TO HERE

Major Updates

Update this part

Major Update Verify

Add to Bouncer

Update this part

# from my laptoop, in tools/release
$ bash ../../braindump/releases-related/add_thunderbird_to_bouncer.sh 
Adding product: Thunderbird-12.0
Server response:
<?xml version="1.0" encoding="utf-8"?><products><product id="1673" name="Thunderbird-12.0"/></products>
Adding product: Thunderbird-12.0-Complete
Server response:
<?xml version="1.0" encoding="utf-8"?><products><product id="1674" name="Thunderbird-12.0-Complete"/></products>
Adding product: Thunderbird-12.0-Partial-11.0.1
Server response:
<?xml version="1.0" encoding="utf-8"?><products><product id="1675" name="Thunderbird-12.0-Partial-11.0.1"/></products>
Adding location for Thunderbird-12.0, linux: /thunderbird/releases/12.0/linux-i686/:lang/thunderbird-12.0.tar.bz2
Adding location for Thunderbird-12.0-Complete, linux: /thunderbird/releases/12.0/update/linux-i686/:lang/thunderbird-12.0.complete.mar
Adding location for Thunderbird-12.0-Partial-11.0.1, linux: /thunderbird/releases/12.0/update/linux-i686/:lang/thunderbird-11.0.1-12.0.partial.mar
Adding location for Thunderbird-12.0, linux64: /thunderbird/releases/12.0/linux-x86_64/:lang/thunderbird-12.0.tar.bz2
Adding location for Thunderbird-12.0-Complete, linux64: /thunderbird/releases/12.0/update/linux-x86_64/:lang/thunderbird-12.0.complete.mar
Adding location for Thunderbird-12.0-Partial-11.0.1, linux64: /thunderbird/releases/12.0/update/linux-x86_64/:lang/thunderbird-11.0.1-12.0.partial.mar
Adding location for Thunderbird-12.0, osx: /thunderbird/releases/12.0/mac/:lang/Thunderbird%2012.0.dmg
Adding location for Thunderbird-12.0-Complete, osx: /thunderbird/releases/12.0/update/mac/:lang/thunderbird-12.0.complete.mar
Adding location for Thunderbird-12.0-Partial-11.0.1, osx: /thunderbird/releases/12.0/update/mac/:lang/thunderbird-11.0.1-12.0.partial.mar
Adding location for Thunderbird-12.0, win: /thunderbird/releases/12.0/win32/:lang/Thunderbird%20Setup%2012.0.exe
Adding location for Thunderbird-12.0-Complete, win: /thunderbird/releases/12.0/update/win32/:lang/thunderbird-12.0.complete.mar
Adding location for Thunderbird-12.0-Partial-11.0.1, win: /thunderbird/releases/12.0/update/win32/:lang/thunderbird-11.0.1-12.0.partial.mar

Push to the internal mirrors

Added the following entry to /pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude:

- thunderbird/releases/12.0
# ~/bin/push-release /pub/mozilla.org/thunderbird/nightly/12.0-candidates/build1 /pub/mozilla.org/thunderbird/releases/12.0

Copy/paste the output and run it (took ~10mins)

Final Verification

No problems.

Push to the external mirrors

Removed the following entry to /pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude:

- thunderbird/releases/12.0

Push final snippets

# ssh -l tbirdbld -i ~/.ssh/tbirdbld_dsa momo-build-adm-01.sj.mozillamessaging.com 
~/bin/pushsnip Thunderbird-12.0-build1

Push MU snippets

# ssh -l tbirdbld -i ~/.ssh/tbirdbld_dsa momo-build-adm-01.sj.mozillamessaging.com 
~/bin/pushsnip 20120421-Thunderbird-3.1.20-12.0-MU
~/bin/pushsnip 20120421-Thunderbird-3.1.20-12.0-MU-beta

Update symlinks

cd /pub/mozilla.org/thunderbird/releases/
rm latest && ln -s 12.0 latest

Redirects

Use the svn:sys/scripts/insert-website-redirect.pl to insert redirects into puppet/modules/apache/files/conf.d/live.mozillamessaging.com.conf