Bug 1473794 - The unit tests 'neutron.tests.unit.agent.l3.test_agent.TestBasicRouterOperations' fail
Summary: The unit tests 'neutron.tests.unit.agent.l3.test_agent.TestBasicRouterOperati...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: zstream
: 8.0 (Liberty)
Assignee: anil venkata
QA Contact: Arie Bregman
URL:
Whiteboard:
Depends On:
Blocks: 1473804
TreeView+ depends on / blocked
 
Reported: 2017-07-21 16:59 UTC by Arie Bregman
Modified: 2018-03-15 12:40 UTC (History)
6 users (show)

Fixed In Version: openstack-neutron-7.2.0-30.el7ost
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
: 1473804 (view as bug list)
Environment:
Last Closed: 2018-03-15 12:38:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0534 0 None None None 2018-03-15 12:40:02 UTC

Description Arie Bregman 2017-07-21 16:59:17 UTC
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:

Comment 8 errata-xmlrpc 2018-03-15 12:38:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0534


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