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...
Status: POST
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
Toni Freger
: AutomationBlocker, Triaged, ZStream
Depends On:
Blocks: 1473804
  Show dependency treegraph
 
Reported: 2017-07-21 12:59 EDT by Arie Bregman
Modified: 2017-08-03 08:02 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1473804 (view as bug list)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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:

neutron.tests.unit.agent.l3.test_agent.TestBasicRouterOperations.test_initialize_fail_retrigger_initialize
neutron.tests.unit.agent.l3.test_agent.TestBasicRouterOperations.test_initialize_and_delete_fail_retrigger_initialize


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)
3.

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
    self._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
    log_exception.assert_has_calls(calls)
  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.