[Buildbot-commits] [buildbot/buildbot] 89ce40: Introducing adapter for PB

GitHub noreply at github.com
Sat Sep 28 14:37:53 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: 89ce40815c008e32a70309ad4c26b130c362b5e3
      https://github.com/buildbot/buildbot/commit/89ce40815c008e32a70309ad4c26b130c362b5e3
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    A master/buildbot/buildslave/manager.py
    A master/buildbot/buildslave/protocols/__init__.py
    A master/buildbot/buildslave/protocols/base.py
    A master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/interfaces.py
    M master/buildbot/master.py
    M master/buildbot/process/build.py
    M master/buildbot/process/builder.py
    M master/buildbot/process/buildstep.py
    M master/buildbot/process/slavebuilder.py
    A master/buildbot/test/fake/bslavemanager.py
    M master/buildbot/test/fake/fakemaster.py
    M master/buildbot/test/fake/remotecommand.py
    M master/buildbot/test/integration/test_slave_comm.py
    M master/buildbot/test/interfaces/test_remotecommand.py
    M master/buildbot/test/unit/test_buildslave_base.py
    M master/buildbot/test/unit/test_process_build.py
    M master/buildbot/test/unit/test_process_buildstep.py
    M master/buildbot/test/util/steps.py

  Log Message:
  -----------
  Introducing adapter for PB
based on https://github.com/djmitche/buildbot/tree/amp


  Commit: 04a8a065776a6b5813082d5154a7b35f61bc7826
      https://github.com/buildbot/buildbot/commit/04a8a065776a6b5813082d5154a7b35f61bc7826
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/unit/test_buildslave_base.py

  Log Message:
  -----------
  doKeepalive and shutdown moved to protocol level
minor fixes in test and getSlaveInfo


  Commit: ef8db60c945a27a188354c6c7a845751c8c96cbb
      https://github.com/buildbot/buildbot/commit/ef8db60c945a27a188354c6c7a845751c8c96cbb
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py

  Log Message:
  -----------
  shutdown in old way moved to Protocol


  Commit: b1cb87c2e31677944709d3ebd648da4e4fb1fe67
      https://github.com/buildbot/buildbot/commit/b1cb87c2e31677944709d3ebd648da4e4fb1fe67
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py

  Log Message:
  -----------
  Old and new ways moved under Protocol


  Commit: 7044f7d3327f40eb6febb8cd95c4fb8027bcb67b
      https://github.com/buildbot/buildbot/commit/7044f7d3327f40eb6febb8cd95c4fb8027bcb67b
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/test/unit/test_buildslave_base.py

  Log Message:
  -----------
  Few fixes in tests, added tests for shutdown command


  Commit: 520f53662e0ecd287eeb65a61a725b10589e6bc3
      https://github.com/buildbot/buildbot/commit/520f53662e0ecd287eeb65a61a725b10589e6bc3
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/unit/test_buildslave_base.py

  Log Message:
  -----------
  startKeepaliveTimer now starts keepalive timer, some minor changes in tests, removed outdated TODO


  Commit: 48426dca9e825a2f92386c8930f3a50483bb6ffc
      https://github.com/buildbot/buildbot/commit/48426dca9e825a2f92386c8930f3a50483bb6ffc
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/process/builder.py

  Log Message:
  -----------
  startBuild returned, removed initial doKeepalive call


  Commit: 47d3cacb7746278285ba592d78f7f52522415b3a
      https://github.com/buildbot/buildbot/commit/47d3cacb7746278285ba592d78f7f52522415b3a
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/integration/test_slave_comm.py

  Log Message:
  -----------
  WIP: keepalive moved to Connection


  Commit: d6be684a04dff4697095b393b2de3ea8546da31b
      https://github.com/buildbot/buildbot/commit/d6be684a04dff4697095b393b2de3ea8546da31b
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/unit/test_buildslave_base.py

  Log Message:
  -----------
  WIP: keepalive code completely moved to Connection, some test fail for now


  Commit: 2bbc3ce8d6dd96495bd78c18de26128ec9b83e13
      https://github.com/buildbot/buildbot/commit/2bbc3ce8d6dd96495bd78c18de26128ec9b83e13
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/integration/test_slave_comm.py

  Log Message:
  -----------
  WIP: fixed few failed tests


  Commit: bf2c14d08ef3a24dd5cf491ad1b6eef7e0d02a84
      https://github.com/buildbot/buildbot/commit/bf2c14d08ef3a24dd5cf491ad1b6eef7e0d02a84
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/fake/bslavemanager.py
    M master/buildbot/test/unit/test_buildslave_base.py
    A master/buildbot/test/unit/test_buildslave_protocols_pb.py

  Log Message:
  -----------
  WIP: Added test_buildslave_protocols_pb, some minor fixes


  Commit: f211a6b4d1303f11cd668b71ad40f41e0846df86
      https://github.com/buildbot/buildbot/commit/f211a6b4d1303f11cd668b71ad40f41e0846df86
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/unit/test_buildslave_protocols_pb.py

  Log Message:
  -----------
  WIP: Swap positions in assertEqual, fixed one assert check, fixed attached() return value


  Commit: 56dc7f3f4bdadb94f201a761927f3dd4d06f09c1
      https://github.com/buildbot/buildbot/commit/56dc7f3f4bdadb94f201a761927f3dd4d06f09c1
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    A master/buildbot/test/unit/test_buildslave_protocols_base.py
    M master/buildbot/test/unit/test_buildslave_protocols_pb.py

  Log Message:
  -----------
  Added tests for buildslave/protocols/base.py


  Commit: 934ce659c6eb17ec31e747c08ef0be28ffb527f6
      https://github.com/buildbot/buildbot/commit/934ce659c6eb17ec31e747c08ef0be28ffb527f6
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/interfaces.py
    M master/buildbot/process/buildstep.py
    A master/docs/developer/cls-protocols.rst
    M master/docs/developer/master-overview.rst

  Log Message:
  -----------
  interruptCommand moved to protocol level
