[Buildbot] #3612: Not able to send usage data results in buildbot not starting

Buildbot trac trac at buildbot.net
Tue Sep 20 09:33:51 UTC 2016


#3612: Not able to send usage data results in buildbot not starting
-------------------------+-----------------------
Reporter:  florian.roks  |      Owner:
    Type:  undecided     |     Status:  new
Priority:  minor         |  Milestone:  undecided
 Version:                |   Keywords:
-------------------------+-----------------------
 When sending usage data encounters an error (502), buildbot will not start
 properly. I don't think an unimportant (or even temporary) error like this
 should cause that, as it'll only lead users to disable this feature the
 first time they encounter a problem with it.

 Stacktrace:
 2016-09-20 11:18:48+0200 [-] Unhandled error in Deferred:
 2016-09-20 11:18:48+0200 [-] Unhandled Error
         Traceback (most recent call last):
           File "d:\python27\Lib\threading.py", line 801, in
 __bootstrap_inner
             self.run()
           File "d:\python27\Lib\threading.py", line 754, in run
             self.__target(*self.__args, **self.__kwargs)
           File "D:\build\buildbot-env\lib\site-
 packages\twisted\_threads\_threadworker.py", line 46, in work
             task()
           File "D:\build\buildbot-env\lib\site-
 packages\twisted\_threads\_team.py", line 190, in doWork
             task()
         --- <exception caught here> ---
           File "D:\build\buildbot-env\lib\site-
 packages\twisted\python\threadpool.py", line 246, in inContext
             result = inContext.theWork()
           File "D:\build\buildbot-env\lib\site-
 packages\twisted\python\threadpool.py", line 262, in <lambda>
             inContext.theWork = lambda: context.call(ctx, func, *args,
 **kw)
           File "D:\build\buildbot-env\lib\site-
 packages\twisted\python\context.py", line 118, in callWithContext
             return self.currentContext().callWithContext(ctx, func, *args,
 **kw)
           File "D:\build\buildbot-env\lib\site-
 packages\twisted\python\context.py", line 81, in callWithContext
             return func(*args,**kw)
           File "D:\build\buildbot-env\lib\site-
 packages\buildbot\buildbot_net_usage_data.py", line 147, in
 _sendBuildbotNetUsageData
             f = urllib2.urlopen(req)
           File "d:\python27\Lib\urllib2.py", line 154, in urlopen
             return opener.open(url, data, timeout)
           File "d:\python27\Lib\urllib2.py", line 437, in open
             response = meth(req, response)
           File "d:\python27\Lib\urllib2.py", line 550, in http_response
             'http', request, response, code, msg, hdrs)
           File "d:\python27\Lib\urllib2.py", line 475, in error
             return self._call_chain(*args)
           File "d:\python27\Lib\urllib2.py", line 409, in _call_chain
             result = func(*args)
           File "d:\python27\Lib\urllib2.py", line 558, in
 http_error_default
             raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
         urllib2.HTTPError: HTTP Error 502: Bad Gateway

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


More information about the bugs mailing list