[Buildbot-devel] Running Buildbot on Windows : is it possible without CygWin ?

Tarek Ziadé ziade.tarek at gmail.com
Sun Jun 22 08:07:46 UTC 2008


    Hi

    I am trying to run a buildbot on windows (master+slave) but without
success.
    my goal is to make collective buildbot work under win32 (zc.buildout
integration of buildbot, see http://pypi.python.org/pypi/collective.buildbot
)

    versions:
     - buildbot 0.7.7
     - twisted 8.1.0
     - python 2.4

    1/ buildbot would not easy_install under windows. To resolve this I have
created an egg out of buildbot. (using setuptools bdist_egg)
      so it works under windows

     - OK

    2/ twisted issue : twisted complained about a reactor already installed
and build master start up...
        so I patched it in a way the assertion will only raise if a
*different* reactor is already loaded.

       I don't know if it is ok, but it worked.
    see my ugly patch here at the end of the file:
https://svn.plone.org/svn/collective/collective.buildbot/trunk/collective/buildbot/__init__.py

    - OK

    3/ when buildmaster starts, if I have a svn poller, it fails on
createProcess because it tries to launch 'svn' from the buildmaster folder.
       it seems like the environment is not taken and it doesn't see svn.exe
wich location *is* in the PATH variable (I have svn client installed)
       so I just copied svn.exe and its dlls into the build master folder

     - OK

    4/ when i force a build the slave does a svn checkout (yepee!) but at
the end of the process, it doesn't ping the master
        and it looks like it builds forever in the wterfall.
      if I try to stop the buil i get a terminate process error;

    - NOT OK :(

    Anyone with some experience on these issues ?

    ++
    Tarek

    --
    Tarek Ziadé | Association AfPy | www.afpy.org
    Blog FR | http://programmation-python.org
    Blog EN | http://tarekziade.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20080622/ec7ed4a0/attachment.html>


More information about the devel mailing list