some test_l3 unit test failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-midonet |
Fix Released
|
Critical
|
YAMAMOTO Takashi | ||
neutron |
Fix Released
|
High
|
Sreekumar S |
Bug Description
networking-midonet gate fails due to recent l3_db change. [1]
any plugins which have a surrounding transaction for add_router_
would be affected in the same way.
[1] I797df266dafc41
http://
2016-07-23 10:56:05.220890 | =======
2016-07-23 10:56:05.220921 | FAIL: midonet.
2016-07-23 10:56:05.220941 | -------
2016-07-23 10:56:05.220953 | Traceback (most recent call last):
2016-07-23 10:56:05.220984 | File "/tmp/openstack
2016-07-23 10:56:05.221003 | expected_
2016-07-23 10:56:05.221029 | File "/tmp/openstack
2016-07-23 10:56:05.221046 | self.assertEqua
2016-07-23 10:56:05.221081 | File "/home/
2016-07-23 10:56:05.221101 | self.assertThat
2016-07-23 10:56:05.221136 | File "/home/
2016-07-23 10:56:05.221146 | raise mismatch_error
2016-07-23 10:56:05.221160 | testtools.
2016-07-23 10:56:05.221178 | =======
2016-07-23 10:56:05.221211 | FAIL: midonet.
2016-07-23 10:56:05.221235 | -------
2016-07-23 10:56:05.221247 | Traceback (most recent call last):
2016-07-23 10:56:05.221281 | File "/tmp/openstack
2016-07-23 10:56:05.221297 | expected_
2016-07-23 10:56:05.221324 | File "/tmp/openstack
2016-07-23 10:56:05.221349 | self.assertEqua
2016-07-23 10:56:05.221386 | File "/home/
2016-07-23 10:56:05.221400 | self.assertThat
2016-07-23 10:56:05.221435 | File "/home/
2016-07-23 10:56:05.221445 | raise mismatch_error
2016-07-23 10:56:05.221459 | testtools.
2016-07-23 10:56:05.221477 | =======
2016-07-23 10:56:05.221509 | FAIL: midonet.
2016-07-23 10:56:05.221528 | -------
2016-07-23 10:56:05.221540 | Traceback (most recent call last):
2016-07-23 10:56:05.221574 | File "/tmp/openstack
2016-07-23 10:56:05.221584 | expected_
2016-07-23 10:56:05.221610 | File "/tmp/openstack
2016-07-23 10:56:05.221626 | self.assertEqua
2016-07-23 10:56:05.221660 | File "/home/
2016-07-23 10:56:05.221675 | self.assertThat
2016-07-23 10:56:05.221709 | File "/home/
2016-07-23 10:56:05.221719 | raise mismatch_error
2016-07-23 10:56:05.221734 | testtools.
2016-07-23 10:56:05.221752 | =======
2016-07-23 10:56:05.221782 | FAIL: midonet.
2016-07-23 10:56:05.221801 | -------
2016-07-23 10:56:05.221812 | Traceback (most recent call last):
2016-07-23 10:56:05.221843 | File "/tmp/openstack
2016-07-23 10:56:05.221856 | expected_
2016-07-23 10:56:05.221882 | File "/tmp/openstack
2016-07-23 10:56:05.221898 | self.assertEqua
2016-07-23 10:56:05.222052 | File "/home/
2016-07-23 10:56:05.222076 | self.assertThat
2016-07-23 10:56:05.222111 | File "/home/
2016-07-23 10:56:05.222121 | raise mismatch_error
2016-07-23 10:56:05.222135 | testtools.
2016-07-23 10:56:05.222154 | =======
2016-07-23 10:56:05.222186 | FAIL: midonet.
2016-07-23 10:56:05.222205 | -------
2016-07-23 10:56:05.222217 | Traceback (most recent call last):
2016-07-23 10:56:05.222259 | File "/tmp/openstack
2016-07-23 10:56:05.222272 | expected_
2016-07-23 10:56:05.222298 | File "/tmp/openstack
2016-07-23 10:56:05.222314 | self.assertEqua
2016-07-23 10:56:05.222348 | File "/home/
2016-07-23 10:56:05.222363 | self.assertThat
2016-07-23 10:56:05.222397 | File "/home/
2016-07-23 10:56:05.222407 | raise mismatch_error
2016-07-23 10:56:05.222422 | testtools.
2016-07-23 10:56:05.222440 | =======
2016-07-23 10:56:05.222473 | FAIL: midonet.
2016-07-23 10:56:05.222491 | -------
2016-07-23 10:56:05.222503 | Traceback (most recent call last):
2016-07-23 10:56:05.222536 | File "/tmp/openstack
2016-07-23 10:56:05.222547 | expected_
2016-07-23 10:56:05.222573 | File "/tmp/openstack
2016-07-23 10:56:05.222589 | self.assertEqua
2016-07-23 10:56:05.222623 | File "/home/
2016-07-23 10:56:05.222637 | self.assertThat
2016-07-23 10:56:05.222672 | File "/home/
2016-07-23 10:56:05.222682 | raise mismatch_error
2016-07-23 10:56:05.222696 | testtools.
tags: | added: gate-failure |
Changed in networking-midonet: | |
importance: | Undecided → Critical |
description: | updated |
description: | updated |
Changed in networking-midonet: | |
assignee: | nobody → YAMAMOTO Takashi (yamamoto) |
milestone: | none → 3.0.0 |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → High |
http:// logs.openstack. org/74/ 334874/ 7/check/ gate-networking -midonet- python27/ b6e71e0/ testr_results. html.gz
ERROR [root] Original exception being dropped: ['Traceback (most recent call last):\n', ' File "/tmp/openstack /neutron/ neutron/ db/l3_db. py", line 683, in _add_interface_ by_port\ n return self._validate_ router_ port_info( context, router, port_id)\n', ' File "/tmp/openstack /neutron/ neutron/ db/l3_db. py", line 664, in _validate_ router_ port_info\ n subnets)\n', ' File "/tmp/openstack /neutron/ neutron/ db/l3_db. py", line 576, in _check_ for_dup_ router_ subnets\ n raise n_exc.BadReques t(resource= \'router\ ', msg=msg)\n', 'BadRequest: Bad router request: Router already has a port on subnet 876deb79- 9cdc-47fe- 90aa-d607b40029 4f.\n'] api.v2. resource] add_router_ interface failed: No details. /neutron/ neutron/ api/v2/ resource. py", line 79, in resource request= request, **args) jenkins/ workspace/ gate-networking -midonet- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ oslo_db/ api.py" , line 151, in wrapper jenkins/ workspace/ gate-networking -midonet- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) jenkins/ workspace/ gate-networking -midonet- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) jenkins/ workspace/ gate-networking -midonet- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ oslo_db/ api.py" , line 139, in wrapper /neutron/ neutron/ api/v2/ base.py" , line 217, in _handle_action self._plugin, name)(*arg_list, **kwargs) neutron/ plugin_ v1.py", line 388, in add_router_ interface /neutron/ neutron/ db/l3_db. py", line 1707, in add_router_ interface /neutron/ neutron/ db/l3_db. py", line 763, in add_router_ interface info['port_ id'], device_owner) /neutron/ neutron/ db/l3_db. py", line 688, in _add_interface_ by_port jenkins/ workspace/ gate-networking -midonet- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ mock/mock. py", line 1062, in __call__ _mock_call( *args, **kwargs) jenkins/ workspace/ gate-networking -midonet- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ mock/mock. py", line 1128, in _mock_call neutron/ plugin_ v1.py", line 270, in update_port session. begin(subtransa ctions= True): jenkins/ workspace/ gate-networking -midonet- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ sqlalchemy/ orm/session. py", line 725, in begin jenkins/ workspace/ gate-networking -midonet- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ sqlalchemy/ orm/session. py", li...
ERROR [neutron.
Traceback (most recent call last):
File "/tmp/openstack
result = method(
File "/home/
ectxt.value = e.inner_exc
File "/home/
self.
File "/home/
six.
File "/home/
return f(*args, **kwargs)
File "/tmp/openstack
ret_value = getattr(
File "midonet/
context, router_id, interface_info)
File "/tmp/openstack
context, router_id, interface_info)
File "/tmp/openstack
context, router, interface_
File "/tmp/openstack
'device_owner': prev_owner}})
File "/home/
return _mock_self.
File "/home/
ret_val = effect(*args, **kwargs)
File "midonet/
context.
File "/home/
nested=nested)
File "/home/