[Buildbot-commits] [Buildbot] #2007: Try --wait reports 'no build'

Buildbot nobody at buildbot.net
Wed Jun 22 05:24:19 UTC 2011


#2007: Try --wait reports 'no build'
---------------------+--------------------
Reporter:  aslater   |       Owner:
    Type:  defect    |      Status:  new
Priority:  critical  |   Milestone:  0.8.5
 Version:  0.8.4p1   |  Resolution:
Keywords:  try       |
---------------------+--------------------
Changes (by dustin):

 * keywords:   => try
 * priority:  major => critical
 * milestone:  undecided => 0.8.5


Comment:

 Huh, I'm surprised that {{{--wait}}} works at all.  How have you
 configured the statusClient?  This is going to take some fixing -- the
 status client needs to be integrated with the pbmanager, and probably some
 tests added.

 Long-term, this should be done over the same PB connection through which
 the original try request is scheduled.

 As for your invesigations:
 {{{
 #!python
     def remote_subscribe(self, observer):
         """The observer's remote_newbuild method will be called (with two
         arguments: the RemoteBuild object, and our builderName) for each
 new
         Build that is created to handle this BuildRequest."""
         self.observers.append(observer)
         def send(bs):
             d = observer.callRemote("newbuild",
                                     IRemote(bs), self.b.getBuilderName())
             d.addErrback(lambda err: None)
         reactor.callLater(0, self.b.subscribe, send)
 }}}
 if you change the {{{lambda err : None}}} to {{{twlog.err}}} you might get
 some better information about what's wrong.

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


More information about the Commits mailing list