[Buildbot] #2873: Empty sourcestampset: db schema enforces set to exist but cannot enforce a non empty set

Buildbot trac trac at buildbot.net
Thu Aug 14 01:21:53 UTC 2014


#2873: Empty sourcestampset: db schema enforces set to exist but cannot enforce a
non empty set
----------------------+-----------------------
Reporter:  atnnn      |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  0.8.9      |   Keywords:
----------------------+-----------------------
 Trying to access the web status page for one of my builders yields this
 error. The page itself seem inaccessible.

 {{{
 2014-08-13 18:05:24-0700 [-] Unhandled Error
         Traceback (most recent call last):
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 423, in errback
             self._startRunCallbacks(fail)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 490, in _startRunCallbacks
             self._runCallbacks()
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 577, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 1155, in gotResult
             _inlineCallbacks(r, g, deferred)
         --- <exception caught here> ---
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 1097, in _inlineCallbacks
             result = result.throwExceptionIntoGenerator(g)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/failure.py",
 line 389, in throwExceptionIntoGenerator
             return g.throw(self.type, self.value, self.tb)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/buildbot-0.8.9-py2.7.egg/buildbot/status/web/builder.py", line
 339, in content
             source = yield pb.getSourceStamp()
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 1097, in _inlineCallbacks
             result = result.throwExceptionIntoGenerator(g)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/failure.py",
 line 389, in throwExceptionIntoGenerator
             return g.throw(self.type, self.value, self.tb)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/buildbot-0.8.9-py2.7.egg/buildbot/status/buildrequest.py", line
 89, in getSourceStamp
             br = yield self._getBuildRequest()
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 1097, in _inlineCallbacks
             result = result.throwExceptionIntoGenerator(g)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/failure.py",
 line 389, in throwExceptionIntoGenerator
             return g.throw(self.type, self.value, self.tb)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/buildbot-0.8.9-py2.7.egg/buildbot/status/buildrequest.py", line
 62, in _getBuildRequest
             self._brdict)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py",
 line 1099, in _inlineCallbacks
             result = g.send(result)
           File "/home/buildbot/buildbot/sandbox/local/lib/python2.7/site-
 packages/buildbot-0.8.9-py2.7.egg/buildbot/process/buildrequest.py", line
 121, in _make_br
             assert len(sslist) > 0, "Empty sourcestampset: db schema
 enforces set to exist but cannot enforce a non empty set"
         exceptions.AssertionError: Empty sourcestampset: db schema
 enforces set to exist but cannot enforce a non empty set
 }}}

 I think it started failing after I clicked the "rebuild" button for one of
 the builds of that builder.

--
Ticket URL: <http://trac.buildbot.net/ticket/2873>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list