Thunderbird 2.0.0.12:BuildNotes

From MozillaWiki
Revision as of 10:55, 15 February 2008 by NThomas (talk | contribs) (→‎Source)
Jump to navigation Jump to search

Using Bootstrap (RELEASE_AUTOMATION_M7_1) but starting steps manually.

Build Engineers

nthomas

Version/config bump bug

bug 417070

Bonsai queries

Tags

Using the GECKO181_20080128_RELBRANCH.

Module Tag Pull date
cvsroot/mozilla THUNDERBIRD_2_0_0_12_RELEASE GECKO181_20080128_RELBRANCH @ 2008-02-12 13:47 PST
THUNDERBIRD_2_0_0_9_RC1 GECKO181_20080128_RELBRANCH @ 2008-02-12 13:47 PST
l10n/l10n THUNDERBIRD_2_0_0_12_RELEASE GECKO181_20080128_RELBRANCH @ 2008-02-12 13:47 PST
THUNDERBIRD_2_0_0_12_RC1 GECKO181_20080128_RELBRANCH @ 2008-02-12 13:47 PST

NB: Talkback not listed, we're using pre-build binaries (bug 403701). It was still tagged because this change is very new, and the automation needs remedial lessons.

Build data

See page history for BuildIDs of prior RCs

Type Build ID SHA1 Push date Build machine
[Windows installer] RC1:2008021305 patrocles (cerberus-vm for l10n)
[Mac compressed] RC1:2008021304 xserve02
[Linux compressed] RC1:2008021305 crazyhorse (karma for l10n)

Detailed Notes

Automation

Bootstrap tag: RELEASE_AUTOMATION_M7_1

Setup before starting:

  • used existing version bump bug to attached diff for tb-moz18-bootstrap.cfg
  • ensure that machines have enough resources (bug 393274)
    • On production-1.8-master, remove private and public areas:
      • rm -rf /data/cltbld/firefox-*
      • rm -rf /builds/tags/* - did not do this, plenty of space
      • in /home/ftp/pub/firefox/nightly/, remove all except the 2.0.0.x-candidates directory for the previous release
      • pull in 2.0.0.9 files with rsync -av stage.mozilla.org:/home/ftp/pub/thunderbird/nightly/2.0.0.9-candidates /data/ftp/pub/thunderbird/nightly/
    • On the build machines (see table aboue), checked that there was sufficient working space (~ 1GB), and stopped tinderbox. Also verified there is space available on bm-xserve04 for l10n-verify.
    • On prometheus-vm, checked that there was space for another update run (4GB)
  • on each machine, setup release automation using the tag above
cd /builds/release   # or /cygdrive/X/builds/release
cvs -nq up -r RELEASE_AUTOMATION_M7_1
# check for merges (M) or conflicts (C); if any found, check for local changes
cvs -q up -r RELEASE_AUTOMATION_M7_1
cd configs
cvs up -A     # in case we need to make changes later
cd ..
rm bootstrap.cfg logs
ln -s configs/tb-moz18-bootstrap.cfg bootstrap.cfg
mkdir -p old-logs/logs.tb20012/rc1
ln -s old-logs/logs.tb20012/rc1 logs

perl -c release

Some machines don't have the perl module Config::General so comment out

use Config::General;

at the top of Bootstrap/Step/PatcherConfig.pm. Only need this on prometheus-vm anyway, which has it.

Tag

On production-1.8-master in /builds/release: ./release -o Tag 2>&1 | tee logs/release-Tag-RC1.log

Had to come back to fix the 45 files in l10n/uk/editor, which had been tagged with MOZILLA_1_8_BRANCH by a localiser, rather than properly branched. The were all at rev 1.1 and had seen no changes on trunk, so it was straightforward to delete the existing tag, branch to MOZILLA_1_8_BRANCH, update to that, branch to the relbranch, and tag ..._RELEASE and ..._RC1.

Source

On production-1.8-master in /builds/release:

./release -o Source 2>&1 | tee logs/release-Source-RC1.log

Build

On each tinderbox, cd to /builds/release (prefix with /cygdrive/e/ on Windows) and

./release -o TinderConfig 2>&1 | tee logs/release-TinderConfig.log
./release -o Build 2>&1 | tee logs/release-Build.log

Needed to comment out lines 43-49 of Build.pm on Windows t'box, since Cygwin complains "Permissied denied" trying to execute those lines. The disks are already mounted in binmode.

Repack

On the same tinderboxes in the table above,

./release -o Repack -e 2>&1 | tee logs/release-Repack-Execute.log
./release -o Repack -p 2>&1 | tee logs/release-Repack-Push.log
./release -o Repack -a 2>&1 | tee logs/release-Repack-Announce.log

Had to rerun Linux & Mac for the uk tagging issue (see above), but was able to manually checkout the files on the win32 box before it got to that locale.

After win32 l10n, had to set cerberus-vm back to text mode

mount -t -sc /cygdrive

so that tinderbox would run. This box was very slow, taking 7 hours to complete the repack.

Signing

As per the doc.

l10n-Verify

Ran this on bm-xserve05,

./release -o Repack -v 2>&1 | tee logs/release-Repack-Verify.log