[Buildbot] #2934: buildbot throws exception on startup in logfile.py (hasContents)
Buildbot trac
trac at buildbot.net
Thu Oct 9 04:04:46 UTC 2014
#2934: buildbot throws exception on startup in logfile.py (hasContents)
----------------------+-----------------------
Reporter: vlovich | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: 0.8.9 | Keywords:
----------------------+-----------------------
I have an exception in a Git master step. This is the latest build. I
stopped buildbot & started it again & now I get an exception.
It appears to be a similar issue to http://trac.buildbot.net/ticket/2930
Removing the assertion fixes the issue.
{{{
2014-10-08 20:54:54-0700 [-] while starting BuildMaster
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
line 1155, in gotResult
_inlineCallbacks(r, g, deferred)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
line 1099, in _inlineCallbacks
result = g.send(result)
File "/Library/Python/2.7/site-packages/buildbot/config.py",
line 761, in reconfigService
yield svc.reconfigService(new_config)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
line 1237, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
line 1099, in _inlineCallbacks
result = g.send(result)
File "/Library/Python/2.7/site-
packages/buildbot/status/master.py", line 95, in reconfigService
sr.setServiceParent(self)
File "/Library/Python/2.7/site-
packages/buildbot/status/web/baseweb.py", line 520, in setServiceParent
self.setupSite()
File "/Library/Python/2.7/site-
packages/buildbot/status/web/baseweb.py", line 553, in setupSite
root.putChild("json", JsonStatusResource(status))
File "/Library/Python/2.7/site-
packages/buildbot/status/web/status_json.py", line 732, in __init__
self.hackExamples()
File "/Library/Python/2.7/site-
packages/buildbot/status/web/status_json.py", line 746, in hackExamples
if builder.getBuild(-1):
File "/Library/Python/2.7/site-
packages/buildbot/status/builder.py", line 353, in getBuild
return self.getBuildByNumber(number)
File "/Library/Python/2.7/site-
packages/buildbot/status/builder.py", line 182, in getBuildByNumber
return self.buildCache.get(number)
File "/Library/Python/2.7/site-packages/buildbot/util/lru.py",
line 63, in get
result = self.miss_fn(key, **miss_fn_kwargs)
File "/Library/Python/2.7/site-
packages/buildbot/status/builder.py", line 224, in cacheMiss
return self.loadBuildFromFile(number)
File "/Library/Python/2.7/site-
packages/buildbot/status/builder.py", line 205, in loadBuildFromFile
build.checkLogfiles()
File "/Library/Python/2.7/site-
packages/buildbot/status/build.py", line 442, in checkLogfiles
s.checkLogfiles()
File "/Library/Python/2.7/site-
packages/buildbot/status/buildstep.py", line 311, in checkLogfiles
self.logs = [l for l in self.logs if l.hasContents()]
File "/Library/Python/2.7/site-
packages/buildbot/status/logfile.py", line 263, in hasContents
assert not self._isNewStyle, "not available in new-style
steps"
exceptions.AssertionError: not available in new-style steps
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2934>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list