[Buildbot] #3048: ConnectionError when the Docker host is not available
Buildbot trac
trac at buildbot.net
Tue Nov 18 21:23:01 UTC 2014
#3048: ConnectionError when the Docker host is not available
----------------------------------+------------------------
Reporter: Ben | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: master | Resolution:
Keywords: docker, slave, latent |
----------------------------------+------------------------
Comment (by Ben):
Copying the (new) traceback here to prevent ambiguity:
{{{
2014-11-18 21:46:12+0100 [-] starting build <Build GH-1288> using slave
<LatentSlaveBuilder builder=u'GH-1288' slave=u'docker'>
2014-11-18 21:46:12+0100 [-] acquireLocks(slave <DockerLatentBuildSlave
u'docker'>, locks [])
2014-11-18 21:46:12+0100 [-] substantiating slave <LatentSlaveBuilder
builder=u'GH-1288' slave=u'docker'>
2014-11-18 21:46:12+0100 [-] Unable to connect to Docker: ('Connection
aborted.', error(2, 'No such file or directory'))
2014-11-18 21:46:12+0100 [-] Buildslave docker detached from GH-1288
2014-11-18 21:46:12+0100 [-] while preparing slavebuilder:
Traceback (most recent call last):
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1155, in gotResult
_inlineCallbacks(r, g, deferred)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/python/failure.py", line 389, in
throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File
"/Users/benoit/Python/buildbot/master/buildbot/process/builder.py", line
349, in _startBuildFor
ready = yield slavebuilder.prepare(self.builder_status, build)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/python/threadpool.py", line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args,
**kw)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File
"/Users/benoit/Python/buildbot/master/buildbot/buildslave/docker.py", line
88, in _thd_start_instance
'Unable to connect to Docker'
buildbot.interfaces.LatentBuildSlaveFailedToSubstantiate: Unable
to connect to Docker
2014-11-18 21:46:12+0100 [-] slave <Build GH-1288> can't build
<LatentSlaveBuilder builder=u'GH-1288'> after all; re-queueing the request
2014-11-18 21:46:12+0100 [-] releaseLocks(<DockerLatentBuildSlave
u'docker'>): []
2014-11-18 21:46:12+0100 [-] while substantiating
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 783, in __bootstrap
self.__bootstrap_inner()
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 810, in __bootstrap_inner
self.run()
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 763, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/python/threadpool.py", line 196, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args,
**kw)
File "/Users/benoit/Python/buildbotEnv/lib/python2.7/site-
packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File
"/Users/benoit/Python/buildbot/master/buildbot/buildslave/docker.py", line
88, in _thd_start_instance
'Unable to connect to Docker'
buildbot.interfaces.LatentBuildSlaveFailedToSubstantiate: Unable
to connect to Docker
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/3048#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list