Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1502140 - ovs_lib unit and functional tests fail
ovs_lib unit and functional tests fail
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
urgent Severity urgent
: beta
: 12.0 (Pike)
Assigned To: Terry Wilson
Toni Freger
: AutomationBlocker, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-14 08:35 EDT by Arie Bregman
Modified: 2018-02-05 14:15 EST (History)
7 users (show)

See Also:
Fixed In Version: openstack-neutron-11.0.2-0.20171014013906.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:15:46 EST
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)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 497125 None None None 2017-10-16 11:28 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Arie Bregman 2017-10-14 08:35:19 EDT
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 09:59:11 EDT
Terry will have a look
Comment 7 errata-xmlrpc 2017-12-13 17:15:46 EST
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.