Releases/Thunderbird 2.0.0.23/BuildNotes

From MozillaWiki
Jump to navigation Jump to search

Please be sure to use

  • RELEASE_AUTOMATION_M15 in the buildbot master config (for bug 496491)

Build Engineers

bhearsum
Version/config bump/tracking in bug 506948

Bonsai queries

Build 1: cvsroot

Tags

Build 1:

Module Parent Branch Created Tag/Branch Pull date
cvsroot/mozilla
l10n/l10n

Build data

Type Build machine
[Windows installer/zip] production-patrocles
[Mac compressed] bm-xserve05
[Linux compressed] production-crazyhorse

Notes

Build 1

Using RELEASE_AUTOMATION_M15

Slave cleanup

  • production-prometheus-vm
    • need ~10GB for tag, source, update generation and linux verify, stage; 20G free to begin with - didn't do any cleanup
  • production-crazyhorse
    • already had 15GB free on /builds - should be fine
  • bm-xserve05
    • need ~20GB for mac builds, l10n_verify, mac update verify
    • removed /builds/verify/*, /builds/tinderbox/Fx-Mozilla1.8-Nightly/Darwin_8.7.0_Depend, /builds/tinderbox/Fx-Mozilla1.8-l10n-release/Darwin_8.7.0_Depend, /builds/tinderbox/Fx-Mozilla1.8-release/Darwin_8.7.0_Depend
    • 33G free at start
  • production-patrocles
    • driveE: already had 43GB free
  • production-pacifica-vm
    • already 29.6GB free, plenty for update verify
  • Landed and tagged updated bootstrap config

Setup master before starting:

  • update mozilla/tools/buildbot-configs/automation/production/tb-master.cfg for most recent milestone of bootstrap
  • as buildmaster@production-1.8-master, cd /builds/buildbot/Thunderbird-Automation/buildbot-configs. Check for local diff, revert any changes from last release, dry run a cvs up, then cvs up
  • master.cfg and tb-master.cfg is "Locally Modified" to contain passwords; identical to repository version otherwise.
  • Ran 'buildbot reconfig /home/buildmaster/Thunderbird-Automation'
  • Buildbot waterfall is here (MPT-VPN); this is a separate instance from the Firefox master, with production-prometheus-vm and bm-xserve05 running a slave for each master

Login to productioion-1.8-master as cltbld and start automation run:

buildbot sendchange --username=bhearsum --master=localhost:9990 -m"Thunderbird 2.0.0.23 build 1" release

Tag

  • Tag failed out with:
None of ^WIN32_MODULE_PRODUCTVERSION_STRING=2.0.0.23pre$ found in file /builds/tags/THUNDERBIRD_2_0_0_23_BUILD1/cvsroot/mozilla/mail/app/module.ver: Inappropriate ioctl for device at /builds/tags/THUNDERBIRD_2_0_0_23_BUILD1/tools/release/version-bump.pl line 142.
    • This is because Tb nightlies were never version bumped to 2.0.0.23pre after 2.0.0.22.
  • Checked in a version bump, updated and retaged bootstrap config
  • Had to undo the branching to get Bootstrap to retag:
cvs rtag -B -d GECKO181_20090812_RELBRANCH mozilla/
  • Restarted automation with another sendchange
  • No other problems

Source

No problems

Build/Repack

  • Linux: no problems
  • Mac: no problems
  • Win32: no problems

Sign

  • Signing doc
  • NB: Doc change - do only the linked section.
  • Used new signing scripts - no problems

l10n verification

  • Failed to mount or rsync any mac dmgs - need to investigate

Generate updates

  • Died when trying to download the mac ja-JP-mac build because it doesn't exist. The Repack log shows this error:
mkdir -p pkg-dmg.19209.9bTq6AWz/stage/.background
rsync -a --copy-unsafe-links /builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/dist/branding/dsstore pkg-dmg.19209.9bTq6AWz/stage/.DS_Store
rsync -a --copy-unsafe-links /builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/dist/branding/background.png pkg-dmg.19209.9bTq6AWz/stage/.background
rsync -a --copy-unsafe-links /builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/dist/branding/disk.icns pkg-dmg.19209.9bTq6AWz/stage/.VolumeIcon.icns
/Developer/Tools/SetFile -a C pkg-dmg.19209.9bTq6AWz/stage
chmod -R a+rX,a-st,u+w,go-w pkg-dmg.19209.9bTq6AWz/stage
hdiutil makehybrid -hfs -hfs-volume-name Thunderbird -hfs-openfolder pkg-dmg.19209.9bTq6AWz/stage -ov pkg-dmg.19209.9bTq6AWz/stage -o pkg-dmg.19209.9bTq6AWz/hybrid.dmg
/builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/build/package/mac_osx/pkg-dmg: exited on signal 11
/builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/build/package/mac_osx/pkg-dmg: hdiutil makehybrid failed (cleaning up)
Creating hybrid image...
make[2]: *** [repackage-zip] Error 1
make[1]: *** [repackage-zip-ja-JP-mac] Error 2
make: *** [installers-ja-JP-mac] Error 2
    • Fixed with the following:
# pulled this line from the log
make -C /builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/mail/locales installers-ja-JP-mac ZIP_IN=/builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/thunderbird.dmg
# don't know why this didn't exist already, but the Makefiles need it here :S
cd /builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/l10n-stage
mkdir -p host/bin
cp ../host/bin/* .
make -C /builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/tools/update-packaging full-update STAGE_DIR=/builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/dist/install/2009-08-12-12-thunderbird2.0.0.23-l10n/build.25223 DIST=/builds/tinderbox/Tb-Mozilla1.8-l10n-Release/Darwin_8.7.0_Depend/mozilla/dist/l10n-stage AB_CD=ja-JP-mac
# and for the upload
scp *ja-JP-mac* install/2009-08-12-12-thunderbird2.0.0.23-l10n/build.25223/thunderbird-2.0.0.23.ja-JP-mac.mac.complete.mar cltbld@stage.mozilla.org:/home/ftp/pub/thunderbird/nightly/2.0.0.23-candidates/build1
scp install/*ja-JP-mac* cltbld@stage.mozilla.org:/home/ftp/pub/thunderbird/nightly/2.0.0.23-candidates/build1/mac-xpi
  • Removed /builds/updates/thunderbird-2.0.0.23 on production-prometheus-vm and restarted the updates step with Force Build

Publish updates to test channels (betatest & releasetest)

  • Failed when aus2-staging claimed to run out of disk space bug 510203
    • The /opt partition ran out of inodes - Aravind fixed it
  • To push through the rest of this, did the following;
# cltbld @ production-prometheus-vm
cd /builds/updates/thunderbird-2.0.0.23/patcher/temp/thunderbird/2.0.0.22-2.0.0.23
rsync -av -e 'ssh -i /home/cltbld/.ssh/aus' aus2.test/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20090813-Thunderbird-2.0.0.23-test/

And then, on aus2-staging,

# cltbld @ aus2-staging
# start screen, then
cd /opt/aus2/snippets/staging/
~/bin/backupsnip 20090813-Thunderbird-2.0.0.23-test

Update verify

Push updates to beta channel

Sign installers

Done manually using these installer-signing-instructions here. NB: Doc location change, content unmodified.

Update bouncer

Push to mirrors

Update rsync module

Final verification

Publish updates to release channel

Update symlink