ovsdbapp.git on stable/stein
```
$ tox -v -e functional
...
==============================
Failed 2 tests - output below:
==============================
ovsdbapp.tests.functional.schema.open_vswitch.test_impl_idl.ImplIdlTestCase.test_post_commit_vswitchd_completed_no_failures
---------------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/ovsdbapp/tests/functional/schema/open_vswitch/test_impl_idl.py", line 168, in setUp'
b' autospec=True).start()'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 1500, in start'
b' result = self.__enter__()'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 1450, in __enter__'
b' _name=self.attribute, **kwargs)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 2368, in create_autospec'
b' **kwargs)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 1963, in __init__'
b' _safe_super(MagicMixin, self).__init__(*args, **kw)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 1047, in __init__'
b' _spec_state, _new_name, _new_parent, **kwargs'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 517, in __init__'
b' self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 574, in _mock_add_spec'
b' _spec_as_instance, _eat_self)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 197, in _get_signature_object'
b' return func, inspectsignature(sig_func)'
b' File "/usr/lib/python3.6/inspect.py", line 3065, in signature'
b' return Signature.from_callable(obj, follow_wrapped=follow_wrapped)'
b' File "/usr/lib/python3.6/inspect.py", line 2815, in from_callable'
b' follow_wrapper_chains=follow_wrapped)'
b' File "/usr/lib/python3.6/inspect.py", line 2269, in _signature_from_callable'
b' return _signature_from_function(sigcls, obj)'
b' File "/usr/lib/python3.6/inspect.py", line 2153, in _signature_from_function'
b' kind=_VAR_POSITIONAL))'
b' File "/usr/lib/python3.6/inspect.py", line 2470, in __init__'
b' raise TypeError(msg)'
b'TypeError: name must be a str, not a MagicMock'
b''
ovsdbapp.tests.functional.schema.open_vswitch.test_impl_idl.ImplIdlTestCase.test_post_commit_vswitchd_incomplete_timeout
------------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/ovsdbapp/tests/functional/schema/open_vswitch/test_impl_idl.py", line 168, in setUp'
b' autospec=True).start()'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 1500, in start'
b' result = self.__enter__()'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 1450, in __enter__'
b' _name=self.attribute, **kwargs)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 2368, in create_autospec'
b' **kwargs)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 1963, in __init__'
b' _safe_super(MagicMixin, self).__init__(*args, **kw)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 1047, in __init__'
b' _spec_state, _new_name, _new_parent, **kwargs'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 517, in __init__'
b' self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 574, in _mock_add_spec'
b' _spec_as_instance, _eat_self)'
b' File "/home/ffernand/work/openstack/ovsdbapp.git/.tox/functional/lib/python3.6/site-packages/mock/mock.py", line 197, in _get_signature_object'
b' return func, inspectsignature(sig_func)'
b' File "/usr/lib/python3.6/inspect.py", line 3065, in signature'
b' return Signature.from_callable(obj, follow_wrapped=follow_wrapped)'
b' File "/usr/lib/python3.6/inspect.py", line 2815, in from_callable'
b' follow_wrapper_chains=follow_wrapped)'
b' File "/usr/lib/python3.6/inspect.py", line 2269, in _signature_from_callable'
b' return _signature_from_function(sigcls, obj)'
b' File "/usr/lib/python3.6/inspect.py", line 2153, in _signature_from_function'
b' kind=_VAR_POSITIONAL))'
b' File "/usr/lib/python3.6/inspect.py", line 2470, in __init__'
b' raise TypeError(msg)'
b'TypeError: name must be a str, not a MagicMock'
b''
======
Totals
======
Ran: 228 tests in 1.5645 sec.
- Passed: 226
- Skipped: 0
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 2
Sum of execute time for each test: 5.7354 sec.
```
Caveat:
When the failed tests are ran by themselves, then it does NOT fail:
tox -v -e functional -- \ tests.functiona l.schema. open_vswitch. test_impl_ idl.ImplIdlTest Case.test_ post_commit_ vswitchd_ incomplete_ timeout
ovsdbapp.
tox -v -e functional -- \ tests.functiona l.schema. open_vswitch. test_impl_ idl.ImplIdlTest Case.test_ post_commit_ vswitchd_ completed_ no_failures
ovsdbapp.
Running both tests together will fail ovsdbapp. tests.functiona l.schema. open_vswitch. test_impl_ idl.ImplIdlTest Case.test_ post_commit_ vswitchd_ incomplete_ timeout independent of the order :
tox -v -e functional -- \ tests.functiona l.schema. open_vswitch. test_impl_ idl.ImplIdlTest Case.test_ post_commit_ vswitchd_ incomplete_ timeout \ tests.functiona l.schema. open_vswitch. test_impl_ idl.ImplIdlTest Case.test_ post_commit_ vswitchd_ completed_ no_failures
ovsdbapp.
ovsdbapp.
tox -v -e functional -- \ tests.functiona l.schema. open_vswitch. test_impl_ idl.ImplIdlTest Case.test_ post_commit_ vswitchd_ completed_ no_failures \ tests.functiona l.schema. open_vswitch. test_impl_ idl.ImplIdlTest Case.test_ post_commit_ vswitchd_ incomplete_ timeout
ovsdbapp.
ovsdbapp.