os-net-config master fails tests if OVS installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-net-config |
Fix Released
|
High
|
Dan Sneddon |
Bug Description
The latest masters of os-net-config pass tests in CI, but if you run tox on a host with OVS installed, 3 tests fail. This error happens because the code is expecting an error that shows that OVS is not installed, but this error only occurs on a host that doesn't have OVS installed.
=======
os_net_
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "os_net_
File "/home/
File "/home/
raise mismatch_error
testtools.
=======
We should stub out the OVS installed test so we can ensure that it always appears that OVS is not installed.
Changed in os-net-config: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Dan Sneddon (dsneddon) |
Changed in os-net-config: | |
status: | Triaged → In Progress |
Reviewed: https:/ /review. openstack. org/585070 /git.openstack. org/cgit/ openstack/ os-net- config/ commit/ ?id=6641c9f8c0c b69e8495cb4360f 50c5e048c50be1
Committed: https:/
Submitter: Zuul
Branch: master
commit 6641c9f8c0cb69e 8495cb4360f50c5 e048c50be1
Author: Dan Sneddon <email address hidden>
Date: Mon Jul 23 19:22:44 2018 -0700
Stub out check for OVS installed to avoid failing tests
The tests for the method that checks to see if OVS is installed
only pass if OVS is not installed. This change stubs out the
function so the tests pass on systems with OVS.
Closes-bug: #1783240
Change-Id: I70bee7a7556aad a186ccec89dbe80 0c8eb870aa5