[users at bb.net] py3 master <==> py2 worker, problem
Craig Rodrigues
rodrigc at crodrigues.org
Wed Jun 14 10:22:59 UTC 2017
Hi,
>From the buildbot master branch, I experimented with setting up
a Python 3.6 master and a Python 2.7 worker. I was able to start the
master and worker,
and saw that they connected to each other.
However, when I triggered a build, I got:
T
raceback (most recent call last):
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py",
line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py",
line 1442, in gotResult
_inlineCallbacks(r, g, deferred)
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py",
line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/python/failure.py",
line 393, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File "/home/vagrant/buildbot/master/buildbot/process/buildstep.py", line
574, in startStep
self.results = yield self.run()
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py",
line 1386, in _inlineCallbacks
result = g.send(result)
File "/home/vagrant/buildbot/master/buildbot/process/buildstep.py", line
704, in run
results = yield self._start_deferred
File "/home/vagrant/buildbot/master/buildbot/steps/source/git.py", line
171, in startVC
gitInstalled = yield self.checkBranchSupport()
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py",
line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/python/failure.py",
line 393, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/vagrant/buildbot/master/buildbot/steps/source/git.py", line
583, in checkBranchSupport
stdout = yield self._dovccmd(['--version'], collectStdout=True)
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py",
line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/python/failure.py",
line 393, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/vagrant/buildbot/master/buildbot/steps/source/git.py", line
381, in _dovccmd
yield self.runCommand(cmd)
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py",
line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File
"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/python/failure.py",
line 393, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/vagrant/buildbot/master/buildbot/process/buildstep.py", line
900, in runCommand
res = yield command.run(self, self.remote, self.build.builder.name)
buildbot.process.remotecommand.RemoteException: b'exceptions.AssertionError':
b"Unexpected usePTY argument value: u'slave-config'. Expected boolean."
b'Traceback (most recent call last):\n File
"/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/spread/pb.py",
line 1054, in _recvMessage\n netResult =
object.remoteMessageReceived(self, message, netArgs, netKw)\n File
"/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/spread/flavors.py",
line 125, in remoteMessageReceived\n state = method(*args, **kw)\n File
"/home/vagrant/buildbot/worker/buildbot_worker/base.py", line 150, in
remote_startCommand\n d = self.command.doStart()\n File
"/home/vagrant/buildbot/worker/buildbot_worker/commands/base.py", line 163,
in doStart\n d = defer.maybeDeferred(self.start)\n--- <exception caught
here> ---\n File
"/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
line 150, in maybeDeferred\n result = f(*args, **kw)\n File
"/home/vagrant/buildbot/worker/buildbot_worker/commands/shell.py", line 47,
in start\n logEnviron=args.get(\'logEnviron\', True),\n File
"/home/vagrant/buildbot/worker/buildbot_worker/runprocess.py", line 388, in
__init__\n usePTY)\nexceptions.AssertionError: Unexpected usePTY
argument value: u\'slave-config\'. Expected boolean.\n'
Any ideas what the problem could be?
--
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170614/a6da676e/attachment.html>
More information about the users
mailing list