[Buildbot] #3539: GitLab hook issues

Buildbot trac trac at buildbot.net
Tue Apr 26 08:35:18 UTC 2016


#3539: GitLab hook issues
-------------------+-----------------------
Reporter:  cmouse  |      Owner:
    Type:  defect  |     Status:  new
Priority:  major   |  Milestone:  undecided
 Version:  master  |   Keywords:
-------------------+-----------------------
 When handling change push from GitLab, Request.finish is called on closed
 connection.

 2016-04-26 11:33:14+0300 [-] Unhandled error in Deferred:
 2016-04-26 11:33:14+0300 [-] Unhandled Error
         Traceback (most recent call last):
           File "/opt/buildbot/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 1184, in gotResult
             _inlineCallbacks(r, g, deferred)
           File "/opt/buildbot/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 1131, in _inlineCallbacks
             deferred.callback(getattr(e, "value", None))
           File "/opt/buildbot/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 393, in callback
             self._startRunCallbacks(result)
           File "/opt/buildbot/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/opt/buildbot/local/lib/python2.7/site-
 packages/twisted/internet/defer.py", line 588, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/opt/buildbot/local/lib/python2.7/site-
 packages/buildbot/www/change_hook.py", line 93, in ok
             request.finish()
           File "/opt/buildbot/local/lib/python2.7/site-
 packages/twisted/web/server.py", line 224, in finish
             return http.Request.finish(self)
           File "/opt/buildbot/local/lib/python2.7/site-
 packages/twisted/web/http.py", line 935, in finish
             "Request.finish called on a request after its connection was
 lost; "
         exceptions.RuntimeError: Request.finish called on a request after
 its connection was lost; use Request.notifyFinish to keep track of this.

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


More information about the bugs mailing list