Added developer doc
removed useless methods from IBuildSlave


  Commit: a92c34394a2b55a97daa6e35cf80a56c798e8feb
      https://github.com/buildbot/buildbot/commit/a92c34394a2b55a97daa6e35cf80a56c798e8feb
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/docs/developer/cls-protocols.rst

  Log Message:
  -----------
  WIP: changes in cls-protocols.rst


  Commit: b9b804004b0647995ab9ae1601bbf811cfc6e5e0
      https://github.com/buildbot/buildbot/commit/b9b804004b0647995ab9ae1601bbf811cfc6e5e0
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/protocols/base.py
    M master/docs/developer/cls-protocols.rst

  Log Message:
  -----------
  WIP: added few missed methods to protocols/base.py, docs


  Commit: 70a5151fc9b50bfaba20bfb0c104b25b218cc649
      https://github.com/buildbot/buildbot/commit/70a5151fc9b50bfaba20bfb0c104b25b218cc649
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/manager.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/pbmanager.py

  Log Message:
  -----------
  Initial implementation of slave arbitration


  Commit: 1258d6bd0490c15dbea68ffecd7e4325ae1d7b41
      https://github.com/buildbot/buildbot/commit/1258d6bd0490c15dbea68ffecd7e4325ae1d7b41
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/manager.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/process/build.py
    M master/buildbot/process/builder.py
    M master/buildbot/process/slavebuilder.py

  Log Message:
  -----------
  Fix bug with starting build
try/except ping codeblock
self.conn replaced to self.slave.conn because disconnecting old slave breaks reference
added few log messages


  Commit: 0948d1bfd8f5e47eda6e50307fcd07951ac5e690
      https://github.com/buildbot/buildbot/commit/0948d1bfd8f5e47eda6e50307fcd07951ac5e690
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/test/unit/test_util_misc.py
    M master/buildbot/util/misc.py
    M master/docs/developer/utils.rst

  Log Message:
  -----------
  add cancelAfter utility function


  Commit: 2365c25b95009ff80f7580eff933d5cead0254fc
      https://github.com/buildbot/buildbot/commit/2365c25b95009ff80f7580eff933d5cead0254fc
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/manager.py

  Log Message:
  -----------
  use cancelAfter


  Commit: 4c83992e1772aa7c0c66f9cf1ef9ca9172aa4ff7
      https://github.com/buildbot/buildbot/commit/4c83992e1772aa7c0c66f9cf1ef9ca9172aa4ff7
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/manager.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/integration/test_slave_comm.py
    M master/buildbot/test/unit/test_buildslave_protocols_pb.py

  Log Message:
  -----------
  AbstractBuildSlave.attached() refactored
Fixes in tests


  Commit: 8f7eaff2a2dc9799adbec64db60ea6cb86ef5323
      https://github.com/buildbot/buildbot/commit/8f7eaff2a2dc9799adbec64db60ea6cb86ef5323
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/test/unit/test_buildslave_base.py
    M master/buildbot/test/unit/test_process_build.py

  Log Message:
  -----------
  Fixes in tests


  Commit: 93c3888f4d8f215580da54a6329b928b1eba8c33
      https://github.com/buildbot/buildbot/commit/93c3888f4d8f215580da54a6329b928b1eba8c33
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/test/unit/test_buildslave_base.py

  Log Message:
  -----------
  remotePrint test removed, removed unnecessary try/except


  Commit: 9278bad19f9f5b6e578db621b076219730db861e
      https://github.com/buildbot/buildbot/commit/9278bad19f9f5b6e578db621b076219730db861e
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/process/botmaster.py
    M master/buildbot/test/integration/test_slave_comm.py
    R master/buildbot/test/unit/test_process_botmaster_DuplicateSlaveArbitrator.py

  Log Message:
  -----------
  DuplicateSlaveArbitrator removed with its tests
