[Buildbot-commits] [Buildbot] #2301: buildbot waterfall page shows error after reconfig
Buildbot
nobody at buildbot.net
Fri May 18 04:22:59 UTC 2012
#2301: buildbot waterfall page shows error after reconfig
---------------------+------------------------
Reporter: pwp | Owner:
Type: defect | Status: new
Priority: critical | Milestone: undecided
Version: 0.8.6p1 | Resolution:
Keywords: reconfig |
---------------------+------------------------
Description changed by tom.prince:
Old description:
> buildbot waterfall page shows the following errors after reconfig
>
> ---------
> web.Server Traceback (most recent call last):
> <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
> 'getStatus'
>
> /usr/lib/python2.6/dist-packages/twisted/web/server.py, line 125 in
> process
> 123 try:
> 124 resrc = self.site.getResourceFor(self)
> 125 self.render(resrc)
> 126 except:
> Self
> site
> buildbot.status.web.baseweb.RotateLogSite instance @ 0xa0165a8
> <buildbot.status.web.baseweb.RotateLogSite instance at 0xa0165a8>
> Locals
> resrc <buildbot.status.web.waterfall.WaterfallStatusResource object at
> 0xb01bf50>
> self
> twisted.web.server.Request instance @ 0x8e084d0
> <GET /waterfall?reload=900 HTTP/1.1>
> /usr/lib/python2.6/dist-packages/twisted/web/server.py, line 132 in
> render
> 130 def render(self, resrc):
> 131 try:
> 132 body = resrc.render(self)
> 133 except UnsupportedMethod, e:
> Locals
> resrc <buildbot.status.web.waterfall.WaterfallStatusResource object at
> 0xb01bf50>
> self
> twisted.web.server.Request instance @ 0x8e084d0
> <GET /waterfall?reload=900 HTTP/1.1>
> Globals
> UnsupportedMethod <class 'twisted.web.error.UnsupportedMethod'>
> /usr/local/lib/python2.6/dist-
> packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/base.py, line 324
> in render
> 322 return ''
> 323
> 324 ctx = self.getContext(request)
> 325
> Locals
> self <buildbot.status.web.waterfall.WaterfallStatusResource object at
> 0xb01bf50>
> request
> twisted.web.server.Request instance @ 0x8e084d0
> <GET /waterfall?reload=900 HTTP/1.1>
> /usr/local/lib/python2.6/dist-
> packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/base.py, line 196
> in getContext
> 194class ContextMixin(AccessorMixin):
> 195 def getContext(self, request):
> 196 status = self.getStatus(request)
> 197 rootpath = path_to_root(request)
> Locals
> self <buildbot.status.web.waterfall.WaterfallStatusResource object at
> 0xb01bf50>
> request
> twisted.web.server.Request instance @ 0x8e084d0
> <GET /waterfall?reload=900 HTTP/1.1>
> Globals
> ContextMixin <class 'buildbot.status.web.base.ContextMixin'>
> AccessorMixin <class 'buildbot.status.web.base.AccessorMixin'>
> path_to_root function path_to_root in file /usr/local/lib/python2.6
> /dist-packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/base.py at
> line 111
> /usr/local/lib/python2.6/dist-
> packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/base.py, line 182
> in getStatus
> 180class AccessorMixin(object):
> 181 def getStatus(self, request):
> 182 return request.site.buildbot_service.getStatus()
> 183
> Locals
> self <buildbot.status.web.waterfall.WaterfallStatusResource object at
> 0xb01bf50>
> request
> twisted.web.server.Request instance @ 0x8e084d0
> <GET /waterfall?reload=900 HTTP/1.1>
> Globals
> AccessorMixin <class 'buildbot.status.web.base.AccessorMixin'>
> /usr/local/lib/python2.6/dist-
> packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/baseweb.py, line
> 498 in getStatus
> 496
> 497 def getStatus(self):
> 498 return self.master.getStatus()
> 499
> Self
> master None
> Locals
> self
> buildbot.status.web.baseweb.WebStatus instance @ 0x52ea830
> <WebStatus on port tcp:8010 at 0x52ea830>
> <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
> 'getStatus'
>
> ---------
>
> Reproduce steps:
> ---
> open waterfall page and leave it open
> buildbot reconfig
> refresh waterfall page
> ---
> 2 out of 3 times you will see these errors.
> The only way is to close browser and reopen the page.
> 0.8.4 does not have this issue after using for long time.
New description:
buildbot waterfall page shows the following errors after reconfig
{{{
---------
web.Server Traceback (most recent call last):
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
'getStatus'
/usr/lib/python2.6/dist-packages/twisted/web/server.py, line 125 in
process
123 try:
124 resrc = self.site.getResourceFor(self)
125 self.render(resrc)
126 except:
Self
site
buildbot.status.web.baseweb.RotateLogSite instance @ 0xa0165a8
<buildbot.status.web.baseweb.RotateLogSite instance at 0xa0165a8>
Locals
resrc <buildbot.status.web.waterfall.WaterfallStatusResource object at
0xb01bf50>
self
twisted.web.server.Request instance @ 0x8e084d0
<GET /waterfall?reload=900 HTTP/1.1>
/usr/lib/python2.6/dist-packages/twisted/web/server.py, line 132 in render
130 def render(self, resrc):
131 try:
132 body = resrc.render(self)
133 except UnsupportedMethod, e:
Locals
resrc <buildbot.status.web.waterfall.WaterfallStatusResource object at
0xb01bf50>
self
twisted.web.server.Request instance @ 0x8e084d0
<GET /waterfall?reload=900 HTTP/1.1>
Globals
UnsupportedMethod <class 'twisted.web.error.UnsupportedMethod'>
/usr/local/lib/python2.6/dist-
packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/base.py, line 324
in render
322 return ''
323
324 ctx = self.getContext(request)
325
Locals
self <buildbot.status.web.waterfall.WaterfallStatusResource object at
0xb01bf50>
request
twisted.web.server.Request instance @ 0x8e084d0
<GET /waterfall?reload=900 HTTP/1.1>
/usr/local/lib/python2.6/dist-
packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/base.py, line 196
in getContext
194class ContextMixin(AccessorMixin):
195 def getContext(self, request):
196 status = self.getStatus(request)
197 rootpath = path_to_root(request)
Locals
self <buildbot.status.web.waterfall.WaterfallStatusResource object at
0xb01bf50>
request
twisted.web.server.Request instance @ 0x8e084d0
<GET /waterfall?reload=900 HTTP/1.1>
Globals
ContextMixin <class 'buildbot.status.web.base.ContextMixin'>
AccessorMixin <class 'buildbot.status.web.base.AccessorMixin'>
path_to_root function path_to_root in file /usr/local/lib/python2.6
/dist-packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/base.py at
line 111
/usr/local/lib/python2.6/dist-
packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/base.py, line 182
in getStatus
180class AccessorMixin(object):
181 def getStatus(self, request):
182 return request.site.buildbot_service.getStatus()
183
Locals
self <buildbot.status.web.waterfall.WaterfallStatusResource object at
0xb01bf50>
request
twisted.web.server.Request instance @ 0x8e084d0
<GET /waterfall?reload=900 HTTP/1.1>
Globals
AccessorMixin <class 'buildbot.status.web.base.AccessorMixin'>
/usr/local/lib/python2.6/dist-
packages/buildbot-0.8.6p1-py2.6.egg/buildbot/status/web/baseweb.py, line
498 in getStatus
496
497 def getStatus(self):
498 return self.master.getStatus()
499
Self
master None
Locals
self
buildbot.status.web.baseweb.WebStatus instance @ 0x52ea830
<WebStatus on port tcp:8010 at 0x52ea830>
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
'getStatus'
}}}
---------
Reproduce steps:
1. open waterfall page and leave it open
2. buildbot reconfig
3. refresh waterfall page
2 out of 3 times you will see these errors.
The only way is to close browser and reopen the page.
0.8.4 does not have this issue after using for long time.
--
--
Ticket URL: <http://trac.buildbot.net/ticket/2301#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list