我应该为多个 buildbot worker 使用相同的名称吗?

Should I be using the same name for multiple buildbot workers?

/#/workers 页面的 Buildbot GUI 上,显示

WorkerName          Status
fnord               1 connection

我已经在同一台机器上使用相同的密码设置了两个名为 fnord 的工作人员,但是当他们尝试连接到主服务器时,主服务器继续使用这些日志消息来破坏连接:

worker 'fnord' attaching from IPv4Address(TCP, '127.0.0.1', 48910)
Got duplication connection from 'fnord' starting arbitration procedure
Got error while trying to ping connected worker home:rejecting duplicate worker
Old connection for 'fnord' was lost, accepting new
Worker.detached(fnord)
releaseLocks(<Worker b'fnord'>): []
Worker home detached from runtests
Worker home detached from awesomesauce
Got workerinfo from 'fnord'

Worker fnord attached to runtests
Worker fnord attached to awesomesauce

考虑到 GUI 状态中的 N connection,我预计我可以附加多个工作实例,但事实并非如此。

是我对这里有根本性的误解,还是我只是简单的设置错误?

是的,工人名称必须是唯一的,并且应该指向您希望处理工作的机器。多个构建器可以指向同一个 worker,因此如果您有多个作业要在那个 worker 上执行,您应该创建多个构建器并将这些构建器指向那个 worker。

关于定义工人: http://docs.buildbot.net/latest/manual/cfg-workers.html#defining-workers