Public bug reported: I'm trying to package 13.0.0 for Ubuntu and am hitting the following test failure:
============================== Failed 1 tests - output below: ============================== networking_l2gw.tests.unit.db.ovsdb.test_idl_impl.SimpleIdlTests.test_list_physical_switches -------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/neutron/tests/base.py", line 140, in func return f(self, *args, **kwargs) File "networking_l2gw/tests/unit/db/ovsdb/test_idl_impl.py", line 58, in test_list_physical_switches return_value=ovs.jsonrpc.Session(None, None) TypeError: __init__() takes exactly 4 arguments (3 given) And when I run tox -e py27 on stable/rocky upstream branch I get 18 failures! The tracebacks all end with: File "/home/corey/pkg/rocky/upstream/networking-l2gw/.tox/py27/local/lib/python2.7/site-packages/neutron/plugins/common/constants.py", line 28, in <module> 'router': constants.L3, AttributeError: 'module' object has no attribute 'L3' ** Affects: networking-l2gw (Ubuntu) Importance: Undecided Status: New ** Description changed: I'm trying to package 13.0.0 for Ubuntu and am hitting the following test failure: ============================== Failed 1 tests - output below: ============================== - networking_l2gw.tests.unit.db.ovsdb.test_idl_impl.SimpleIdlTests.test_list_physical_switches - -------------------------------------------------------------------------------------------- + networking_l2gw.tests.unit.db.ovsdb.test_idl_impl.SimpleIdlTests.test_list_physical_switches + -------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ - Traceback (most recent call last): - File "/usr/lib/python2.7/dist-packages/neutron/tests/base.py", line 140, in func - return f(self, *args, **kwargs) - File "networking_l2gw/tests/unit/db/ovsdb/test_idl_impl.py", line 58, in test_list_physical_switches - return_value=ovs.jsonrpc.Session(None, None) - TypeError: __init__() takes exactly 4 arguments (3 given) + Traceback (most recent call last): + File "/usr/lib/python2.7/dist-packages/neutron/tests/base.py", line 140, in func + return f(self, *args, **kwargs) + File "networking_l2gw/tests/unit/db/ovsdb/test_idl_impl.py", line 58, in test_list_physical_switches + return_value=ovs.jsonrpc.Session(None, None) + TypeError: __init__() takes exactly 4 arguments (3 given) + And when I run tox -e py27 on stable/rocky upstream branch I get 18 + failures! The tracebacks all end with: - And I run tox -e py27 on stable/rocky upstream branch I get 18 failures! The tracebacks all end with: - - File "/home/corey/pkg/rocky/upstream/networking-l2gw/.tox/py27/local/lib/python2.7/site-packages/neutron/plugins/common/constants.py", line 28, in <module> - 'router': constants.L3, - AttributeError: 'module' object has no attribute 'L3' + File "/home/corey/pkg/rocky/upstream/networking-l2gw/.tox/py27/local/lib/python2.7/site-packages/neutron/plugins/common/constants.py", line 28, in <module> + 'router': constants.L3, + AttributeError: 'module' object has no attribute 'L3' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1789689 Title: unit tests fail To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/networking-l2gw/+bug/1789689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs