Releases/Thunderbird 3.0a2:BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: <small>« Back to Thunderbird 3 Alpha 2 Release Page</small> =Build Engineers= nthomas, gozer =Bonsai queries= Last checkins for alpha 1: * cvsroot ...)
 
 
(23 intermediate revisions by the same user not shown)
Line 21: Line 21:
|-
|-
| rowspan="3" | cvsroot/mozilla
| rowspan="3" | cvsroot/mozilla
| GECKO190_200807xx_RELBRANCH
| GECKO190_20080725_RELBRANCH
| HEAD @ 2008-07-14 12:00 PDT ('''but see [[Releases/Thunderbird_3.0a2:BuildNotes#Tag|Tag]] below''')
|-
| THUNDERBIRD_3_0a2_BUILD1
| GECKO19_20080725_RELBRANCH @ 2008-07-24 18:14 PDT
|-
| THUNDERBIRD_3_0a2_RELEASE
| GECKO19_20080725_RELBRANCH @ 2008-07-24 18:14 PDT
|-
| rowspan="3" | cvsroot/l10n
| GECKO190_20080725_RELBRANCH
| HEAD @ 2008-07-14 12:00 PDT
| HEAD @ 2008-07-14 12:00 PDT
|-
|-
| THUNDERBIRD_3_0a1_BUILD1
| THUNDERBIRD_3_0a2_BUILD1
| GECKO19_200807xx_RELBRANCH @  
| GECKO19_20080725_RELBRANCH @ 2008-07-24 18:21 PDT
|-
|-
| THUNDERBIRD_3_0a1_RELEASE
| THUNDERBIRD_3_0a2_RELEASE
| GECKO19_200807xx_RELBRANCH @  
| GECKO19_20080725_RELBRANCH @ 2008-07-24 18:21 PDT
|-
| l10n/l10n
| not tagged, no locales for this release
|
|}
|}


Line 64: Line 70:


=Build 1=
=Build 1=
Bootstrap tag: RELEASE_AUTOMATION_M10_1
Setup before starting:
* look for changes to the nightly mozconfig/tinder-config.pl files, merge any desired changes to release branch
* tag new version of tinderbox and release automation to pick up branding changes in Thunderbird-land, RELEASE_AUTOMATION_M10_1
* On fx-{linux,mac,win32}-1.9-slave2, set up tinderbox directories
# on linux and mac (skip to windows otherwise)
cd /builds/tinderbox/mozilla/tools/tinderbox
cvs up -r RELEASE_AUTOMATION_M10_1
cd /builds/tinderbox
mkdir Tb-Mozilla1.9-Release
cd Tb-Mozilla1.9-Release
../mozilla/tools/tinderbox/install-links
# on windows
cd /e/builds/tinderbox/mozilla/tools/tinderbox
cvs up -r RELEASE_AUTOMATION_M10_1
cd /e/
mkdir tb19rel
cd tb19rel
cp /e/builds/tinderbox/mozilla/tools/tinderbox/{build-seamonkey.pl,build-seamonkey-util.pl,gettime.pl,bloatdiff.pl,tinder-defaults.pl,reportdata.pl,post-mozilla-rel.pl,post-mozilla-l10n.pl} .
cp post-mozilla-rel.pl post-mozilla.pl
# all platforms
rm tinderbox
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -r release -d tinderbox-configs mozilla/tools/tinderbox-configs/thunderbird/linux # or macosx or win32
ln -s tinderbox-configs/mozconfig
ln -s tinderbox-configs/tinder-config.pl
* repeat build setup (from the mkdir above) for Tb-Mozilla1.9-l10n-Release (linux/mac) and /e/tb19l10nrel (win32); pull config from l10n_release branch of CVS
* get tbirdbld keys onto these three slaves (for symbols, copy from tbird nightly box), and make sure dm-symbolpush01.mozilla.org has been accepted
* didn't cleanup space on slaves, should be enough free already
* lets go:
buildbot sendchange --username=nthomas --master=localhost:9989 -m"Thunderbird 3.0a2build1 release" gogogo
==Tag==
* automated, but
** in between mozilla/mail/locales/shipped-locales being checked out and the relbranch being created, cvs up -A on shipped-locales (to support late shipped-locales checkin see "Build" below)
** make sure l10n checkout works on the builders, do this on a build box (this turned out to not work as expected)
cvs -d cltbld@cvs.mozilla.org:/l10n co -r THUNDERBIRD_3_0a2_RELEASE -p l10n/de/browser/README.txt
There was an execution error updating shipped-locales - the command used was just "cvs up -A" in mail/locales, so we also pulled in fixes for:
{| class="fullwidth-table"
| style="background:#efefef" | '''File'''
| style="background:#efefef" | '''revision at "2008-07-14 12:00 PDT" cutoff'''
| style="background:#efefef" | '''revision of tag THUNDERBIRD_3_0a2_RELEASE'''
| style="background:#efefef" | '''bug(s) for change'''
|-
| mail/locales/Makefile.in
| 1.44
| 1.46
| {{bug|432840}}, {{bug|445708}}
|-
| mail/locales/l10n.ini
| didn't exist
| 1.1
| {{bug|445217}}
|-
| mail/locales/en-US/chrome/messenger/AccountWizard.dtd
| 1.4
| 1.5
| {{bug|443908}}
|-
| mail/locales/en-US/chrome/messenger-newsblog/am-newsblog.dtd
| 1.4
| 1.5
| {{bug|369159}}
|-
|}
davida signed off on these additional changes without retagging and building.
==Source==
* automated
==Build==
* automated, with issues
* the l10n checkout trick in Tag didn't work (perhaps because it's -p to print to the screen) so the Linux repack failed to checkout out any l10n source. Manually ran the cvs command again (without -p), adjusted the master config to skip the TinderConfig and en-US build steps, and forced a linux build
* the Mac build failed. Turns out the source timestamp provided didn't include all the of the branding changes to Shredder. We set the tinder-config.pl to use a product name of 'Thunderbird', which results in a Thunderbird.app package
* Symbol collection failed for mac ({{bug|411171}}), fixed with
# cltbld@fx-mac-1.9-slave2
make -C /builds/tinderbox/Tb-Mozilla1.9-Release/Darwin_8.8.4_Depend/mozilla/../build/universal/ppc buildsymbols
SYMBOL_SERVER_HOST=dm-symbolpush01.mozilla.org \
  SYMBOL_SERVER_USER=tbirdbld \
  SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_tbrd \
  SYMBOL_SERVER_SSH_KEY=/Users/cltbld/.ssh/tbirdbld_dsa \
  make -C /builds/tinderbox/Tb-Mozilla1.9-Release/Darwin_8.8.4_Depend/mozilla/../build/universal/ppc uploadsymbols
