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

Sergey A. Lipnevich sergey at optimaltec.com
Sun Jun 29 03:24:43 UTC 2008


Tarek,

I'm sure it doesn't help much but I run Buildbot on Windows since 0.7.6
and Twisted 2.4.0. I've had none of the problems you describe, and I
don't use Cygwin. The difference I see on the surface is that I started
with Python 2.5 (and PyWin32). I run the master both as a stand-alone
process (for testing) and as a service (production), and have a few
Windows "bots."

1. I install by expanding the tarball and running "python setup.py
install -O2";
2. Since Twisted 2.5.0 (we're on 8.1.0), everything "just works"; I
install from the ready-made package, not from source;
3. I use Subversion 1.4.6 for Windows, the "Apache 2.2" build, without
any issues (%ProgramFiles%\Subversion\bin is in the PATH);
4. Would this have anything to do with mixing Cygwin and native
Subversion? You can try using the "--verbose" command-line option to
have a better insight into what's going on on each side. You can also
create a builder with a simple command, e.g. cacls or findstr, to see if
this is specific to Subversion.
HTH,

Sergey.

Tarek Ziadé wrote:
> 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 <http://www.afpy.org>
> Blog FR | http://programmation-python.org
> Blog EN | http://tarekziade.wordpress.com/
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel






More information about the devel mailing list