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

Dustin J. Mitchell dustin at v.igoro.us
Fri Feb 25 01:59:51 UTC 2011


On Tue, Feb 22, 2011 at 3:12 PM,  <A_Lawrence at dell.com> wrote:
> 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?

Try applying this patch:

diff --git a/master/buildbot/schedulers/trysched.py
b/master/buildbot/schedulers/trysched.py
index 4259b10..26a9e18 100644
--- a/master/buildbot/schedulers/trysched.py
+++ b/master/buildbot/schedulers/trysched.py
@@ -171,7 +171,8 @@ class Try_Userpass(TryBase):
         base.BaseScheduler.__init__(self, name, builderNames, properties)
         self.port = port
         self.userpass = userpass
-        self.properties = properties
+        self.properties = Properties()
+        self.properties.update(properties, "Scheduler")

     def startService(self):
         TryBase.startService(self)

Dustin




More information about the devel mailing list