yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46845
[Bug 1549364] [NEW] DHCP agent test fails on OSX
Public bug reported:
A recent change to fix a mock issue,
https://bugs.launchpad.net/neutron/+bug/1544522 broke one of the DHCP
agent tests on OSX.
neutron.tests.unit.agent.dhcp.test_agent.TestDeviceManager.test_get_device_id
-----------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "neutron/tests/unit/agent/dhcp/test_agent.py", line 1521, in test_get_device_id
uuid5.assert_called_once_with(uuid.NAMESPACE_DNS, cfg.CONF.host)
File "/Users/haley/neutron/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 948, in assert_called_once_with
return self.assert_called_with(*args, **kwargs)
File "/Users/haley/neutron/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
six.raise_from(AssertionError(_error_message(cause)), cause)
File "/Users/haley/neutron/.tox/py27/lib/python2.7/site-packages/six.py", line 718, in raise_from
raise value
AssertionError: Expected call: uuid5(UUID('6ba7b810-9dad-11d1-80b4-00c04fd430c8'), 'Spaceship-Three.local')
Actual call: uuid5(UUID('6ba7b810-9dad-11d1-80b4-00c04fd430c8'), 'Spaceship-Three')
The test needs to change to not use the FQDN.
** Affects: neutron
Importance: Undecided
Assignee: Brian Haley (brian-haley)
Status: In Progress
** Changed in: neutron
Assignee: (unassigned) => Brian Haley (brian-haley)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1549364
Title:
DHCP agent test fails on OSX
Status in neutron:
In Progress
Bug description:
A recent change to fix a mock issue,
https://bugs.launchpad.net/neutron/+bug/1544522 broke one of the DHCP
agent tests on OSX.
neutron.tests.unit.agent.dhcp.test_agent.TestDeviceManager.test_get_device_id
-----------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "neutron/tests/unit/agent/dhcp/test_agent.py", line 1521, in test_get_device_id
uuid5.assert_called_once_with(uuid.NAMESPACE_DNS, cfg.CONF.host)
File "/Users/haley/neutron/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 948, in assert_called_once_with
return self.assert_called_with(*args, **kwargs)
File "/Users/haley/neutron/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
six.raise_from(AssertionError(_error_message(cause)), cause)
File "/Users/haley/neutron/.tox/py27/lib/python2.7/site-packages/six.py", line 718, in raise_from
raise value
AssertionError: Expected call: uuid5(UUID('6ba7b810-9dad-11d1-80b4-00c04fd430c8'), 'Spaceship-Three.local')
Actual call: uuid5(UUID('6ba7b810-9dad-11d1-80b4-00c04fd430c8'), 'Spaceship-Three')
The test needs to change to not use the FQDN.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1549364/+subscriptions
Follow ups