Unittest fails due to unexpected ovs-vsctl calling in ryu plugin test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Akihiro Motoki | ||
Havana |
Fix Released
|
High
|
Akihiro Motoki |
Bug Description
In the unit test, ovs-vsctl command is unexpectedly called in ryu plugin test.
It occurs in the latest master branch (4b47717b132336
In gating test, the followings hit this issue:
http://
http://
According to the result of debugging by adding print_traceback in ovs_lib.
the following tests fails and the following stack trace is got:
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
File "/home/
result = function(*args, **kwargs)
File "neutron/
namespace, **args)
File "neutron/
result = getattr(proxyobj, method)(ctxt, **kwargs)
File "neutron/
vif_port = self.int_
File "neutron/
print traceback.
More intersting thing is that it occurs only when both OVS plugin test and Ryu plugin test are run.
More precisely, it happens when we run
- first neutron.
- then neutron.
$ source .venv/bin/activate
$ OS_DEBUG=1 python setup.py testr --testr-
Changed in neutron: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
tags: | added: havana-backport-potential |
tags: | removed: havana-backport-potential |
Changed in neutron: | |
milestone: | icehouse-1 → 2014.1 |
LOG output of neutron. tests.unit. ryu.test_ ryu_plugin. TestRyuPortsV2. test_update_ port_not_ admin
It is one of the unit tests where run-vsctl is called.
http:// paste.openstack .org/show/ 54037/