Thunderbird3.0a1:BuildNotes

From MozillaWiki
Jump to navigation Jump to search

Build Engineers

rick, nthomas

Bug bug 411171 is no longer to be considered a blocker for the 3.0a1 release. Will try to build and upload the symbols manually.

Bonsai queries

Last checkins for alpha 1:

  • cvsroot -
  • l10n -

Bugs

Tracking bug for Thunderbird 3.0a1 - bug 431788

Tags

Note: Thunderbird alpha tags to be reviewed. rick 2008-05-01

Module Tag Pull date
cvsroot/mozilla GECKO19_20080506_RELBRANCH HEAD @ 2008-05-01 03:00 PDT
THUNDERBIRD_3_0a1_BUILD1 GECKO19_20080506_RELBRANCH @ <some time>
THUNDERBIRD_3_0a1_RELEASE GECKO19_20080506_RELBRANCH @ <some time>
l10n/l10n GECKO19_20080506_RELBRANCH HEAD @ 2008-05-01 03:00 PDT
THUNDERBIRD_3_0a1_BUILD1 GECKO19_20080506_RELBRANCH @ <some time>
THUNDERBIRD_3_0a1_RELEASE GECKO19_20080506_RELBRANCH @ <some time>

Build data

Type Build ID SHA1 Push date Build machine
[Windows installer] en-US: tbnewref-win32-tbox
[Mac compressed] en-US: bm-xserve07
[Linux compressed] en-US: tb-linux-tbox

Build 1

Bootstrap tag: RELEASE_AUTOMATION_M9

Setup before starting:

  • create release branch of tinder-config.pl and mozconfig (for b2: compare nightly and release mozconfig/tinder-config.pl files, merge any desired changes)
  • On bm-xserve07, tb-linux-tbox, tbnewref-win32-tbox, set up the Bootstrap code
cd /builds/   # /e/builds/ on windows
cvs -d tbirdbld@cvs.mozilla.org:/cvsroot co -d release -r RELEASE_AUTOMATION_M9 mozilla/tools/release
cd release/configs
cvs up -A     # in case we need to make changes later
cd ..
ln -s configs/tb-moz19-bootstrap.cfg bootstrap.cfg
mkdir -p old-logs/logs.tb30a1/build1
ln -s old-logs/logs.tb30a1/build1 logs

make test

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

use Config::General;

at the top of Bootstrap/Step/PatcherConfig.pm. This needed to be commented out on tb-linux-tbox which will be used for the Tag and Source steps.

  • On bm-xserve07, tb-linux-tbox, tbnewref-win32-tbox, stop running tinderbox and set up tinderbox directories (when ready to actually start the builds)
cd /builds/tinderbox/mozilla/tools/tinderbox
cvs up -r RELEASE_AUTOMATION_M9
# on linux and mac (skip to windows otherwise)
cd /builds/tinderbox
mkdir Tb-Mozilla1.9-Release
cd Tb-Mozilla1.9-Release
../mozilla/tools/tinderbox/install-links
# on windows
cd /e/
mkdir tb19rel
cd tb19rel
<copy in files from tinderbox dir>
# all platforms
rm tinderbox
cvs -d tbirdbld@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
  • on tb-linux-tbox (once off setup for Stage)
# as root
mkdir -p /data/cltbld
chown cltbld:cltbld /data/cltbld
ln -s /builds/release/bin /data/cltbld

Tag

On tb-linux-tbox in /builds/release:

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

Failed

Died right off the bat. This was because the /builds/logs directory did not exist. This directory was created with 775 and owned by cltbld:cltbld.

The /builds/tags/THUNDERBIRD_3_0a1_BUILD1/ directory, which was created by the first failed run, was also removed. The Tag command was then re-run.

Failed a second time

The tagging itself went without incident. When it came time to bump the version.txt, the |cvs ci| failed with

The tbirdbld account is not permitted to check-in to this CVS repository.
If you think it should be allowed to do so, please contact
the system administrators at sysadmins@mozilla.org.
cvs commit: Pre-commit check failed

Manual rescue is in progress by nthomas.

Source

Build

After the build is complete, do cvs up -A in /builds/tinderbox/mozilla/tools/tinderbox and restart tinderbox