[Buildbot-commits] [Buildbot] #2028: startBuild failing with assertion, causes builder to never fire.

Buildbot nobody at buildbot.net
Fri Jul 1 18:16:12 UTC 2011


#2028: startBuild failing with assertion, causes builder to never fire.
---------------------+------------------------
Reporter:  bdbaddog  |       Owner:
    Type:  defect    |      Status:  new
Priority:  major     |   Milestone:  undecided
 Version:  0.8.4p1   |  Resolution:
Keywords:            |
---------------------+------------------------

Comment (by bdbaddog):

 Another stacktrace with info on s.number vs self.nextBuildNumber

 {{{
 2011-07-01 07:54:35-0700 [-] DEEGAN: s.number:768 s.nextBuildNumber:769
 ...
 2011-07-01 07:54:37-0700 [-] DEEGAN: s.number:769 s.nextBuildNumber:770
 ...
 2011-07-01 07:54:39-0700 [-] <Build verify_trunk>.startBuild
 2011-07-01 07:54:39-0700 [-] DEEGAN: s.number:770 s.nextBuildNumber:772
 2011-07-01 07:54:39-0700 [-] Unhandled error in Deferred:
 2011-07-01 07:54:39-0700 [-] Unhandled Error
     Traceback (most recent call last):
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-
 packages/twisted/internet/defer.py", line 361, in callback
         self._startRunCallbacks(result)
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-
 packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
         self._runCallbacks()
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-
 packages/twisted/internet/defer.py", line 542, in _runCallbacks
         current.result = callback(current.result, *args, **kw)
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-
 packages/twisted/internet/defer.py", line 891, in gotResult
         _deferGenerator(g, deferred)
     --- <exception caught here> ---
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-
 packages/twisted/internet/defer.py", line 866, in _deferGenerator
         result = g.next()
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-packages
 /buildbot-latest-py2.5.egg/buildbot/process/builder.py", line 514, in
 _startBuildFor
         d = build.startBuild(bs, self.expectations, slavebuilder)
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-packages
 /buildbot-latest-py2.5.egg/buildbot/process/build.py", line 268, in
 startBuild
         self.build_status.buildStarted(self)
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-packages
 /buildbot-latest-py2.5.egg/buildbot/status/build.py", line 265, in
 buildStarted
         self.builder.buildStarted(self)
       File "/export/buildbot/bb_06_23_2011/lib/python2.5/site-packages
 /buildbot-latest-py2.5.egg/buildbot/status/builder.py", line 508, in
 buildStarted
         assert s.number == self.nextBuildNumber - 1
     exceptions.AssertionError:

 2011-07-01 07:54:40-0700 [-] <Build verify_trunk>.startBuild
 2011-07-01 07:54:40-0700 [-] DEEGAN: s.number:771 s.nextBuildNumber:772
 }}}

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


More information about the Commits mailing list