Seen when landing a branch to lp:maas/2.0:
FAIL: maasserver.models.tests.test_staticipaddress.TestStaticIPAddressManagerMapping.test_get_hostname_ip_mapping_returns_fqdn_and_other
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/tmp/tarmac/branch.nsyM9g/src/maastesting/runtest.py", line 135, in _run_user
result = function(*args, **kwargs)
File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 714, in _run_test_method
return self._get_test_method()()
File "/tmp/tarmac/branch.nsyM9g/src/maasserver/models/tests/test_staticipaddress.py", line 408, in test_get_hostname_ip_mapping_returns_fqdn_and_other
}, mapping)
File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 406, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/ubuntu/.buildout/eggs/testtools-2.1.0-py3.5.egg/testtools/testcase.py", line 493, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = {'eth-h5Nh8S.hostname-xAUGgm.domain-vZIpct': HostnameIPMapping('4y3h7n', 30, {'60.174.134.104'}, 0),
'hostname-xAUGgm.domain-vZIpct': HostnameIPMapping('4y3h7n', 30, {'60.174.134.107'}, 0)}
actual = defaultdict(<class 'maasserver.models.staticipaddress.HostnameIPMapping'>,
{'eth-h5Nh8S.hostname-xAUGgm.domain-vZIpct': HostnameIPMapping('4y3h7n', 30, {'60.174.134.107'}, 0),
'hostname-xAUGgm.domain-vZIpct': HostnameIPMapping('4y3h7n', 30, {'60.174.134.104'}, 0)})
in 125 iterations, 12 failures.