[Buildbot-devel] try failing after upgrade from 0.8.1 to 0.8.3p1

A_Lawrence at DELL.com A_Lawrence at DELL.com
Tue Feb 22 21:12:58 UTC 2011


It doesn't seem to matter if there's a buildstep using WithProperties in the factory used for the try build; I still see the same error if I remove that buildstep.

Any suggestions?  Is anyone successfully using try in 0.8.3p1?


thanks,
--Andrew


From: Lawrence, A
Sent: Tuesday, February 22, 2011 10:02 AM
To: buildbot-devel at lists.sourceforge.net
Subject: [Buildbot-devel] try failing after upgrade from 0.8.1 to 0.8.3p1

I just upgraded from 0.8.1 to 0.8.3p1 (I figured I'd get current after yesterday's difficulties).  In general, things seem to be working.  However, I can't get a try to work.  The master, buildslave, and the client submitting the try have all been upgraded to 0.8.3p1.  When I attempt the try I get this:

2011-02-22 09:38:40-0800 [-] Log opened.
2011-02-22 09:38:40-0800 [-] using _sigchld
2011-02-22 09:38:40-0800 [-] using 'pb' connect method
2011-02-22 09:38:46-0800 [-] job created
2011-02-22 09:38:46-0800 [-] Starting factory <twisted.spread.pb.PBClientFactory instance at 0x2b9e31e4d3b0>
2011-02-22 09:38:46-0800 [Broker,client] Unhandled Error
        Traceback from remote host -- Traceback unavailable

2011-02-22 09:38:46-0800 [Broker,client] Stopping factory <twisted.spread.pb.PBClientFactory instance at 0x2b9e31e4d3b0>
2011-02-22 09:38:46-0800 [-] Main loop terminated.

The traceback doesn't get back to the client, but it does show up in the twistd.log on the master:

2011-02-22 09:23:11-0800 [Broker,29,10.250.192.156] user try_it requesting build on builders ['try_sidewinder_swsys-26-c54-64']
2011-02-22 09:23:11-0800 [Broker,29,10.250.192.156] Peer will receive following PB traceback:
2011-02-22 09:23:11-0800 [Broker,29,10.250.192.156] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/spread/banana.py", line 153, in gotItem
            self.callExpressionReceived(item)
          File "/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/spread/banana.py", line 116, in callExpressionReceived
            self.expressionReceived(obj)
          File "/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/spread/pb.py", line 514, in expressionReceived
            method(*sexp[1:])
          File "/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/spread/pb.py", line 826, in proto_message
            self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/spread/pb.py", line 840, in _recvMessage
            netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
          File "/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/spread/pb.py", line 225, in perspectiveMessageReceived
            state = method(*args, **kw)
          File "/usr/lib/python2.4/site-packages/buildbot-0.8.3p1-py2.4.egg/buildbot/schedulers/trysched.py", line 215, in perspective_try
            combined_props.updateFromProperties(self.parent.properties)
          File "/usr/lib/python2.4/site-packages/buildbot-0.8.3p1-py2.4.egg/buildbot/process/properties.py", line 101, in updateFromProperties
            self.properties.update(other.properties)
        exceptions.AttributeError: 'dict' object has no attribute 'properties'


The factory used for this try does have buildsteps that use WithProperties.  Is this a problem in 0.8.3p1?  Is there perhaps something that try needs that upgrade-master doesn't take care of in 0.8.3p1?


thanks,
--Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110222/73bea9b9/attachment.html>


More information about the devel mailing list