yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #71692
[Bug 1628996] Re: subnet service types not working with sqlite3 version 3.7.17
[vagrant@localhost ~]$ yum info sqlite
Installed Packages
Name : sqlite
Arch : x86_64
Version : 3.7.17
Release : 8.el7
Size : 795 k
Repo : installed
>From repo : anaconda
Summary : Library that implements an embeddable SQL database engine
URL : http://www.sqlite.org/
License : Public Domain
Description : SQLite is a C library that implements an SQL database engine. A large
: subset of SQL92 is supported. A complete database is stored in a
: single disk file. The API is designed for convenience and ease of use.
: Applications that link against SQLite can enjoy the power and
: flexibility of an SQL database without the administrative hassles of
: supporting a separate database server. Version 2 and version 3 binaries
: are named to permit each to be installed on a single host
[vagrant@localhost neutron]$ tox -e py27 test_subnet_service_types
py27: commands succeeded
congratulations :)
** Changed in: neutron
Status: New => Invalid
** Tags removed: timeout-abandon
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1628996
Title:
subnet service types not working with sqlite3 version 3.7.17
Status in neutron:
Invalid
Bug description:
subnet service types not working with sqlite3 version 3.7.17. But it
works from sqlite3 version 3.8.0 and above versions.
Because of this, subnet service type unit tests failing in sqlite3
version 3.7.17.
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "neutron/tests/base.py", line 125, in func
return f(self, *args, **kwargs)
File "neutron/tests/unit/extensions/test_subnet_service_types.py", line 245, in test_create_port_no_device_owner_no_fallback
self.test_create_port_no_device_owner(fallback=False)
File "neutron/tests/base.py", line 125, in func
return f(self, *args, **kwargs)
File "neutron/tests/unit/extensions/test_subnet_service_types.py", line 242, in test_create_port_no_device_owner
self._assert_port_res(port, '', subnet, fallback)
File "neutron/tests/unit/extensions/test_subnet_service_types.py", line 173, in _assert_port_res
self.assertEqual(error, res['NeutronError']['type'])
KeyError: 'NeutronError'
_query_filter_service_subnets [1] is behaving differently in 3.7.17 and 3.8.0 for these tests
[1] https://github.com/openstack/neutron/blob/master/neutron/db/ipam_backend_mixin.py#L597
I have seen this on centos7 setup, which by default uses sqlite3
version 3.7.17.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1628996/+subscriptions
References