← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1615828] [NEW] test_floating_mangle_rules fails with mismatch error

 

Public bug reported:

http://logs.openstack.org/09/336609/1/gate/gate-neutron-python27-ubuntu-
xenial/31d11e0/testr_results.html.gz

ft23.24: neutron.tests.unit.agent.l3.test_dvr_local_router.TestDvrRouterOperations.test_floating_mangle_rules_StringException: Empty attachments:
  stdout

pythonlogging:'': {{{WARNING [stevedore.named] Could not load neutron.agent.linux.interface.NullDriver}}}
stderr: {{{
neutron/agent/l3/agent.py:375: DeprecationWarning: L3_AGENT_MODE: moved to neutron_lib.constants
  connection, l3_constants.L3_AGENT_MODE)
}}}

Traceback (most recent call last):
  File "neutron/tests/unit/agent/l3/test_dvr_local_router.py", line 251, in test_floating_mangle_rules
    self.assertEqual(expected, actual)
  File "/home/jenkins/workspace/gate-neutron-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/jenkins/workspace/gate-neutron-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = [('floatingip', '-d 15.1.2.3 -i fake_router -j MARK --set-xmark fake_mark'),
 ('FORWARD', '-s 192.168.0.1 -j $float-snat')]
actual    = [('floatingip', '-d 15.1.2.3/32 -i fake_router -j MARK --set-xmark fake_mark'),
 ('FORWARD', '-s 192.168.0.1/32 -j $float-snat')]

** Affects: neutron
     Importance: Critical
         Status: Confirmed


** Tags: gate-failure unittest

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
   Importance: Undecided => Critical

** Tags added: gate-failure unittest

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

Title:
  test_floating_mangle_rules fails with mismatch error

Status in neutron:
  Confirmed

Bug description:
  http://logs.openstack.org/09/336609/1/gate/gate-neutron-python27
  -ubuntu-xenial/31d11e0/testr_results.html.gz

  ft23.24: neutron.tests.unit.agent.l3.test_dvr_local_router.TestDvrRouterOperations.test_floating_mangle_rules_StringException: Empty attachments:
    stdout

  pythonlogging:'': {{{WARNING [stevedore.named] Could not load neutron.agent.linux.interface.NullDriver}}}
  stderr: {{{
  neutron/agent/l3/agent.py:375: DeprecationWarning: L3_AGENT_MODE: moved to neutron_lib.constants
    connection, l3_constants.L3_AGENT_MODE)
  }}}

  Traceback (most recent call last):
    File "neutron/tests/unit/agent/l3/test_dvr_local_router.py", line 251, in test_floating_mangle_rules
      self.assertEqual(expected, actual)
    File "/home/jenkins/workspace/gate-neutron-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/jenkins/workspace/gate-neutron-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: !=:
  reference = [('floatingip', '-d 15.1.2.3 -i fake_router -j MARK --set-xmark fake_mark'),
   ('FORWARD', '-s 192.168.0.1 -j $float-snat')]
  actual    = [('floatingip', '-d 15.1.2.3/32 -i fake_router -j MARK --set-xmark fake_mark'),
   ('FORWARD', '-s 192.168.0.1/32 -j $float-snat')]

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


Follow ups