buildbot_travis icon indicating copy to clipboard operation
buildbot_travis copied to clipboard

How to connect external worker?

Open baccenfutter opened this issue 7 years ago • 1 comments

After fresh installation, I go into Administration->Workers and create a new worker.

  • I select Worker (a worker running on another host)
  • basename: foo
  • password: secret
  • count: 2
  • I see two workers created but not connected (foo_1 and foo_2)
  • I go into a server shell and create and start a worker
buildbot-worker create-worker foo_1 my-buildbot-travis-url foo_1 secret
buildbot-worker start foo_1

... and get:

2018-04-10 22:04:35+0200 [HangCheckProtocol,client] While trying to connect:
        Traceback from remote host -- exceptions.RuntimeError: rejecting duplicate worker

So, how do I connect an external worker to buildbot-travis?

baccenfutter avatar Apr 10 '18 20:04 baccenfutter

If I leave the worker count at 1, then only one worker is created and that connects perfectly fine with username foo. As soon as I raise the count >1 I run into the error.

baccenfutter avatar Apr 10 '18 23:04 baccenfutter