[Buildbot-devel] Alternate shell on win32

Gianluca Sforna giallu at gmail.com
Wed Mar 28 09:30:46 UTC 2007


On 3/28/07, Nathaniel Smith <njs at pobox.com> wrote:
> On Tue, Mar 27, 2007 at 12:02:18PM +0200, Gianluca Sforna wrote:
> > I have a need to run the slave commands in a different shell than
> > cmd.exe; is there an easy way to customize this?
>
> Make the command you run be ["c:\cygwin\bash", "-c", "blah blah blah"]
> or whatever?

Thanks. That was actually one of my (failed) attempts for solving my problem.

Now it seems there is some major pitfall with the installation,
because I can not even run a simple ShellCommand like ["echo Helllo
buildbot world"]...

My setup is with:

Pyhton 2.4.4 from python.org
Twisted 2.4
pywin32 build210

and a builder with single shellcommand step fails without reporting
the traceback (which is perfectly visible on the slave):

C:\WINDOWS\system32\cmd.exe /c echo Hello buildbot world
 in dir C:\buildslave\longo\build (timeout 1200 secs)
 watching logfiles {}
 argv: ['C:\\WINDOWS\\system32\\cmd.exe', '/c', 'echo Hello buildbot world']
 environment: {'TMP': 'C:\\DOCUME~1\\builder\\LOCALS~1\\Temp',
'COMPUTERNAME': 'LONGO', 'USERDOMAIN': 'LONGO', 'COMMONPROGRAMFILES':
'C:\\Program Files\\Common Files', 'PROCESSOR_IDENTIFIER': 'x86 Family
6 Model 15 Stepping 6, GenuineIntel', 'PROGRAMFILES': 'C:\\Program
Files', 'PROCESSOR_REVISION': '0f06', 'QTDIR': 'C:\\Qt\\3.3.7',
'PATH': 'C:\\Python24\\scripts;C:\\Python24\\scripts;C:\\Python24\\scripts;C:\\Python24\\scripts;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program
Files\\Intel\\DMIX;C:\\Program Files\\HPQ\\IAM\\bin;C:\\Program
Files\\Common Files\\MDL
Shared\\ISIS;C:\\Qt\\3.3.7\\bin;C:\\MinGW\\bin', 'TEMP':
'C:\\DOCUME~1\\builder\\LOCALS~1\\Temp', 'PROCESSOR_ARCHITECTURE':
'x86', 'QMAKESPEC': 'win32-g++', 'ALLUSERSPROFILE': 'C:\\Documents and
Settings\\All Users', 'SESSIONNAME': 'RDP-Tcp#1', 'HOMEPATH':
'\\Documents and Settings\\builder', 'USERNAME': 'builder',
'LOGONSERVER': '\\\\LONGO', 'PROMPT': '$P$G', 'COMSPEC':
'C:\\WINDOWS\\system32\\cmd.exe', 'SYSTEMROOT': 'C:\\WINDOWS',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'CLIENTNAME': 'molzilla', 'FP_NO_HOST_CHECK': 'NO', 'WINDIR':
'C:\\WINDOWS', 'HOMEDRIVE': 'C:', 'APPDATA': 'C:\\Documents and
Settings\\builder\\Application Data', 'SYSTEMDRIVE': 'C:',
'NUMBER_OF_PROCESSORS': '2', 'PROCESSOR_LEVEL': '6', 'OS':
'Windows_NT', 'USERPROFILE': 'C:\\Documents and Settings\\builder'}

remoteFailed: [Failure instance: Traceback from remote host --
Traceback (most recent call last):
Failure: buildbot.slave.commands.AbandonChain: -1

any ideas?




More information about the devel mailing list