Tests running...
======================================================================
ERROR: midonet.neutron.tests.unit.test_midonet_plugin_v2.TestMidonetL3NatExtraRoute.test_router_add_interface_dup_subnet2_returns_400
----------------------------------------------------------------------
traceback-1: {{{
Traceback (most recent call last):
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/fixtures/fixture.py", line 208, in setUp
raise SetupError(details)
fixtures.fixture.SetupError: {}
}}}
Traceback (most recent call last):
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/networking-midonet/.tox/py27/src/neutron/neutron/tests/unit/testlib_api.py", line 88, in _setUp
self._init_resources()
File "/opt/stack/networking-midonet/.tox/py27/src/neutron/neutron/tests/unit/testlib_api.py", line 168, in _init_resources
cls.schema_resource.make(dependency_resources)
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/sqlalchemy/provision.py", line 130, in make
self.generate_schema(dependency_resources['database'].engine)
File "/opt/stack/networking-midonet/.tox/py27/src/neutron/neutron/tests/unit/testlib_api.py", line 76, in _generate_schema
model_base.BASEV2.metadata.create_all(engine)
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 3745, in create_all
tables=tables)
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1856, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1481, in _run_visitor
**kwargs).traverse_single(element)
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/visitors.py", line 121, in traverse_single
return meth(obj, **kw)
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 709, in visit_metadata
[t for t in tables if self._can_create_table(t)])
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 1058, in sort_tables_and_constraints
dependent_on = fkc.referred_table
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 2855, in referred_table
return self.elements[0].column.table
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 754, in __get__
obj.__dict__[self.__name__] = result = self.fget(obj)
File "/opt/stack/networking-midonet/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 1824, in column
tablekey)
sqlalchemy.exc.NoReferencedTableError: Foreign key associated with column 'midonet_firewall_logs.firewall_id' could not find table 'firewalls' with which to generate a foreign key to target column 'id'
Ran 1 test in 0.097s
FAILED (failures=1)