[Buildbot] #2978: Loading the waterfall while a build is in progress return 500
Buildbot trac
trac at buildbot.net
Mon Oct 27 15:43:47 UTC 2014
#2978: Loading the waterfall while a build is in progress return 500
-------------------+-------------------
Reporter: Ben | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.9.0
Version: master | Keywords: web
-------------------+-------------------
{{{
2014-10-27 16:39:17+0100 [-] while handling API request
Traceback (most recent call last):
File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
/site-packages/twisted/internet/defer.py", line 1155, in gotResult
_inlineCallbacks(r, g, deferred)
File "/home/benoit/buildbot/openvas/venv/local/lib/python2.7
/site-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File
"/home/benoit/buildbot/buildbot/master/buildbot/www/rest.py", line 361, in
renderRest
request.write(data)
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
--- <exception caught here> ---
File
"/home/benoit/buildbot/buildbot/master/buildbot/www/rest.py", line 111, in
handleErrors
yield
File
"/home/benoit/buildbot/buildbot/master/buildbot/www/rest.py", line 305, in
renderRest
data = rspec.apply(data)
File
"/home/benoit/buildbot/buildbot/master/buildbot/data/resultspec.py", line
161, in apply
data.sort(cmp=cmpFunc)
File
"/home/benoit/buildbot/buildbot/master/buildbot/data/resultspec.py", line
157, in cmpFunc
c = f(a, b)
File
"/home/benoit/buildbot/buildbot/master/buildbot/data/resultspec.py", line
150, in <lambda>
order = [(lambda a, b, k=k[1:]: cmp(b[k], a[k]))
exceptions.TypeError: can't compare datetime.datetime to NoneType
2014-10-27 16:39:17+0100 [-] REST error: TypeError("can't compare
datetime.datetime to NoneType",)
2014-10-27 16:39:17+0100 [-] "192.168.201.254" - - [27/Oct/2014:15:39:17
+0000] "GET /api/v2/builds?limit=40&order=-complete_at HTTP/1.0" 500 72
"http://scaphoid.gb.intevation.de:8020/" "Mozilla/5.0 (X11; Linux i686)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2978>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list