yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79316
[Bug 1837169] [NEW] Stein: testing _make_floatingip fails in Debian Sid
Public bug reported:
Hi,
I'm trying to build Stein Neutron from Buster to Sid.
There's the following 4 unit tests failing when building the debian
package in Sid, all located in neutron.tests.unit.extensions:
test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201
test_extraroute.ExtraRouteDBSepTestCase.test_floatingip_via_router_interface_returns_201
test_l3.L3NatDBIntTestCase.test_floatingip_via_router_interface_returns_201
test_l3.L3NatDBSepTestCase.test_floatingip_via_router_interface_returns_201
All of these tests fails with more or less the same stack dump, as seen
below.
(unstable-amd64-sbuild)root@buzig2:~/neutron# PYTOHN=python3 PYTHONPATH=`pwd`/debian/tmp/usr/lib/python3/dist-packages stestr run --subunit neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201 | subunit2pyunit
neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201
neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201 ... FAIL
======================================================================
FAIL: neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201
neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/root/neutron/neutron/tests/base.py", line 176, in func
return f(self, *args, **kwargs)
File "/root/neutron/neutron/tests/base.py", line 176, in func
return f(self, *args, **kwargs)
File "/root/neutron/neutron/tests/unit/extensions/test_l3.py", line 3183, in test_floatingip_via_router_interface_returns_201
self._test_floatingip_via_router_interface(exc.HTTPCreated.code)
File "/root/neutron/neutron/tests/unit/extensions/test_l3.py", line 3137, in _test_floatingip_via_router_interface
http_status=http_status)
File "/root/neutron/neutron/tests/unit/extensions/test_l3.py", line 510, in _make_floatingip
self.assertEqual(http_status, res.status_int)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 201 != 500
----------------------------------------------------------------------
Ran 1 test in 11.585s
FAILED (failures=1)
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1837169
Title:
Stein: testing _make_floatingip fails in Debian Sid
Status in neutron:
New
Bug description:
Hi,
I'm trying to build Stein Neutron from Buster to Sid.
There's the following 4 unit tests failing when building the debian
package in Sid, all located in neutron.tests.unit.extensions:
test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201
test_extraroute.ExtraRouteDBSepTestCase.test_floatingip_via_router_interface_returns_201
test_l3.L3NatDBIntTestCase.test_floatingip_via_router_interface_returns_201
test_l3.L3NatDBSepTestCase.test_floatingip_via_router_interface_returns_201
All of these tests fails with more or less the same stack dump, as
seen below.
(unstable-amd64-sbuild)root@buzig2:~/neutron# PYTOHN=python3 PYTHONPATH=`pwd`/debian/tmp/usr/lib/python3/dist-packages stestr run --subunit neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201 | subunit2pyunit
neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201
neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201 ... FAIL
======================================================================
FAIL: neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201
neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBIntTestCase.test_floatingip_via_router_interface_returns_201
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/root/neutron/neutron/tests/base.py", line 176, in func
return f(self, *args, **kwargs)
File "/root/neutron/neutron/tests/base.py", line 176, in func
return f(self, *args, **kwargs)
File "/root/neutron/neutron/tests/unit/extensions/test_l3.py", line 3183, in test_floatingip_via_router_interface_returns_201
self._test_floatingip_via_router_interface(exc.HTTPCreated.code)
File "/root/neutron/neutron/tests/unit/extensions/test_l3.py", line 3137, in _test_floatingip_via_router_interface
http_status=http_status)
File "/root/neutron/neutron/tests/unit/extensions/test_l3.py", line 510, in _make_floatingip
self.assertEqual(http_status, res.status_int)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 201 != 500
----------------------------------------------------------------------
Ran 1 test in 11.585s
FAILED (failures=1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1837169/+subscriptions
Follow ups