Releases/Thunderbird 13.0beta1/BuildNotes

From MozillaWiki
Jump to: navigation, search

General Notes

See Thunderbird release docs

Release Engineers

nthomas - tracking bug: bug 744600

Bugs Hit

  • l10n jobs didn't trigger after en-US completed - shipped-locales was only en-US
  • not enough free space for update generation - bug 750651

Build Data

Build # Type Build ID Build machine Time to build
1 Linux 20120425154050 momo-vm-linux-15 1 hrs, 47 mins, 44 secs
Linux64 20120425154039 momo-vm-linux64-03 1 hrs, 19 mins, 41 secs
Mac 20120425154248 momo-xserve-01 1 hrs, 35 mins, 42 secs
Windows 20120425154040 momo-vm-win2k3-06 1 hrs, 44 mins, 5 secs

Build 1

Signed off revisions

Start the Build

Preparation

hg tag THUNDERBIRD_13_0b1_RELEASE THUNDERBIRD_13_0b1_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 changes
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=nthomas --master=localhost:9010 --branch=releases/comm-beta -m "Thunderbird 13beta1 build 1 kick 1" doit

Tag

No problems

E-mail Metrics

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

Subject: Thunderbird 13.0b1

Thunderbird,thunderbird,thunderbird,13.0b1,13.0

E-mail mirrors@mozilla.org

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

Source

No problems.

Builds

No problems

L10N repacks

No repacks triggered at all. Using the script doesn't help because shipped-locales only has en-US in it. Fix that up using the 12.0b5 contents, since we didn't add any new locales to l10n-changesets for this release, land on the relbranch, move tags, land on default for 13.0b2 (changes). Reconfig the master.

Manually force using the script (using bogus min/max values on the high side).

Linux:

#buildbot@momo-vm-03.sj.mozillamessaging.com
check-l10n-release-builds.pl  --min 500 --max 500 \
  --repo http://hg.mozilla.org/releases/comm-beta \
  --branch=beta --revision THUNDERBIRD_13_0b1_RELEASE \
  --no-dry-run linux

Repeat with linux64, osx, win32.

Had to redo some windows builds for failures.

Signing

  • Using Firefox signing machine:
VERSION=13.0b1
BUILD=1
TAG=THUNDERBIRD_13_0b1_RELEASE
REPO=releases/comm-beta

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

Expected red builds

Updates

Failed during partial generation when it exhausted the 23G available after purge_builds.py, build was auto-retried (not actually helpful). Standard8 aborted the retry, nthomas backed out the update verify config bump from tools repo, Standard8 forced the updates builder.

The updates builder failed again, so Standard8 cleared disk space and proceeded manually:

cd /buildbot/updates_beta/build
perl patcher2.pl --create-patches --partial-patchlist-file=patchlist.cfg --app=thunderbird --brand=Thunderbird --config=patcher-configs/mozBeta-thunderbird-branch-patcher2.cfg
cd ..
find build/temp/thunderbird/12.0b5-13.0b1/ftp/thunderbird/nightly/13.0b1-candidates/build1 -type f -exec chmod 644 {} \;
find build/temp/thunderbird/12.0b5-13.0b1/ftp/thunderbird/nightly/13.0b1-candidates/build1 -type d -exec chmod 755 {} \;
cd build/temp/thunderbird/12.0b5-13.0b1/ftp/thunderbird/nightly/13.0b1-candidates/build1
rsync -av -e "ssh -oIdentityFile=~/.ssh/tbirdbld_dsa" --exclude=*complete.mar update tbirdbld@stage.mozilla.org:/pub/mozilla.org/thunderbird/nightly/13.0b1-candidates/build1
cd ../../../../..
rsync -av -e "ssh -oIdentityFile=~/.ssh/tbirdbld_dsa" aus2.test/ tbirdbld@momo-build-adm-01.sj.mozillamessaging.com:/opt/aus2/snippets/staging/20120426-Thunderbird-13.0b1-test
bash -c 'ssh -l tbirdbld -i ~/.ssh/tbirdbld_dsa momo-build-adm-01.sj.mozillamessaging.com "~/bin/pushsnip 20120426-Thunderbird-13.0b1-test"'
rsync -av -e "ssh -o IdentityFile=~/.ssh/tbirdbld_dsa" aus2/ tbirdbld@momo-build-adm-01.sj.mozillamessaging.com:/opt/aus2/snippets/staging/20120426-Thunderbird-13.0b1

