Closed Bug 447629 Opened 16 years ago Closed 16 years ago

Tracking bug for Thunderbird Tinderboxen migration to buildbot

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gozer, Assigned: gozer)

Details

As part of the migration to Mercurial, we have also decided to take the opportunity to switch over the Thunderbird tinderboxen producing the nightly builds over to buildbot.

Once completed, we'll be migrating them to MoMo's hardware.

I'll be tracking in this bug what is getting to:
 - tbnewref-win32-tbox
 - tb-linux-tbox
 - bm-xserve07
tb-linux-tbox: installing buildbot

$> cd /tools
$> cvs -d tbirdbld@cvs.mozilla.org:/cvsroot -q -z 3 co -d buildbot-077 mozilla/tools/buildbot
$> cd /tools/buildbot-077
$> python setup.py install --prefix=/tools/buildbot-077
$> cd /tools
$> ln -s buildbot-077 buildbot

add buildbot to PATH and PYTHONPATH:

--- .bash_profile       2008-07-22 15:03:20.000000000 -0700
+++ .bash_profile.orig  2008-07-23 07:52:12.000000000 -0700
@@ -14,6 +14,6 @@
 export JAVA_HOME=/tools/jdk
 export TBOX_CLIENT_CVS_DIR="/builds/tinderbox/mozilla/tools"
 export PYTHONHOME="/tools/python"
-export PATH="/opt/local/bin:/tools/buildbot/bin:/tools/python/bin:/tools/twisted/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/cltbld/bin"
-export PYTHONPATH="/tools/buildbotcustom:/tools/buildbot/lib/python2.5/site-packages:/tools/twisted/lib/python2.5/site-packages:/tools/twisted-core/lib/python2.5/site-packages:/tools/zope-interface/lib/python2.5/site-packages/"
+export PATH="/opt/local/bin:/tools/python/bin:/tools/twisted/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/cltbld/bin"
+export PYTHONPATH="/tools/twisted/lib/python2.5/site-packages:/tools/twisted-core/lib/python2.5/site-packages:/tools/zope-interface/lib/python2.5/site-packages/"

$> mkdir /builds/buildbot
$> cd /builds/buildbot
$> buildbot create-slave . [...]
$> uname -a > info/host
$> echo "Philippe M. Chiasson <gozer@mozillamessaging.com>" > info/admin
$> cp Makefile.sample Makefile
$> make start
tb-linux-tbox: installing mercurial

$> wget http://www.selenic.com/mercurial/release/mercurial-1.0.1.tar.gz
$> tar zxvf mercurial-1.0.1.tar.gz
$> cd mercurial-1.0.1
$> PYTHONHOME="/tools/python" PATH="/tools/python/bin:$PATH" python setup.py install
bm-xserve07: installing mercurial

$>  curl -omercurial-1.0.1.tar.gz http://www.selenic.com/mercurial/release/mercurial-1.0.1.tar.gz
$> tar zxvf mercurial-1.0.1.tar.gz
$> cd mercurial-1.0.1
$> PYTHONHOME="/tools/python" PATH="/tools/python/bin:$PATH" python setup.py
install
bm-xserve07: setup buildbot (already installed)

$> mkdir /builds/buildbot
$> cd /builds/buildbot
$> buildbot create-slave . [...]
$> uname -a > info/host
$> echo "Philippe M. Chiasson <gozer@mozillamessaging.com>" > info/admin
$> cp Makefile.sample Makefile
$> make start
Assignee: gozer → nobody
Component: Server Operations: Tinderbox Maintenance → Release Engineering
OS: Mac OS X → All
QA Contact: mrz → release
Hardware: PC → All
Assignee: nobody → gozer
tbnewref-win32-tbox: (following http://wiki.mozilla.org/ReferencePlatforms/Win32#Version_8 to the end)

 - Installed Mercurial
 - Installed Buildbot
 - renamed d:\buildbot to d:\buildbot-old-python24
 - Appended d:\mozilla-build\python25 to system path
 - merged python25.reg in the registry
 - installed pywin
 - installed twisted
 - create d:\mozilla-build\python25\Scripts\twistd from twistd.py

Component: Release Engineering → Server Operations: Tinderbox Maintenance
OS: All → Mac OS X
Hardware: All → PC
tbnewref-win32-tbox: buildbot

$> mkdir /cygdrive/e/builds/buildbot
$> cd /cygdrive/e/builds/buildbot
$> buildbot create-slave . [...]
$> cp Makefile.sample Makefile
$> nmake start
Component: Server Operations: Tinderbox Maintenance → Release Engineering
OS: Mac OS X → All
Hardware: PC → All
Stopped old CVS Tinderbox on:
 - tbnewref-win32-tbox
 - tb-linux-tbox

Left bm-xserve07 alone for now, it's also running XULrunner builds, need to sort that out.
I commmented out the Thunderbird build in /builds/tinderbox/multi-config.pl, and set the XULRUnner build to go at most every hour (--interval). FYI, a XULRunner hourly seems to take about 10 minutes, a nightly about 30. Also gave the multi-tinderbox process a HUP signal to pick the config change.

FYI, we modify buildbot.tac to have "umask = 002" to avoid some problems publishing nightly update snippets etc.
bm-xserve07: upgrading buildbot

$> cd /tools
$> cvs -d tbirdbld@cvs.mozilla.org:/cvsroot -q -z 3 co -d buildbot-077
mozilla/tools/buildbot
$> cd /tools/buildbot-077
$> python setup.py install --prefix=/tools/buildbot-077
$> cd /tools
$> rm -f buildbot
$> ln -s buildbot-077 buildbot
Closing, as we are all green and bits are being published.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.