← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1771412] [NEW] netlink_lib delete method doesn't work with python3

 

Public bug reported:

FAIL: neutron.tests.functional.agent.linux.test_netlink_lib.NetlinkLibTestCase.test_delete_tcp_entry
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/stack/neutron/neutron/tests/base.py", line 140, in func
    return f(self, *args, **kwargs)
  File "/opt/stack/neutron/neutron/tests/functional/agent/linux/test_netlink_lib.py", line 106, in test_delete_tcp_entry
    self._delete_entry(tcp_entry, remain_entries, _zone)
  File "/opt/stack/neutron/neutron/tests/functional/agent/linux/test_netlink_lib.py", line 58, in _delete_entry
    self.assertEqual(remain_entries, entries_list)
  File "/opt/stack/neutron/.tox/dsvm-functional-python35/lib/python3.5/site-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/opt/stack/neutron/.tox/dsvm-functional-python35/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = ((4, 'icmp', 8, 0, '1.1.1.1', '2.2.2.2', 3333, 51),
 (4, 'udp', 4, 5, '1.1.1.1', '2.2.2.2', 51))
actual    = ((4, 'icmp', 8, 0, '1.1.1.1', '2.2.2.2', 3333, 51),
 (4, 'tcp', 1, 2, '1.1.1.1', '2.2.2.2', 51),
 (4, 'udp', 4, 5, '1.1.1.1', '2.2.2.2', 51))


2018-05-15 16:45:02.701 3976 WARNING neutron.privileged.agent.linux.netlink_lib [-] Netlink query failed

** Affects: neutron
     Importance: Undecided
     Assignee: Jakub Libosvar (libosvar)
         Status: New


** Tags: py34

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1771412

Title:
  netlink_lib delete method doesn't work with python3

Status in neutron:
  New

Bug description:
  FAIL: neutron.tests.functional.agent.linux.test_netlink_lib.NetlinkLibTestCase.test_delete_tcp_entry
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/opt/stack/neutron/neutron/tests/base.py", line 140, in func
      return f(self, *args, **kwargs)
    File "/opt/stack/neutron/neutron/tests/functional/agent/linux/test_netlink_lib.py", line 106, in test_delete_tcp_entry
      self._delete_entry(tcp_entry, remain_entries, _zone)
    File "/opt/stack/neutron/neutron/tests/functional/agent/linux/test_netlink_lib.py", line 58, in _delete_entry
      self.assertEqual(remain_entries, entries_list)
    File "/opt/stack/neutron/.tox/dsvm-functional-python35/lib/python3.5/site-packages/testtools/testcase.py", line 411, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/opt/stack/neutron/.tox/dsvm-functional-python35/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: !=:
  reference = ((4, 'icmp', 8, 0, '1.1.1.1', '2.2.2.2', 3333, 51),
   (4, 'udp', 4, 5, '1.1.1.1', '2.2.2.2', 51))
  actual    = ((4, 'icmp', 8, 0, '1.1.1.1', '2.2.2.2', 3333, 51),
   (4, 'tcp', 1, 2, '1.1.1.1', '2.2.2.2', 51),
   (4, 'udp', 4, 5, '1.1.1.1', '2.2.2.2', 51))

  
  2018-05-15 16:45:02.701 3976 WARNING neutron.privileged.agent.linux.netlink_lib [-] Netlink query failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1771412/+subscriptions