Public bug reported:

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.

** Affects: networking-l2gw (Ubuntu)
     Importance: High
         Status: New

** Affects: neutron (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs yakkety

** Also affects: neutron (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1610614

Title:
  networking-l2gw fails to build in yakkety (test failures)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/networking-l2gw/+bug/1610614/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to