Code review comment for lp:~newell-jensen/maas/fix-1567177

Revision history for this message
Gavin Panella (allenap) wrote :

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:

« Back to merge proposal