<div dir="ltr">'slave-config' is an old marker which is only valid for eight workers.<div><a href="https://github.com/buildbot/buildbot/blob/master/master/buildbot/process/remotecommand.py#L404">https://github.com/buildbot/buildbot/blob/master/master/buildbot/process/remotecommand.py#L404</a></div><div><br></div><div>it is set here:</div><div><div>            if self.step.workerVersionIsOlderThan("shell", "3.0"):</div><div>                # Old worker default of usePTY is to use worker-configuration.</div><div>                self.args['usePTY'] = "slave-config"</div><div><br></div><div>but it shouldn't as you are using a nine worker. I think maybe workerVersionIsOlderThan may not work because of nativeString use.</div><div><br></div><div><br></div><div>Piere</div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 14, 2017 at 12:23 PM Craig Rodrigues <<a href="mailto:rodrigc@crodrigues.org">rodrigc@crodrigues.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">From the <span class="m_6619380144289578127gmail-il">buildbot</span> master branch, I experimented with setting up</div><div style="font-size:12.8px">a Python 3.6 master and a Python 2.7 worker.  I was able to start the master and worker,</div><div style="font-size:12.8px">and saw that they connected to each other.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">However, when I triggered a <span class="m_6619380144289578127gmail-il">build</span>, I got:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div style="font-size:12.8px">T</div><br><div><div class="m_6619380144289578127hljs m_6619380144289578127ruby" style="display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248);font-family:monospace"><div style="font-size:12.8px">raceback (most recent call last):</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">653</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> _runCallbacks</div><div style="font-size:12.8px">    current.result = callback(current.result, *args, **kw)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">1442</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> gotResult</div><div style="font-size:12.8px">    _inlineCallbacks(r, g, deferred)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">1384</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> _inlineCallbacks</div><div style="font-size:12.8px">    result = result.throwExceptionIntoGenerator(g)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/python/failure.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">393</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> throwExceptionIntoGenerator</div><div style="font-size:12.8px">    <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">return</span> g.throw(<span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.type, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.value, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.tb)</div><div style="font-size:12.8px">--- <exception caught here> ---</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot/master/buildbot/process/buildstep.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">574</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> startStep</div><div style="font-size:12.8px">    <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.results = <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">yield</span> <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.run()</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">1386</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> _inlineCallbacks</div><div style="font-size:12.8px">    result = g.send(result)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot/master/buildbot/process/buildstep.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">704</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> run</div><div style="font-size:12.8px">    results = <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">yield</span> <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>._start_deferred</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot/master/buildbot/steps/source/git.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">171</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> startVC</div><div style="font-size:12.8px">    gitInstalled = <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">yield</span> <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.checkBranchSupport()</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">1384</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> _inlineCallbacks</div><div style="font-size:12.8px">    result = result.throwExceptionIntoGenerator(g)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/python/failure.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">393</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> throwExceptionIntoGenerator</div><div style="font-size:12.8px">    <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">return</span> g.throw(<span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.type, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.value, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.tb)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot/master/buildbot/steps/source/git.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">583</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> checkBranchSupport</div><div style="font-size:12.8px">    stdout = <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">yield</span> <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>._dovccmd([<span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">'--version'</span>], collectStdout=True)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">1384</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> _inlineCallbacks</div><div style="font-size:12.8px">    result = result.throwExceptionIntoGenerator(g)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/python/failure.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">393</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> throwExceptionIntoGenerator</div><div style="font-size:12.8px">    <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">return</span> g.throw(<span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.type, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.value, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.tb)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot/master/buildbot/steps/source/git.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">381</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> _dovccmd</div><div style="font-size:12.8px">    <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">yield</span> <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.runCommand(cmd)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/internet/defer.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">1384</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> _inlineCallbacks</div><div style="font-size:12.8px">    result = result.throwExceptionIntoGenerator(g)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot-venv/lib64/python3.6/site-packages/twisted/python/failure.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">393</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> throwExceptionIntoGenerator</div><div style="font-size:12.8px">    <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">return</span> g.throw(<span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.type, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.value, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.tb)</div><div style="font-size:12.8px">  File <span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"/home/vagrant/buildbot/master/buildbot/process/buildstep.py"</span>, line <span class="m_6619380144289578127hljs-number" style="color:rgb(136,0,0)">900</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">in</span> runCommand</div><div style="font-size:12.8px">    res = <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">yield</span> command.run(<span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.remote, <span class="m_6619380144289578127hljs-keyword" style="font-weight:bold">self</span>.<a href="http://build.builder.name" target="_blank">build.builder.name</a>)</div><div style="font-size:12.8px">buildbot.process.remotecommand.<span class="m_6619380144289578127hljs-symbol" style="color:rgb(188,96,96)">RemoteException:</span> b<span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">'exceptions.AssertionError'</span>: b<span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">"Unexpected usePTY argument value: u'slave-config'. Expected boolean."</span></div><div style="font-size:12.8px">b<span class="m_6619380144289578127hljs-string" style="color:rgb(136,0,0)">'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'</span></div></div></div><br><div style="font-size:12.8px"></div><div><br></div><div><br></div><div>Any ideas what the problem could be?</div><div><br></div><div>--</div><div>Craig</div></div><div><br></div></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div></div></div></div>