Bug 1502140 - ovs_lib unit and functional tests fail
Summary: ovs_lib unit and functional tests fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 12.0 (Pike)
Assignee: Terry Wilson
QA Contact: Toni Freger
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-14 12:35 UTC by Arie Bregman
Modified: 2018-02-05 19:15 UTC (History)
7 users (show)

Fixed In Version: openstack-neutron-11.0.2-0.20171014013906.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 22:15:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 497125 0 None None None 2017-10-16 15:28:56 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Arie Bregman 2017-10-14 12:35:19 UTC
Description of problem:


There are over 200 ovs_lib tests failing in CI with the following error:

TypeError: Can't instantiate abstract class OvsdbVsctl with abstract methods db_find_rows, db_list_rows, db_remove


Version-Release number of selected component (if applicable): Latest OSP 12


How reproducible: 100%


Steps to Reproduce:
1. Clone neutron
2. Checkout OSP 12 branch
3. Run functional and/or unit tests

Actual results:

Traceback (most recent call last):
  File "neutron/tests/unit/agent/common/test_ovs_lib.py", line 93, in wrapper
    return f(*args, **kwargs)
  File "neutron/tests/unit/agent/common/test_ovs_lib.py", line 109, in setUp
    self.br = ovs_lib.OVSBridge(self.BR_NAME)
  File "neutron/agent/common/ovs_lib.py", line 195, in __init__
    super(OVSBridge, self).__init__()
  File "neutron/agent/common/ovs_lib.py", line 113, in __init__
    self.ovsdb = ovsdb_api.from_config(self)
  File "neutron/agent/ovsdb/api.py", line 57, in from_config
    return iface.api_factory(context)
  File "neutron/agent/ovsdb/impl_vsctl.py", line 33, in api_factory
    return OvsdbVsctl(context)
TypeError: Can't instantiate abstract class OvsdbVsctl with abstract methods db_find_rows, db_list_rows, db_remove


Expected results: Tests passed successfully

Comment 3 Jakub Libosvar 2017-10-16 13:59:11 UTC
Terry will have a look

Comment 7 errata-xmlrpc 2017-12-13 22:15:46 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/RHEA-2017:3462


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