[Buildbot-commits] [Buildbot] #2134: Exception while releasing lock for a slave

Buildbot nobody at buildbot.net
Fri Oct 28 01:13:27 UTC 2011


#2134: Exception while releasing lock for a slave
----------------------+------------------------
Reporter:  homer5439  |       Owner:
    Type:  undecided  |      Status:  closed
Priority:  minor      |   Milestone:  undecided
 Version:  0.8.5      |  Resolution:  duplicate
Keywords:             |
----------------------+------------------------
Changes (by dustin):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 {{{
 [-] releaseLocks(<BuildSlave 'box1', current builders: project-trunk
 ,nightly-trunk>): []
 [-] in maybeStartBuild for <Builder ''project-trunk'' at 64909112>
         Traceback (most recent call last):
           File "/usr/lib64/python2.6/site-
 packages/twisted/internet/defer.py", line 388, in errback
             self._startRunCallbacks(fail)
           File "/usr/lib64/python2.6/site-
 packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
             self._runCallbacks()
           File "/usr/lib64/python2.6/site-
 packages/twisted/internet/defer.py", line 542, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/usr/lib64/python2.6/site-
 packages/twisted/internet/defer.py", line 891, in gotResult
             _deferGenerator(g, deferred)
         --- <exception caught here> ---
           File "/usr/lib64/python2.6/site-
 packages/twisted/internet/defer.py", line 866, in _deferGenerator
             result = g.next()
           File "/usr/lib64/python2.6/site-
 packages/buildbot/process/builder.py", line 698, in maybeStartBuild
             wfd.getResult()
           File "/usr/lib64/python2.6/site-
 packages/twisted/internet/defer.py", line 845, in getResult
             self.result.raiseException()
           File "/usr/lib64/python2.6/site-
 packages/twisted/python/threadpool.py", line 207, in _worker
             result = context.call(ctx, function, *args, **kwargs)
           File "/usr/lib64/python2.6/site-
 packages/twisted/python/context.py", line 118, in callWithContext
             return self.currentContext().callWithContext(ctx, func, *args,
 **kw)
           File "/usr/lib64/python2.6/site-
 packages/twisted/python/context.py", line 81, in callWithContext
             return func(*args,**kw)
           File "/usr/lib64/python2.6/site-packages/buildbot/db/pool.py",
 line 128, in thd
             rv = callable(conn, *args, **kwargs)
           File "/usr/lib64/python2.6/site-
 packages/buildbot/db/buildrequests.py", line 111, in thd
             for id in brids ])
           File "/usr/lib64/python2.6/site-
 packages/sqlalchemy/engine/base.py", line 1399, in execute
             params)
           File "/usr/lib64/python2.6/site-
 packages/sqlalchemy/engine/base.py", line 1532, in _execute_clauseelement
             compiled_sql, distilled_params
           File "/usr/lib64/python2.6/site-
 packages/sqlalchemy/engine/base.py", line 1640, in _execute_context
             context)
           File "/usr/lib64/python2.6/site-
 packages/sqlalchemy/engine/base.py", line 1633, in _execute_context
             context)
           File "/usr/lib64/python2.6/site-
 packages/sqlalchemy/engine/default.py", line 325, in do_execute
             cursor.execute(statement, parameters)
         sqlalchemy.exc.OperationalError: (OperationalError) database is
 locked u'INSERT INTO buildrequest_claims (brid, objectid, claimed_at)
 VALUES (?, ?, ?)' (650, 4, 1318838031.52985)
 }}}

 See #2005.  If you're using an older version of Buildbot, you can set WAL
 mode by hand.  Otherwise, you may need a more recent version of SQLite
 that supports WAL mode.  If this is the case, you'll see a warning in the
 logfile at Buildbot startup.

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


More information about the Commits mailing list