http://logs.openstack.org/84/355284/2/check/gate-neutron-dsvm-functional-ubuntu-xenial/d7635bd/testr_results.html.gz
Traceback (most recent call last):
File "neutron/tests/base.py", line 113, in func
return f(self, *args, **kwargs)
File "neutron/tests/functional/agent/l3/test_legacy_router.py", line 341, in test_connection_from_same_address_scope
'scope1', 'scope1')
File "neutron/tests/functional/agent/l3/test_legacy_router.py", line 318, in _setup_address_scope
router = self.manage_router(self.agent, router_info)
File "neutron/tests/functional/agent/l3/framework.py", line 319, in manage_router
agent._process_added_router(router)
File "neutron/agent/l3/agent.py", line 455, in _process_added_router
ri.process()
File "neutron/common/utils.py", line 186, in call
self.logger(e)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "neutron/common/utils.py", line 183, in call
return func(*args, **kwargs)
File "neutron/agent/l3/router_info.py", line 1114, in process
self.process_external()
File "neutron/agent/l3/router_info.py", line 889, in process_external
self._process_external_gateway(ex_gw_port)
File "neutron/agent/l3/router_info.py", line 772, in _process_external_gateway
self.external_gateway_added(ex_gw_port, interface_name)
File "neutron/agent/l3/router_info.py", line 722, in external_gateway_added
ex_gw_port, interface_name, self.ns_name, preserve_ips)
File "neutron/agent/l3/router_info.py", line 671, in _external_gateway_added
self._plug_external_gateway(ex_gw_port, interface_name, ns_name)
File "neutron/agent/l3/router_info.py", line 621, in _plug_external_gateway
mtu=ex_gw_port.get('mtu'))
File "neutron/agent/linux/interface.py", line 266, in plug
bridge, namespace, prefix, mtu)
File "neutron/agent/linux/interface.py", line 380, in plug_new
namespace_obj.add_device_to_namespace(ns_dev)
File "neutron/agent/linux/ip_lib.py", line 231, in add_device_to_namespace
device.link.set_netns(self.namespace)
File "neutron/agent/linux/ip_lib.py", line 519, in set_netns
self._as_root([], ('set', self.name, 'netns', namespace))
File "neutron/agent/linux/ip_lib.py", line 367, in _as_root
use_root_namespace=use_root_namespace)
File "neutron/agent/linux/ip_lib.py", line 99, in _as_root
log_fail_as_error=self.log_fail_as_error)
File "neutron/agent/linux/ip_lib.py", line 108, in _execute
log_fail_as_error=log_fail_as_error)
File "neutron/agent/linux/utils.py", line 151, in execute
raise ProcessExecutionError(msg, returncode=returncode)
neutron.agent.linux.utils.ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: Cannot find device "qg-74372988-7f"
Interestingly, the device was present just before the failure, when setting MAC address:
2017-04-17 03:24:57.197 3562 DEBUG neutron. agent.linux. utils [req-e6df0f81- aea0-42d4- a857-5b0514d959 52 - - - - -] Running command (rootwrap daemon): ['ip', 'link', 'set', 'qg-74372988-7f', 'address', 'ca:fe: de:ad:be: ee'] execute_ rootwrap_ daemon neutron/ agent/linux/ utils.py: 108 agent.ovsdb. native. vlog [-] [POLLIN] on fd 19 __log_wakeup /opt/stack/ new/neutron/ .tox/dsvm- functional/ local/lib/ python2. 7/site- packages/ ovs/poller. py:246 agent.linux. utils [req-e6df0f81- aea0-42d4- a857-5b0514d959 52 - - - - -] Exit code: 0 execute neutron/ agent/linux/ utils.py: 153
2017-04-17 03:24:57.198 3562 DEBUG neutron.
2017-04-17 03:24:57.216 3562 DEBUG neutron.
And if we look into vswitchd logs, we see the device added twice:
2017-04- 17T03:24: 57.134Z| 01487|bridge| INFO|bridge test-brd1242ba3: added interface qg-74372988-7f on port 1 17T03:24: 57.306Z| 01492|bridge| INFO|bridge test-brd1242ba3: added interface qg-74372988-7f on port 1
[...]
2017-04-
Note the failure happened between those two.