[Buildbot-devel] test failure with 0.7.8, Python 2.5 and Twisted 2.1.0 on OS X 10.4

Charles Lepple clepple at gmail.com
Tue Aug 5 12:29:16 UTC 2008


On Jul 29, 2008, at 10:57 PM, Charles Lepple wrote:

> I was just updating the Fink package for Buildbot, and I got the
> following test failure. Any ideas? Should I be concerned?
>
>  * buildbot-0.7.8
>  * python25 installed via Fink
>  * Twisted 2.1.0 installed via Fink
>  * with buildbot-0.7.7 still on the Python library path (should this
> be an issue?)

I just got a chance to re-run the test without a previous Buildbot  
version installed (just to be safe), and both 0.7.7 and 0.7.8 have  
the same test failure.

Since it doesn't seem to be a regression in Buildbot itself, I'm  
going to push 0.7.8 into Fink.

I would still be interested to know if anyone understands this test  
failure, or if they know that upgrading e.g. Twisted to a given  
version will fix this.

> $ PYTHONPATH=. trial buildbot.test
> [...]
> [ERROR]: buildbot.test.test_slaves.Slave2.testFirstComeFirstServed
>
>   File "/sw/lib/python2.5/site-packages/twisted/internet/ 
> selectreactor.py",
> line 139, in _doReadOrWrite
>     why = getattr(selectable, method)()
>   File "/sw/lib/python2.5/site-packages/twisted/internet/tcp.py", line
> 347, in doRead
>     return self.protocol.dataReceived(data)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/banana.py",
> line 184, in dataReceived
>     gotItem(item)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/banana.py",
> line 114, in gotItem
>     self.callExpressionReceived(item)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/banana.py",
> line 81, in callExpressionReceived
>     self.expressionReceived(obj)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/pb.py", line
> 563, in expressionReceived
>     method(*sexp[1:])
>   File "/sw/lib/python2.5/site-packages/twisted/spread/pb.py", line
> 874, in proto_message
>     self._recvMessage(self.localObjectForID, requestID, objectID,
> message, answerRequired, netArgs, netKw)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/pb.py", line
> 900, in _recvMessage
>     self._sendError(CopyableFailure(e), requestID)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/pb.py", line
> 957, in _sendError
>     self.sendCall("error", requestID, self.serialize(fail))
>   File "/sw/lib/python2.5/site-packages/twisted/spread/pb.py", line
> 811, in serialize
>     return jelly(object, self.security, None, self)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/jelly.py", line
> 895, in jelly
>     return _Jellier(taster, persistentStore, invoker).jelly(object)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/jelly.py", line
> 424, in jelly
>     return obj.jellyFor(self)
>   File "/sw/lib/python2.5/site-packages/twisted/spread/flavors.py",
> line 310, in jellyFor
>     sxp.extend([t, jellier.jelly(state)])
>   File "/sw/lib/python2.5/site-packages/twisted/spread/jelly.py", line
> 484, in jelly
>     sxp.append([self.jelly(key), self.jelly(val)])
>   File "/sw/lib/python2.5/site-packages/twisted/spread/jelly.py", line
> 476, in jelly
>     sxp.append(self.jelly(item))
>   File "/sw/lib/python2.5/site-packages/twisted/spread/jelly.py", line
> 512, in jelly
>     (objType, obj))
> <class 'twisted.spread.jelly.InsecureJelly'>: Type not allowed for
> object: <type 'type'> <class 'buildbot.slave.bot.FailPingError'>
>
> -- 
> - Charles Lepple

-- 
Charles Lepple
clepple at gmail







More information about the devel mailing list