Confirmed users
4,293
edits
mNo edit summary |
|||
(29 intermediate revisions by 2 users not shown) | |||
Line 20: | Line 20: | ||
|- | |- | ||
| rowspan="2" | cvsroot/mozilla | | rowspan="2" | cvsroot/mozilla | ||
| | | MOZILLA_1_8_BRANCH | ||
| | | GECKO181_20090812_RELBRANCH | ||
| | | 2009-08-12 08:29 PDT | ||
|- | |- | ||
| | | GECKO181_20090812_RELBRANCH | ||
| | | THUNDERBIRD_2_0_0_23_RELEASE THUNDERBIRD_2_0_0_23_BUILD1 | ||
| | | 2009-08-12 08:29 PDT | ||
|- | |- | ||
| rowspan="2" | l10n/l10n | | rowspan="2" | l10n/l10n | ||
| | | MOZILLA_1_8_BRANCH | ||
| | | GECKO181_20090812_RELBRANCH | ||
| | | 2009-08-12 08:29 PDT | ||
|- | |- | ||
| | | GECKO181_20090812_RELBRANCH | ||
| | | THUNDERBIRD_2_0_0_23_RELEASE THUNDERBIRD_2_0_0_23_BUILD1 | ||
| | | 2009-08-12 08:29 PDT | ||
|} | |} | ||
Line 86: | Line 86: | ||
* Buildbot waterfall is [http://production-1.8-master.build.mozilla.org:8910/waterfall 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 | * Buildbot waterfall is [http://production-1.8-master.build.mozilla.org:8910/waterfall 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 | Login to production-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 | buildbot sendchange --username=bhearsum --master=localhost:9990 -m"Thunderbird 2.0.0.23 build 1" release | ||
Line 93: | Line 93: | ||
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. | 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. | ** 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==== | ====Source==== | ||
No problems | |||
====Build/Repack==== | ====Build/Repack==== | ||
* Linux: no problems | |||
* Mac: no problems | |||
* Win32: no problems | |||
====Sign==== | ====Sign==== | ||
* [https://intranet.mozilla.org/Build:Signing#Win32_EXE.2FDLL_signing Signing doc] | * [https://intranet.mozilla.org/Build:Signing#Win32_EXE.2FDLL_signing Signing doc] | ||
* NB: Doc change - do only the linked section. | * NB: Doc change - do only the linked section. | ||
* Used new signing scripts - no problems | |||
====l10n verification==== | ====l10n verification==== | ||
* Failed to mount or rsync any mac dmgs | |||
** {{bug|499506}} removed our ability to mount DMGs with a EULA. Backed it out temporarily to get us going again, long term fixed being tracked in {{bug|510208}} | |||
* Nothing in l10nverify log == PASS. | |||
====Generate updates==== | ====Generate updates==== | ||
* Died when trying to download the mac ja-JP-mac build because it doesn't exist. The Repack log shows this error: | |||
<pre> | |||
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 | |||
</pre> | |||
** 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)==== | ====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 | |||
~/bin/pushsnip 20090813-Thunderbird-2.0.0.23-test | |||
====Update verify==== | ====Update verify==== | ||
* Linux: fine | |||
* Win32: fine | |||
* Mac: fine | |||
==== Stage ==== | |||
* Failed first time because mac ja-JP-mac.xpi was uploaded with wrong name (due to the manual intervention. To fix, renamed it to the proper thing: | |||
# cltbld @ stage | |||
cd /home/ftp/pub/thunderbird/nightly/2.0.0.23-candidates/build1/mac-xpi | |||
mv thunderbird-2.0.0.23.ja-JP-mac.langpack.xpi ja-JP-mac.xpi | |||
Then, clobbered /data/cltbld/thunderbird-2.0.0.23 on production-prometheus-vm and started Stage again. | |||
* Failed erroneously afterwards because it picked up the "FAIL" in the log from the first run and halted. Deleted the dir again, deleted the log too, and restarted it | |||
* No further issues. | |||
====Push updates to beta channel==== | ====Push updates to beta channel==== | ||
# cltbld @ aus2-staging | |||
# start screen, then | |||
cd /opt/aus2/snippets/staging/ | |||
~/bin/backupsnip 20090813-Thunderbird-2.0.0.23-beta | |||
~/bin/pushsnip 20090813-Thunderbird-2.0.0.23-beta | |||
====Sign installers==== | ====Sign installers==== | ||
Done manually using these installer-signing-instructions [https://intranet.mozilla.org/Build:Signing#Installer.2Farchive_signing_before_release here]. NB: Doc location change, content unmodified. | Done manually using these installer-signing-instructions [https://intranet.mozilla.org/Build:Signing#Installer.2Farchive_signing_before_release here]. NB: Doc location change, content unmodified. | ||
* Had to locally modify sign-release to point to the right keys because of bug 507660 | |||
* complete stage-merged: | |||
# on stage | |||
cd /data/cltbld/thunderbird-2.0.0.23/ | |||
rsync -av batch1/mar/ stage-merged/ | |||
rsync -av batch1/stage-signed/ stage-merged/ | |||
* Create MD5 and SHA1 checksum files | |||
# on stage | |||
cd /data/cltbld/thunderbird-2.0.0.23/stage-merged/ | |||
~/bin/checksum-files . | |||
* Fix permissions & ownership (on the two SUM files, and the detached sigs) | |||
chown -R cltbld:thunderbird . | |||
chmod 644 *SUMS | |||
====Update bouncer==== | ====Update bouncer==== | ||
Done | |||
==== Push to mirrors ==== | ==== Push to mirrors ==== | ||
# on stage (as cltbld) | |||
rsync -av /data/cltbld/thunderbird-2.0.0.23/stage-merged/ /home/ftp/pub/thunderbird/releases/2.0.0.23/ | |||
====Update rsync module==== | ====Update rsync module==== | ||
On stage.mozilla.org, add the new release to the smaller, faster, rsync module: | |||
# on stage (as cltbld) | |||
cd /pub/mozilla.org/zz/ | |||
vi rsyncd-mozilla-current.exclude | |||
and replace the previous latest release (Tb2.0.0.22) with: | |||
+ thunderbird/releases/2.0.0.23 | |||
+ thunderbird/releases/2.0.0.23/** | |||
====Final verification==== | ====Final verification==== | ||
* Verify that releasetest points to valid bouncer links: | |||
hg clone http://hg.mozilla.org/build/tools | |||
cd tools/release/updates | |||
cat moz18-thunderbird-*.cfg | grep -v major | sed 's/betatest/releasetest/' | grep -v 2.0a | grep -v 2.0b > update.cfg | |||
./verify.sh -t update.cfg 2>&1 | tee quickVerify.log | |||
* Look for any HTTP error codes besides 200 ("OK") and 302 ("Found"): | |||
grep HTTP quickVerify.log | grep -v 200 | grep -v 302 | |||
* Before pushing final updates,verify that "release" and "releasetest" channel match: | |||
# on aus2-staging | |||
cd /opt/aus2/snippets/staging/20090813-Thunderbird-2.0.0.23 | |||
find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20090813-Thunderbird-2.0.0.23-test/$a");' | |||
====Publish updates to release channel==== | ====Publish updates to release channel==== | ||
~/bin/backupsnip 20090813-Thunderbird-2.0.0.23 | |||
====Update symlink==== | ====Update symlink==== | ||
# cltbld @stage | |||
cd /home/ftp/pub/thunderbird/releases | |||
rm latest-2.0 | |||
rm latest | |||
ln -s 2.0.0.23 latest-2.0 | |||
ln -s latest-2.0 latest # futureproofed! |