Opened 2 years ago

Last modified 5 months ago

#2416 new enhancement

Slave backward compatibility is not documented

Reported by: techtonik Owned by:
Priority: patches-accepted Milestone: 0.9.+
Version: 0.8.7p1 Keywords: docs
Cc:

Description

I have a standard Debian squeeze installation as a buildbot slave with:

Buildbot version: 0.7.12
Twisted version: 10.1.0
Python 2.6.6

and running 0.8.7p1 as a buildbot server.

The build fails with the following trace:

Traceback (most recent call last):
  File "/home/sconsbuildbot/buildbot-master/bbenv_087/lib/python2.7/site-packages/twisted/internet/defer.py", line 368, in callback
    self._startRunCallbacks(result)
  File "/home/sconsbuildbot/buildbot-master/bbenv_087/lib/python2.7/site-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
  File "/home/sconsbuildbot/buildbot-master/bbenv_087/lib/python2.7/site-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/sconsbuildbot/buildbot-master/bbenv_087/lib/python2.7/site-packages/twisted/internet/defer.py", line 1101, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/home/sconsbuildbot/buildbot-master/bbenv_087/lib/python2.7/site-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/sconsbuildbot/buildbot-master/bbenv_087/lib/python2.7/site-packages/twisted/spread/pb.py", line 470, in throwExceptionIntoGenerator
    return g.throw(RemoteError(self.type, self.value, self.traceback))
  File "/home/sconsbuildbot/buildbot-master/bbenv_087/lib/python2.7/site-packages/buildbot/steps/source/mercurial.py", line 129, in full
    updatable = yield self._sourcedirIsUpdatable()
twisted.spread.pb.RemoteError: unrecognized SlaveCommand 'stat'

I'm puzzled about python2.7 directory name and whether it is buildbot bug with Python versions or backward compatibility issue. It would be nice if backward compatibility was properly documented.

Change History (3)

comment:1 Changed 2 years ago by tom.prince

  • Milestone changed from undecided to 0.8.+
  • Priority changed from major to patches-accepted
  • Type changed from undecided to enhancement

The new master-side steps don't work with old buildslaves. I suspect the cut-off is 0.8.5.

If somebody were to research and document the requirements, that would certainly be accepted.

(Note: The traceback is from the master)

comment:2 Changed 21 months ago by dustin

  • Keywords docs added

comment:3 Changed 5 months ago by dustin

  • Milestone changed from 0.8.+ to 0.9.+

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.