Bug 1473794 - The unit tests 'neutron.tests.unit.agent.l3.test_agent.TestBasicRouterOperations' fail
The unit tests 'neutron.tests.unit.agent.l3.test_agent.TestBasicRouterOperati...
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron (Show other bugs)
8.0 (Liberty)
Unspecified Unspecified
high Severity high
: ---
: 8.0 (Liberty)
Assigned To: anil venkata
Arie Bregman
: AutomationBlocker, Triaged, ZStream
Depends On:
Blocks: 1473804
  Show dependency treegraph
Reported: 2017-07-21 12:59 EDT by Arie Bregman
Modified: 2018-02-18 08:35 EST (History)
5 users (show)

See Also:
Fixed In Version: openstack-neutron-7.2.0-30.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1473804 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Arie Bregman 2017-07-21 12:59:17 EDT
Description of problem:

The following unit tests are failing:


Version-Release number of selected component (if applicable): latest neutron OSP 8 (from source)

How reproducible: 100%

Steps to Reproduce:
1. Clone neutron from codeng
2. Run unit tests (tox -e py27)

Actual results:

Fail with the following traceback

Traceback (most recent call last):
  File "neutron/tests/unit/agent/l3/test_agent.py", line 1631, in test_initialize_fail_retrigger_initialize
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "neutron/tests/unit/agent/l3/test_agent.py", line 1620, in _retrigger_initialize
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 969, in assert_has_calls
    ), cause)
  File "/usr/lib/python2.7/site-packages/six.py", line 692, in raise_from
    raise value
AssertionError: Calls not found.
Expected: [call('Error while initializing router %s', '8d9bd8e4-ac2d-4da6-99a6-810045a8bd07'), call("Failed to process compatible router '8d9bd8e4-ac2d-4da6-99a6-810045a8bd07'")]
Actual: [call(u'Error while initializing router %s', '8d9bd8e4-ac2d-4da6-99a6-810045a8bd07'),
 call(u"Failed to process compatible router '%s'", '8d9bd8e4-ac2d-4da6-99a6-810045a8bd07')]

Expected results:

Additional info:

Note You need to log in before you can comment on or make changes to this bug.