Manually triggered update verify steps.

Update Verify

No problems

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 13.0b1 build1 is available on test channels

Add to Bouncer

No problems
Adding product: Thunderbird-13.0b1
Server response:
<?xml version="1.0" encoding="utf-8"?><products><product id="1685" name="Thunderbird-13.0b1"/></products>
Adding product: Thunderbird-13.0b1-Complete
Server response:
<?xml version="1.0" encoding="utf-8"?><products><product id="1686" name="Thunderbird-13.0b1-Complete"/></products>
Adding product: Thunderbird-13.0b1-Partial-12.0b5
Server response:
<?xml version="1.0" encoding="utf-8"?><products><product id="1687" name="Thunderbird-13.0b1-Partial-12.0b5"/></products>
Adding location for Thunderbird-13.0b1, linux: /thunderbird/releases/13.0b1/linux-i686/:lang/thunderbird-13.0b1.tar.bz2
Adding location for Thunderbird-13.0b1-Complete, linux: /thunderbird/releases/13.0b1/update/linux-i686/:lang/thunderbird-13.0b1.complete.mar
Adding location for Thunderbird-13.0b1-Partial-12.0b5, linux: /thunderbird/releases/13.0b1/update/linux-i686/:lang/thunderbird-12.0b5-13.0b1.partial.mar
Adding location for Thunderbird-13.0b1, linux64: /thunderbird/releases/13.0b1/linux-x86_64/:lang/thunderbird-13.0b1.tar.bz2
Adding location for Thunderbird-13.0b1-Complete, linux64: /thunderbird/releases/13.0b1/update/linux-x86_64/:lang/thunderbird-13.0b1.complete.mar
Adding location for Thunderbird-13.0b1-Partial-12.0b5, linux64: /thunderbird/releases/13.0b1/update/linux-x86_64/:lang/thunderbird-12.0b5-13.0b1.partial.mar
Adding location for Thunderbird-13.0b1, osx: /thunderbird/releases/13.0b1/mac/:lang/Thunderbird%2013.0b1.dmg
Adding location for Thunderbird-13.0b1-Complete, osx: /thunderbird/releases/13.0b1/update/mac/:lang/thunderbird-13.0b1.complete.mar
Adding location for Thunderbird-13.0b1-Partial-12.0b5, osx: /thunderbird/releases/13.0b1/update/mac/:lang/thunderbird-12.0b5-13.0b1.partial.mar
Adding location for Thunderbird-13.0b1, win: /thunderbird/releases/13.0b1/win32/:lang/Thunderbird%20Setup%2013.0b1.exe
Adding location for Thunderbird-13.0b1-Complete, win: /thunderbird/releases/13.0b1/update/win32/:lang/thunderbird-13.0b1.complete.mar
Adding location for Thunderbird-13.0b1-Partial-12.0b5, win: /thunderbird/releases/13.0b1/update/win32/:lang/thunderbird-12.0b5-13.0b1.partial.mar

Push to the internal mirrors

# as tbirdbld on stage
~/bin/push-release /pub/mozilla.org/thunderbird/nightly/13.0b1-candidates/build1 /pub/mozilla.org/thunderbird/releases/13.0b1

DONE TO HERE

Final Verification

Update symlinks

N/A for betas

Push beta snippets

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

Redirects

jhopkins to take of this

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