The failure is below. I saw this earlier today when trying to land a branch. I'll look into why this is happening tomorrow morning (for me). In the meantime give this another go at landing; the failure is not related to this branch.
FAIL: maasserver.rpc.tests.test_regionservice.TestRegionService.test_start_up_logs_failure_if_all_endpoint_options_fail
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/tmp/tarmac/branch.TZVTGQ/src/maastesting/runtest.py", line 59, in _run_user
result = function(*args, **kwargs)
File "/home/ubuntu/.buildout/eggs/testtools-1.8.1-py3.5.egg/testtools/testcase.py", line 654, in _run_test_method
return self._get_test_method()()
File "/usr/lib/python3/dist-packages/crochet/_eventloop.py", line 461, in wrapper
return eventual_result.wait(timeout)
File "/usr/lib/python3/dist-packages/crochet/_eventloop.py", line 231, in wait
result.raiseException()
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 368, in raiseException
raise self.value.with_traceback(self.tb)
testtools.matchers._impl.MismatchError: Expected: RegionServer endpoint failed to listen. Traceback (most recent call last):
... maastesting.factory.TestException#35:
Got:
Unhandled error in Deferred:
---
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.defer.CancelledError:
<BLANKLINE>
---
Unhandled error in Deferred:
---
Unhandled Error
Traceback (most recent call last):
File "/tmp/tarmac/branch.TZVTGQ/src/maasserver/rpc/regionservice.py", line 753, in startService
for endpoint_options in self.endpoints))
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 824, in __init__ self._deferredList = list(deferredList)
File "/tmp/tarmac/branch.TZVTGQ/src/maasserver/rpc/regionservice.py", line 753, in <genexpr>
for endpoint_options in self.endpoints))
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1274, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/tmp/tarmac/branch.TZVTGQ/src/maasserver/rpc/regionservice.py", line 740, in _bindFirst
port = yield endpoint.listen(factory)
builtins.ValueError: This is not the messiah.
<BLANKLINE>
---
RegionServer endpoint failed to listen.
Traceback (most recent call last):
File "/tmp/tarmac/branch.TZVTGQ/src/maasserver/rpc/regionservice.py", line 753, in startService
for endpoint_options in self.endpoints))
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 824, in __init__ self._deferredList = list(deferredList)
File "/tmp/tarmac/branch.TZVTGQ/src/maasserver/rpc/regionservice.py", line 753, in <genexpr>
for endpoint_options in self.endpoints))
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1274, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/tmp/tarmac/branch.TZVTGQ/src/maasserver/rpc/regionservice.py", line 740, in _bindFirst
port = yield endpoint.listen(factory)
maastesting.factory.TestException#35:
The failure is below. I saw this earlier today when trying to land a branch. I'll look into why this is happening tomorrow morning (for me). In the meantime give this another go at landing; the failure is not related to this branch.
FAIL: maasserver. rpc.tests. test_regionserv ice.TestRegionS ervice. test_start_ up_logs_ failure_ if_all_ endpoint_ options_ fail ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: Traceback (most recent call last): branch. TZVTGQ/ src/maastesting /runtest. py", line 59, in _run_user ubuntu/ .buildout/ eggs/testtools- 1.8.1-py3. 5.egg/testtools /testcase. py", line 654, in _run_test_method test_method( )() python3/ dist-packages/ crochet/ _eventloop. py", line 461, in wrapper result. wait(timeout) python3/ dist-packages/ crochet/ _eventloop. py", line 231, in wait raiseException( ) python3/ dist-packages/ twisted/ python/ failure. py", line 368, in raiseException with_traceback( self.tb) matchers. _impl.MismatchE rror: Expected:
RegionServer endpoint failed to listen.
Traceback (most recent call last):
maastesting. factory. TestException# 35:
-------
testtools.
File "/tmp/tarmac/
result = function(*args, **kwargs)
File "/home/
return self._get_
File "/usr/lib/
return eventual_
File "/usr/lib/
result.
File "/usr/lib/
raise self.value.
testtools.
...
Got: internet. defer.Cancelled Error: branch. TZVTGQ/ src/maasserver/ rpc/regionservi ce.py", line 753, in startService python3/ dist-packages/ twisted/ internet/ defer.py" , line 824, in __init__
self._ deferredList = list(deferredList) branch. TZVTGQ/ src/maasserver/ rpc/regionservi ce.py", line 753, in <genexpr> python3/ dist-packages/ twisted/ internet/ defer.py" , line 1274, in unwindGenerator s(None, gen, Deferred()) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1126, in _inlineCallbacks throwExceptionI ntoGenerator( g) python3/ dist-packages/ twisted/ python/ failure. py", line 389, in throwExceptionI ntoGenerator branch. TZVTGQ/ src/maasserver/ rpc/regionservi ce.py", line 740, in _bindFirst listen( factory) ValueError: This is not the messiah. branch. TZVTGQ/ src/maasserver/ rpc/regionservi ce.py", line 753, in startService python3/ dist-packages/ twisted/ internet/ defer.py" , line 824, in __init__
self._ deferredList = list(deferredList) branch. TZVTGQ/ src/maasserver/ rpc/regionservi ce.py", line 753, in <genexpr> python3/ dist-packages/ twisted/ internet/ defer.py" , line 1274, in unwindGenerator s(None, gen, Deferred()) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1126, in _inlineCallbacks throwExceptionI ntoGenerator( g) python3/ dist-packages/ twisted/ python/ failure. py", line 389, in throwExceptionI ntoGenerator branch. TZVTGQ/ src/maasserver/ rpc/regionservi ce.py", line 740, in _bindFirst listen( factory) .factory. TestException# 35:
Unhandled error in Deferred:
---
Unhandled Error
Traceback (most recent call last):
Failure: twisted.
<BLANKLINE>
---
Unhandled error in Deferred:
---
Unhandled Error
Traceback (most recent call last):
File "/tmp/tarmac/
for endpoint_options in self.endpoints))
File "/usr/lib/
File "/tmp/tarmac/
for endpoint_options in self.endpoints))
File "/usr/lib/
return _inlineCallback
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/tmp/tarmac/
port = yield endpoint.
builtins.
<BLANKLINE>
---
RegionServer endpoint failed to listen.
Traceback (most recent call last):
File "/tmp/tarmac/
for endpoint_options in self.endpoints))
File "/usr/lib/
File "/tmp/tarmac/
for endpoint_options in self.endpoints))
File "/usr/lib/
return _inlineCallback
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/tmp/tarmac/
port = yield endpoint.
maastesting