[Buildbot-commits] [Buildbot] #2395: test_master fails randomly

Buildbot nobody at buildbot.net
Wed Nov 14 02:58:08 UTC 2012


#2395: test_master fails randomly
-------------------+---------------------
Reporter:  dustin  |       Owner:  dustin
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:  0.8.8
 Version:  master  |  Resolution:
Keywords:          |
-------------------+---------------------

Comment (by dustin):

 This seems to "fix" the problem:
 {{{
 #!patch
 diff --git a/master/buildbot/process/botmaster.py
 b/master/buildbot/process/botmaster.py
 index 40c5e54..252803e 100644
 --- a/master/buildbot/process/botmaster.py
 +++ b/master/buildbot/process/botmaster.py
 @@ -381,8 +381,9 @@ class BuildRequestDistributor(service.Service):
              existing_pending = set(self._pending_builders)

              # then sort the new, expanded set of builders
 +            d = self._sortBuilders(list(existing_pending | new_builders))
              self._pending_builders = \
 -                yield self._sortBuilders(list(existing_pending |
 new_builders))
 +                yield d

              # start the activity loop, if we aren't already working on
 that.
              if not self.active:
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2395#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list