[devel at bb.net] [users at bb.net] py2 master <==> py3 worker, problem

Pierre Tardy tardyp at gmail.com
Wed Jun 14 10:59:26 UTC 2017


Better discuss this on devel..

The registry of worker command is maintained here:
https://github.com/buildbot/buildbot/blob/master/worker/buildbot_worker/commands/registry.py#L27

And it is indexed as nativeString so the master sends its native string via
pb and py3 receives a bytes.

Pierre

On Wed, Jun 14, 2017 at 12:18 PM Craig Rodrigues <rodrigc at crodrigues.org>
wrote:

> Hi,
>
> From the buildbot master branch, I experimented with setting up
> a Python 2.7 master and a Python 3.6 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:
>
>
> Traceback (most recent call last):
>   File
> "/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 459, in callback
>     self._startRunCallbacks(result)
>   File
> "/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 567, in _startRunCallbacks
>     self._runCallbacks()
>   File
> "/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 653, in _runCallbacks
>     current.result = callback(current.result, *args, **kw)
>   File
> "/home/vagrant/buildbot-venv-2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1442, in gotResult
>     _inlineCallbacks(r, g, deferred)
> --- <exception caught here> ---
>   File
> "/home/vagrant/buildbot-venv-2.7/lib/python2.7/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
> buildbot.process.remotecommand.RemoteException: buildbot_worker.base.
> UnknownCommand: unrecognized WorkerCommand 'b'shell''
> Traceback unavailable
>
>
> Any ideas what the problem could be?
>
> --
> Craig
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/devel/attachments/20170614/e591807c/attachment.html>


More information about the devel mailing list