[Buildbot-devel] Python PATH problems?

Grig Gheorghiu grig at agilistas.org
Fri Aug 4 19:50:16 UTC 2006


One work around would be to invoke a python script in your custom
MozillaCheckoutClientMk build step, and do the right thing inside that
script on each platform -- i.e. the Linux boxes would call cvs, whereas the
Windows boxes would call \full\path\to\cvs.exe.

Grig

On 8/3/06, Ben Hearsum <bjhearsu at learn.senecac.on.ca> wrote:
>
> Hi,
>
> I'm in the process of setting up buildbot 0.7.3 on some linux and windows
> hosts. The buildmaster is hosted on a linux machine. There are 3 linux
> slaves and 2 windows slaves. All of the Linux slaves work 100% fine but
> I'm having issues with windows.
>
> My build script checks out code from CVS and then proceeds to build the
> tree. When a windows machine attempts to pull code from CVS the execvpe
> fails:
>
> Upon execvpe cvs ['cvs', '-d',
> ':pserver:anonymous at cvs-mirror.mozilla.org:/cvsroot', 'co',
> 'mozilla/client.mk'] in environment id 419141804:
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/twisted/internet/process.py",
> line 777, in __init__
>     os.execvpe(command, args, environment)
>   File "/tmp/python.340/usr/lib/python2.4/os.py", line 350, in execvpe
>     _execvpe(file, args, env)
>   File "/tmp/python.340/usr/lib/python2.4/os.py", line 379, in _execvpe
>     func(fullname, *argrest)
> OSError: [Errno 2] No such file or directory
>
> The error message also shows me all of the environment variables. The PATH
> is set as follows:
> 'PATH': 'C:\\Program Files\\Microsoft Visual Studio
> 8\\Common7\\IDE;C:\\Program Files\\Microsoft Visual Studio
> 8\\VC\\bin;C:\\Program Files\\Microsoft Platform SDK\\bin;C:\\Program
> Files\\Microsoft Visual Studio 8\\VC;C:\\Program Files\\Microsoft Visual
> Studio 8\\Common7\\Tools;C:\\Program Files\\Microsoft Visual Studio
>
> 8\\Common7\\Tools\\bin;C:\\proj\\vc8-moztools\\bin;C:\\cygwin\\bin;C:\\WINDOWS\\system32;'
>
>
> 'cvs' can be executed fine from any cygwin shell, from a windows cmd, and
> from the command line python interpreter! If I use a full path to cvs.exe
> it works without issue.
>
> I have posted my master.cfg and a supporting file:
> http://foxybanana.com/~bhearsum/master.cfg
> http://foxybanana.com/~bhearsum/mozbuild.py
>
> I realize that this may not be a buildbot problem but any input would be
> appreciated.
>
> Cheers.
> - Ben
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20060804/3742d78c/attachment.html>


More information about the devel mailing list