==Bump version numbers==
Changed Thunderbird version to 3.0b1pre in comm-central - [https://bugzilla.mozilla.org/attachment.cgi?id=331826&action=edit patch]
==Stage==
l10n QA checks are [[Thunderbird3/TestResults/Alpha2/L10N|here]], and some locales have enough issues that we should not ship them (es-ES, ka, sk, sv-SE). Need to update shipped-locales before calling the Stage builder:
# cltbld@fx-linux-1.9-slave2
/builds/tags/THUNDERBIRD_3_0a2_BUILD1/cvsroot/mozilla/mail/locales
cvs stat shipped-locales      # rev1.3, up to date on GECKO190_20080725_RELBRANCH
# edit shipped-locales to remove 4 locales
cvs diff -u shipped-locales
# verify only the 4 locales above are removed
cvs ci -m "Update shipped-locales for 3.0a2 release, me=nthomas" shipped-locales
# new rev is 1.3.2.1
cvs tag THUNDERBIRD_3_0a2_STAGE shipped-locales
cvs tag -F THUNDERBIRD_3_0a2_RELEASE shipped-locales
Then force a build on the Stage builder using the buildbot waterfall.
This fails out because thunderbird is not a group on fx-linux-1.9-slave2. Fix with
# as root
groupadd thunderbird
usermod -a -G thunderbird cltbld
the switch back to cltbld and restart the buildbot slave. Remove /data/cltbld/thunderbird-3.0a2/, then force another build.
Whadyaknow, it failed again. Stopped buildbot, logged out of cltbld, logged on and restarted buildbot. Forced another build after removing /data/cltbld/thunderbird-3.0a2/.
==Sign Installers==
* follow installer-signing-instructions [https://intranet.mozilla.org/Build:Unified_Release_Process#Sign_builds here]
* complete stage-merged:
# on stage
cd /data/cltbld/thunderbird-3.0a2/
rsync -av batch1/mar/ stage-merged/
rsync -av batch1/stage-signed/ stage-merged/
* Create MD5 and SHA1 checksum files
# on stage as cltbld
cd /data/cltbld/thunderbird-3.0a2/stage-merged/
~/bin/checksum-files .
* Fix permissions & ownership (on the detached sigs and the two SUM files respectively)
chown -R cltbld:thunderbird .
chmod 644 *SUMS
==Release==
* get the last formal "go" from Thunderbird QA & release-drivers
* push the stage-merged directory to the releases area :
# on stage
rsync -av /data/cltbld/thunderbird-3.0a2/stage-merged/ /home/ftp/pub/thunderbird/releases/3.0a2/
==Update Bouncer==
* Add entries to download.mozilla.org - installers only

Latest revision as of 03:10, 13 August 2008

« Back to Thunderbird 3 Alpha 2 Release Page

Build Engineers

nthomas, gozer

Bonsai queries

Last checkins for alpha 1:

  • cvsroot -

Bugs

Tracking bug for Thunderbird 3.0a2 - bug 445991

Tags

Module Tag Pull date
cvsroot/mozilla GECKO190_20080725_RELBRANCH HEAD @ 2008-07-14 12:00 PDT (but see Tag below)
THUNDERBIRD_3_0a2_BUILD1 GECKO19_20080725_RELBRANCH @ 2008-07-24 18:14 PDT
THUNDERBIRD_3_0a2_RELEASE GECKO19_20080725_RELBRANCH @ 2008-07-24 18:14 PDT
cvsroot/l10n GECKO190_20080725_RELBRANCH HEAD @ 2008-07-14 12:00 PDT
THUNDERBIRD_3_0a2_BUILD1 GECKO19_20080725_RELBRANCH @ 2008-07-24 18:21 PDT
THUNDERBIRD_3_0a2_RELEASE GECKO19_20080725_RELBRANCH @ 2008-07-24 18:21 PDT

Build data

Type Build ID SHA1 Push date Build machine
[Windows installer] en-US: fx-win32-1.9-slave2
[Mac compressed] en-US: bm-xserve07
[Linux compressed] en-US: fx-linux-1.9-slave2

Build 1

Bootstrap tag: RELEASE_AUTOMATION_M10_1

Setup before starting:

  • look for changes to the nightly mozconfig/tinder-config.pl files, merge any desired changes to release branch
  • tag new version of tinderbox and release automation to pick up branding changes in Thunderbird-land, RELEASE_AUTOMATION_M10_1
  • On fx-{linux,mac,win32}-1.9-slave2, set up tinderbox directories
# on linux and mac (skip to windows otherwise)
cd /builds/tinderbox/mozilla/tools/tinderbox
cvs up -r RELEASE_AUTOMATION_M10_1
cd /builds/tinderbox
mkdir Tb-Mozilla1.9-Release
cd Tb-Mozilla1.9-Release
../mozilla/tools/tinderbox/install-links

# on windows
cd /e/builds/tinderbox/mozilla/tools/tinderbox
cvs up -r RELEASE_AUTOMATION_M10_1
cd /e/
mkdir tb19rel
cd tb19rel
cp /e/builds/tinderbox/mozilla/tools/tinderbox/{build-seamonkey.pl,build-seamonkey-util.pl,gettime.pl,bloatdiff.pl,tinder-defaults.pl,reportdata.pl,post-mozilla-rel.pl,post-mozilla-l10n.pl} .
cp post-mozilla-rel.pl post-mozilla.pl

# all platforms
rm tinderbox
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -r release -d tinderbox-configs mozilla/tools/tinderbox-configs/thunderbird/linux # or macosx or win32
ln -s tinderbox-configs/mozconfig
ln -s tinderbox-configs/tinder-config.pl
  • repeat build setup (from the mkdir above) for Tb-Mozilla1.9-l10n-Release (linux/mac) and /e/tb19l10nrel (win32); pull config from l10n_release branch of CVS
  • get tbirdbld keys onto these three slaves (for symbols, copy from tbird nightly box), and make sure dm-symbolpush01.mozilla.org has been accepted
  • didn't cleanup space on slaves, should be enough free already
  • lets go:
buildbot sendchange --username=nthomas --master=localhost:9989 -m"Thunderbird 3.0a2build1 release" gogogo

Tag

  • automated, but
    • in between mozilla/mail/locales/shipped-locales being checked out and the relbranch being created, cvs up -A on shipped-locales (to support late shipped-locales checkin see "Build" below)
    • make sure l10n checkout works on the builders, do this on a build box (this turned out to not work as expected)
cvs -d cltbld@cvs.mozilla.org:/l10n co -r THUNDERBIRD_3_0a2_RELEASE -p l10n/de/browser/README.txt

There was an execution error updating shipped-locales - the command used was just "cvs up -A" in mail/locales, so we also pulled in fixes for:

File revision at "2008-07-14 12:00 PDT" cutoff revision of tag THUNDERBIRD_3_0a2_RELEASE bug(s) for change
mail/locales/Makefile.in 1.44 1.46 bug 432840, bug 445708
mail/locales/l10n.ini didn't exist 1.1 bug 445217
mail/locales/en-US/chrome/messenger/AccountWizard.dtd 1.4 1.5 bug 443908
mail/locales/en-US/chrome/messenger-newsblog/am-newsblog.dtd 1.4 1.5 bug 369159

davida signed off on these additional changes without retagging and building.

Source

  • automated

Build

  • automated, with issues
  • the l10n checkout trick in Tag didn't work (perhaps because it's -p to print to the screen) so the Linux repack failed to checkout out any l10n source. Manually ran the cvs command again (without -p), adjusted the master config to skip the TinderConfig and en-US build steps, and forced a linux build
  • the Mac build failed. Turns out the source timestamp provided didn't include all the of the branding changes to Shredder. We set the tinder-config.pl to use a product name of 'Thunderbird', which results in a Thunderbird.app package
  • Symbol collection failed for mac (bug 411171), fixed with
# cltbld@fx-mac-1.9-slave2
make -C /builds/tinderbox/Tb-Mozilla1.9-Release/Darwin_8.8.4_Depend/mozilla/../build/universal/ppc buildsymbols
SYMBOL_SERVER_HOST=dm-symbolpush01.mozilla.org \ 
 SYMBOL_SERVER_USER=tbirdbld \ 
 SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_tbrd \
 SYMBOL_SERVER_SSH_KEY=/Users/cltbld/.ssh/tbirdbld_dsa \
 make -C /builds/tinderbox/Tb-Mozilla1.9-Release/Darwin_8.8.4_Depend/mozilla/../build/universal/ppc uploadsymbols

Bump version numbers

Changed Thunderbird version to 3.0b1pre in comm-central - patch

Stage

l10n QA checks are here, and some locales have enough issues that we should not ship them (es-ES, ka, sk, sv-SE). Need to update shipped-locales before calling the Stage builder:

# cltbld@fx-linux-1.9-slave2
/builds/tags/THUNDERBIRD_3_0a2_BUILD1/cvsroot/mozilla/mail/locales
cvs stat shipped-locales      # rev1.3, up to date on GECKO190_20080725_RELBRANCH
# edit shipped-locales to remove 4 locales
cvs diff -u shipped-locales
# verify only the 4 locales above are removed
cvs ci -m "Update shipped-locales for 3.0a2 release, me=nthomas" shipped-locales
# new rev is 1.3.2.1
cvs tag THUNDERBIRD_3_0a2_STAGE shipped-locales
cvs tag -F THUNDERBIRD_3_0a2_RELEASE shipped-locales

Then force a build on the Stage builder using the buildbot waterfall.

This fails out because thunderbird is not a group on fx-linux-1.9-slave2. Fix with

# as root
groupadd thunderbird
usermod -a -G thunderbird cltbld

the switch back to cltbld and restart the buildbot slave. Remove /data/cltbld/thunderbird-3.0a2/, then force another build.

Whadyaknow, it failed again. Stopped buildbot, logged out of cltbld, logged on and restarted buildbot. Forced another build after removing /data/cltbld/thunderbird-3.0a2/.

Sign Installers

  • follow installer-signing-instructions here
  • complete stage-merged:
# on stage
cd /data/cltbld/thunderbird-3.0a2/
rsync -av batch1/mar/ stage-merged/
rsync -av batch1/stage-signed/ stage-merged/
  • Create MD5 and SHA1 checksum files
# on stage as cltbld
cd /data/cltbld/thunderbird-3.0a2/stage-merged/
~/bin/checksum-files .
  • Fix permissions & ownership (on the detached sigs and the two SUM files respectively)
chown -R cltbld:thunderbird .
chmod 644 *SUMS

Release

  • get the last formal "go" from Thunderbird QA & release-drivers
  • push the stage-merged directory to the releases area :
# on stage
rsync -av /data/cltbld/thunderbird-3.0a2/stage-merged/ /home/ftp/pub/thunderbird/releases/3.0a2/

Update Bouncer

  • Add entries to download.mozilla.org - installers only