[users at bb.net] 'try' scheduler with SSH

Алексей Катеров lexus_690 at mail.ru
Tue Dec 1 16:16:24 UTC 2015


 Hello,

I am trying to configure try scheduler which uses SSH connection, here is code in master.cfg:

c['schedulers'].append(Try_Jobdir(name="try1",
builderNames=builders,
jobdir="jobdir"))

and when I call following command on the master machine:
buildbot try --connect=ssh --username=<user_name> --jobdir=<path_to_jobdir> --vc=git --builder=''linux_builder'

I get exception:
Unhandled Error
Traceback (most recent call last):
File "/localdisk/bb/python/lib/python2.7/site-packages/twisted/internet/_baseprocess.py", line 64, in maybeCallProcessEnded
proto.processEnded(Failure(reason))
File "/localdisk/bb/python/lib/python2.7/site-packages/twisted/internet/utils.py", line 163, in processEnded
self.deferred.callback((out, err, code))
File "/localdisk/bb/python/lib/python2.7/site-packages/twisted/internet/defer.py", line 393, in callback
self._startRunCallbacks(result)
File "/localdisk/bb/python/lib/python2.7/site-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/localdisk/bb/python/lib/python2.7/site-packages/twisted/internet/defer.py", line 588, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/localdisk/bb/python/lib/python2.7/site-packages/buildbot/clients/tryclient.py", line 855, in <lambda>
d.addCallback(lambda res: deliver())
File "/localdisk/bb/python/lib/python2.7/site-packages/buildbot/clients/tryclient.py", line 617, in deliverJob
reactor.spawnProcess(pp, argv[0], argv, os.environ)
File "/localdisk/bb/python/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 333, in spawnProcess
args, env = self._checkProcessArgs(args, env)
File "/localdisk/bb/python/lib/python2.7/site-packages/twisted/internet/base.py", line 912, in _checkProcessArgs
raise TypeError("Arguments contain a non-string value")
exceptions.TypeError: Arguments contain a non-string value
 So if anyone used 'try' with SSH, could you please  help me to find where the problem is?

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20151201/262ec4cd/attachment.html>


More information about the users mailing list