fixed perspective_shutdown TODO
fixed subscriptions TODO
minor fixes in tests


  Commit: 7959ce87ed46b38ac8fe1ce11db0064f005fea8f
      https://github.com/buildbot/buildbot/commit/7959ce87ed46b38ac8fe1ce11db0064f005fea8f
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/protocols/pb.py

  Log Message:
  -----------
  perspective_shutdown renamed to shutdownRequested


  Commit: f0231ccf132e1edca3545e2ef6830366678301f8
      https://github.com/buildbot/buildbot/commit/f0231ccf132e1edca3545e2ef6830366678301f8
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/test/unit/test_buildslave_protocols_pb.py

  Log Message:
  -----------
  added test for shutdownRequested


  Commit: 9834bc533bbadf76a9eeed35d257fee175b7c265
      https://github.com/buildbot/buildbot/commit/9834bc533bbadf76a9eeed35d257fee175b7c265
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/unit/test_buildslave_base.py
    M master/buildbot/test/unit/test_buildslave_protocols_pb.py

  Log Message:
  -----------
  changes in methods names
added test for pb.Connection.perspective_shutdown
added test for BuildSlave.shutdownRequested


  Commit: 50d93cf7d51820b3c6a28fc8762be61747dc35fd
      https://github.com/buildbot/buildbot/commit/50d93cf7d51820b3c6a28fc8762be61747dc35fd
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/buildslave/protocols/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/process/botmaster.py
    M master/buildbot/test/unit/test_buildslave_base.py
    M master/buildbot/test/unit/test_buildslave_protocols_pb.py
    M master/setup.py

  Log Message:
  -----------
  keepalive TODO removed because its done
tracking last-heard-from TODO done
buildbot.buildslave.protocols package added to setup.py
some minor changes after pyflakes analysis


  Commit: e9bc8ba11601ab7e930c612ed6bedcd8a2c2bfcc
      https://github.com/buildbot/buildbot/commit/e9bc8ba11601ab7e930c612ed6bedcd8a2c2bfcc
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/test/unit/test_buildslave_protocols_pb.py

  Log Message:
  -----------
  slave last access time updated in perspective_shutdown, tests


  Commit: 2c343a67401a17c67d98e10b22cec7202de3534a
      https://github.com/buildbot/buildbot/commit/2c343a67401a17c67d98e10b22cec7202de3534a
  Author: Michael Mayorov <marchael at kb.csu.ru>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/protocols/base.py
    M master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/process/build.py
    M master/buildbot/test/fake/bslavemanager.py
    M master/docs/developer/classes.rst
    A master/docs/developer/cls-bslavemanager.rst
    M master/docs/developer/cls-protocols.rst

  Log Message:
  -----------
  Fixes after review


  Commit: 85fb85358df8974abe56d7beb369194a699f21c9
      https://github.com/buildbot/buildbot/commit/85fb85358df8974abe56d7beb369194a699f21c9
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-09-28 (Sat, 28 Sep 2013)

  Changed paths:
    M master/buildbot/buildslave/base.py
    A master/buildbot/buildslave/manager.py
    A master/buildbot/buildslave/protocols/__init__.py
    A master/buildbot/buildslave/protocols/base.py
    A master/buildbot/buildslave/protocols/pb.py
    M master/buildbot/interfaces.py
    M master/buildbot/master.py
    M master/buildbot/pbmanager.py
    M master/buildbot/process/botmaster.py
    M master/buildbot/process/build.py
    M master/buildbot/process/builder.py
    M master/buildbot/process/buildstep.py
    M master/buildbot/process/slavebuilder.py
    A master/buildbot/test/fake/bslavemanager.py
    M master/buildbot/test/fake/fakemaster.py
    M master/buildbot/test/fake/remotecommand.py
    M master/buildbot/test/integration/test_slave_comm.py
    M master/buildbot/test/interfaces/test_remotecommand.py
    M master/buildbot/test/unit/test_buildslave_base.py
    A master/buildbot/test/unit/test_buildslave_protocols_base.py
    A master/buildbot/test/unit/test_buildslave_protocols_pb.py
    R master/buildbot/test/unit/test_process_botmaster_DuplicateSlaveArbitrator.py
    M master/buildbot/test/unit/test_process_build.py
    M master/buildbot/test/unit/test_process_buildstep.py
    M master/buildbot/test/unit/test_util_misc.py
    M master/buildbot/test/util/steps.py
    M master/buildbot/util/misc.py
    M master/docs/developer/classes.rst
    A master/docs/developer/cls-bslavemanager.rst
    A master/docs/developer/cls-protocols.rst
    M master/docs/developer/master-overview.rst
    M master/docs/developer/utils.rst
    M master/setup.py

  Log Message:
  -----------
  Merge branch 'introduce-adapter' of git://github.com/MichaelMayorov/buildbot


Compare: https://github.com/buildbot/buildbot/compare/b90891cbcf92...85fb85358df8


More information about the Commits mailing list