yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64823
[Bug 1697874] [NEW] neutron-vpnaas failed to execute tox -e dsvm-functional
Public bug reported:
After I installed openstack with devstack,
Execute in the neutron-vpnaas directory
Tox -e dsvm-functional
The results are as follows:
======
Totals
======
Ran: 28 tests in 8.0000 sec.
- Passed: 0
- Skipped: 7
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 21
Sum of execute time for each test: 13.4665 sec.
Some error info:
Traceback (most recent call last):
File "/opt/stack/neutron/neutron/tests/functional/db/test_migrations.py", line 136, in setUp
super(_TestModelsMigrations, self).setUp()
File "/opt/stack/neutron/neutron/tests/unit/testlib_api.py", line 289, in setUp
self._setup_database_fixtures()
File "/opt/stack/neutron/neutron/tests/unit/testlib_api.py", line 326, in _setup_database_fixtures
self.fail(msg)
File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: backend 'postgresql' unavailable
Traceback (most recent call last):
File "/opt/stack/neutron/neutron/tests/functional/db/test_migrations.py", line 136, in setUp
super(_TestModelsMigrations, self).setUp()
File "/opt/stack/neutron/neutron/tests/unit/testlib_api.py", line 289, in setUp
self._setup_database_fixtures()
File "/opt/stack/neutron/neutron/tests/unit/testlib_api.py", line 326, in _setup_database_fixtures
self.fail(msg)
File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: backend 'mysql' unavailable
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/neutron/neutron/tests/common/net_helpers.py", line 718, in _setUp
ovs = ovs_lib.BaseOVS()
File "/opt/stack/neutron/neutron/agent/common/ovs_lib.py", line 109, in __init__
self.ovsdb = ovsdb_api.from_config(self)
File "/opt/stack/neutron/neutron/agent/ovsdb/api.py", line 57, in from_config
return iface.api_factory(context)
File "/opt/stack/neutron/neutron/agent/ovsdb/impl_idl.py", line 46, in api_factory
idl=connection.idl_factory(),
File "/opt/stack/neutron/neutron/agent/ovsdb/native/connection.py", line 43, in idl_factory
helper = do_get_schema_helper()
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 87, in wrapped_f
return r.call(f, *args, **kw)
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 235, in call
do = self.iter(result=result, exc_info=exc_info)
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 205, in iter
raise RetryError(fut).reraise()
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 284, in reraise
raise self.last_attempt.result()
File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 422, in result
return self.__get_result()
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 238, in call
result = fn(*args, **kwargs)
File "/opt/stack/neutron/neutron/agent/ovsdb/native/connection.py", line 41, in do_get_schema_helper
return idlutils.get_schema_helper(conn, schema_name)
File "/usr/lib/python2.7/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 128, in get_schema_helper
'err': os.strerror(err)})
Exception: Could not retrieve schema from tcp:127.0.0.1:6640: Connection refused
Why does this happen? What should I do?
** Affects: neutron
Importance: Undecided
Status: New
** Tags: vpnaas
** Tags added: vpnaas
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1697874
Title:
neutron-vpnaas failed to execute tox -e dsvm-functional
Status in neutron:
New
Bug description:
After I installed openstack with devstack,
Execute in the neutron-vpnaas directory
Tox -e dsvm-functional
The results are as follows:
======
Totals
======
Ran: 28 tests in 8.0000 sec.
- Passed: 0
- Skipped: 7
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 21
Sum of execute time for each test: 13.4665 sec.
Some error info:
Traceback (most recent call last):
File "/opt/stack/neutron/neutron/tests/functional/db/test_migrations.py", line 136, in setUp
super(_TestModelsMigrations, self).setUp()
File "/opt/stack/neutron/neutron/tests/unit/testlib_api.py", line 289, in setUp
self._setup_database_fixtures()
File "/opt/stack/neutron/neutron/tests/unit/testlib_api.py", line 326, in _setup_database_fixtures
self.fail(msg)
File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: backend 'postgresql' unavailable
Traceback (most recent call last):
File "/opt/stack/neutron/neutron/tests/functional/db/test_migrations.py", line 136, in setUp
super(_TestModelsMigrations, self).setUp()
File "/opt/stack/neutron/neutron/tests/unit/testlib_api.py", line 289, in setUp
self._setup_database_fixtures()
File "/opt/stack/neutron/neutron/tests/unit/testlib_api.py", line 326, in _setup_database_fixtures
self.fail(msg)
File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: backend 'mysql' unavailable
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/neutron/neutron/tests/common/net_helpers.py", line 718, in _setUp
ovs = ovs_lib.BaseOVS()
File "/opt/stack/neutron/neutron/agent/common/ovs_lib.py", line 109, in __init__
self.ovsdb = ovsdb_api.from_config(self)
File "/opt/stack/neutron/neutron/agent/ovsdb/api.py", line 57, in from_config
return iface.api_factory(context)
File "/opt/stack/neutron/neutron/agent/ovsdb/impl_idl.py", line 46, in api_factory
idl=connection.idl_factory(),
File "/opt/stack/neutron/neutron/agent/ovsdb/native/connection.py", line 43, in idl_factory
helper = do_get_schema_helper()
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 87, in wrapped_f
return r.call(f, *args, **kw)
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 235, in call
do = self.iter(result=result, exc_info=exc_info)
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 205, in iter
raise RetryError(fut).reraise()
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 284, in reraise
raise self.last_attempt.result()
File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 422, in result
return self.__get_result()
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 238, in call
result = fn(*args, **kwargs)
File "/opt/stack/neutron/neutron/agent/ovsdb/native/connection.py", line 41, in do_get_schema_helper
return idlutils.get_schema_helper(conn, schema_name)
File "/usr/lib/python2.7/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 128, in get_schema_helper
'err': os.strerror(err)})
Exception: Could not retrieve schema from tcp:127.0.0.1:6640: Connection refused
Why does this happen? What should I do?
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1697874/+subscriptions