[Bug 1610614] Re: networking-l2gw fails to build in yakkety (test failures)
Launchpad Bug Tracker
1610614 at bugs.launchpad.net
Wed Aug 10 16:46:50 UTC 2016
This bug was fixed in the package networking-l2gw -
1:1.0.0+git20160804.5f94dfa6-0ubuntu1
---------------
networking-l2gw (1:1.0.0+git20160804.5f94dfa6-0ubuntu1) yakkety; urgency=medium
[ Ondřej Nový ]
* d/rules: Removed UPSTREAM_GIT with default value
* d/copyright: Changed source URL to https protocol
[ James Page ]
* New upstream snapshot for OpenStack Newton (LP: #1610614).
* Align (Build-)Depends with upstream.
-- James Page <james.page at ubuntu.com> Wed, 10 Aug 2016 15:39:45 +0100
** Changed in: networking-l2gw (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1610614
Title:
networking-l2gw fails to build in yakkety (test failures)
Status in networking-l2gw package in Ubuntu:
Fix Released
Status in neutron package in Ubuntu:
New
Bug description:
networking-l2gw fails to build from source in yakkety
https://launchpad.net/ubuntu/+source/networking-l2gw/1:1.0.0-1
Note that this also affects 1:1.0.0-0ubuntu1 currently in yakkety
Failed to import test module: networking_l2gw.tests.unit.db.test_l2gw_db
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "networking_l2gw/tests/unit/db/test_l2gw_db.py", line 23, in <module>
from neutron.tests.unit import testlib_api
File "/usr/lib/python2.7/dist-packages/neutron/tests/unit/testlib_api.py", line 18, in <module>
import testresources
ImportError: No module named testresources
Failed to import test module: networking_l2gw.tests.unit.services.l2gateway.agent.ovsdb.test_base_connection
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "networking_l2gw/tests/unit/services/l2gateway/agent/ovsdb/test_base_connection.py", line 29, in <module>
from networking_l2gw.services.l2gateway.agent.ovsdb import base_connection
File "networking_l2gw/services/l2gateway/agent/ovsdb/base_connection.py", line 27, in <module>
from neutron.i18n import _LE
ImportError: No module named i18n
i18n error repeated multiple times with different tests.
The testresources error can be fixed by build-depending on python-
testresources (universe).
As for the i18n error, in the neutron 9.0.0.0b2 Changelog, there's this line:
* Drop neutron/i18n.py in favor of neutron/_i18n.py
I'm guessing that needs a simple patch to rename the imports.
The tests don't currently fail on Debian sid since neutron 9 is only
in experimental there.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/networking-l2gw/+bug/1610614/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list