[Buildbot] #3595: Force build doesn't work on Chrome

Buildbot trac trac at buildbot.net
Wed Aug 17 08:34:49 UTC 2016


#3595: Force build doesn't work on Chrome
-------------------+-----------------------
Reporter:  srats   |      Owner:
    Type:  defect  |     Status:  new
Priority:  major   |  Milestone:  undecided
 Version:  master  |   Keywords:
-------------------+-----------------------
 When forcing a build using the web interface, with Chrome, an error 500 is
 raised, with the following error in the twisted.log:

 {{{
 [_GenericHTTPChannelProtocol,21,192.168.1.109] While rendering resource:
         Traceback (most recent call last):
           File "/usr/local/lib/python2.7/dist-
 packages/buildbot/www/rest.py", line 431, in render
             return self.asyncRenderHelper(request, self.asyncRender,
 writeError)
           File "/usr/local/lib/python2.7/dist-
 packages/buildbot/www/resource.py", line 83, in asyncRenderHelper
             @d.addErrback
           File "/usr/local/lib/python2.7/dist-
 packages/twisted/internet/defer.py", line 328, in addErrback
             errbackKeywords=kw)
           File "/usr/local/lib/python2.7/dist-
 packages/twisted/internet/defer.py", line 306, in addCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/usr/local/lib/python2.7/dist-
 packages/twisted/internet/defer.py", line 588, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/usr/local/lib/python2.7/dist-
 packages/buildbot/www/resource.py", line 87, in failHttpError
             writeError(e.message, errcode=e.status)
           File "/usr/local/lib/python2.7/dist-
 packages/buildbot/www/rest.py", line 427, in writeError
             request.setResponseCode(errcode)
           File "/usr/local/lib/python2.7/dist-
 packages/twisted/web/http.py", line 1059, in setResponseCode
             raise TypeError("HTTP response code must be int or long")
         exceptions.TypeError: HTTP response code must be int or long
 }}}


 Works well with Firefox.

 Regression since 0.8.

 Same behaviour with 0.9.0b8 and 0.9.0b6.

 {{{
 Requirement already up-to-date: buildbot==0.9.0rc1 in
 /usr/local/lib/python2.7/dist-packages
 Requirement already up-to-date: buildbot-console-view==0.9.0rc1 in
 /usr/local/lib/python2.7/dist-packages
 Requirement already up-to-date: buildbot-waterfall-view==0.9.0rc1 in
 /usr/local/lib/python2.7/dist-packages
 Requirement already up-to-date: buildbot-www==0.9.0rc1 in
 /usr/local/lib/python2.7/dist-packages
 Requirement already up-to-date: txaio>=2.2.2 in /usr/local/lib/python2.7
 /dist-packages (from buildbot==0.9.0rc1)
 Requirement already up-to-date: future in
 /home/genymobile/.local/lib/python2.7/site-packages (from
 buildbot==0.9.0rc1)
 Requirement already up-to-date: sqlalchemy>=0.8.0 in
 /usr/local/lib/python2.7/dist-packages (from buildbot==0.9.0rc1)
 Requirement already up-to-date: python-dateutil>=1.5 in
 /usr/local/lib/python2.7/dist-packages (from buildbot==0.9.0rc1)
 Requirement already up-to-date: zope.interface>=4.1.1 in
 /usr/local/lib/python2.7/dist-packages (from buildbot==0.9.0rc1)
 Requirement already up-to-date: Twisted<16.3.0,>=14.0.1 in
 /usr/local/lib/python2.7/dist-packages (from buildbot==0.9.0rc1)
 Requirement already up-to-date: Jinja2>=2.1 in
 /home/genymobile/.local/lib/python2.7/site-packages (from
 buildbot==0.9.0rc1)
 Requirement already up-to-date: autobahn>=0.10.2 in
 /usr/local/lib/python2.7/dist-packages (from buildbot==0.9.0rc1)
 Requirement already up-to-date: sqlalchemy-migrate>=0.9 in
 /home/genymobile/.local/lib/python2.7/site-packages (from
 buildbot==0.9.0rc1)
 Requirement already up-to-date: six in
 /home/genymobile/.local/lib/python2.7/site-packages (from
 txaio>=2.2.2->buildbot==0.9.0rc1)
 Requirement already up-to-date: setuptools in /usr/local/lib/python2.7
 /dist-packages (from zope.interface>=4.1.1->buildbot==0.9.0rc1)
 Requirement already up-to-date: MarkupSafe in
 /home/genymobile/.local/lib/python2.7/site-packages (from
 Jinja2>=2.1->buildbot==0.9.0rc1)
 Requirement already up-to-date: pbr<2.0,>=1.3 in /usr/local/lib/python2.7
 /dist-packages (from sqlalchemy-migrate>=0.9->buildbot==0.9.0rc1)
 Requirement already up-to-date: sqlparse in /usr/local/lib/python2.7/dist-
 packages (from sqlalchemy-migrate>=0.9->buildbot==0.9.0rc1)
 Requirement already up-to-date: decorator in /usr/local/lib/python2.7
 /dist-packages (from sqlalchemy-migrate>=0.9->buildbot==0.9.0rc1)
 Requirement already up-to-date: Tempita>=0.4 in
 /home/genymobile/.local/lib/python2.7/site-packages (from sqlalchemy-
 migrate>=0.9->buildbot==0.9.0rc1)

 }}}

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


More information about the bugs mailing list