[openstack-dev] [neutron][ml2 plugin] unit test errors

Andreas Scheuring scheuran at linux.vnet.ibm.com
Fri May 11 09:08:13 UTC 2018


So what you need to do first is to make a patch for networking-onos that does ONLY the following


replace all occurrences of 

* neutron.callbacks  by neutron_lib.callbacks
* neutron.plugins.ml2.driver_api by neutron_lib.plugins.ml2.api


Push this patch for review. After that tests should succeed again in the check queue - merge it.

Then you can put your new great custom code on top of this patch.

---
Andreas Scheuring (andreas_s)



On 9. May 2018, at 10:04, Andreas Scheuring <scheuran at linux.vnet.ibm.com> wrote:

neutron.plugins.ml2.driver_api got moved to neutron-lib. You probably need to update the networking-onos code and fix all imports there and push the changes...


---
Andreas Scheuring (andreas_s)



On 9. May 2018, at 10:00, Sangho Shin <sangho at opennetworking.org <mailto:sangho at opennetworking.org>> wrote:

Hello, 

I am getting the following unit test error in Zuul test. See below.
The error is caused only in the pike version, and in stable/ocata version, I do not have the error.
( If you can give me any clue, it would be very helpful )

BTW, in nosetests, there is no error.
However, in tox -e py27 tests, I am getting different errors like below. Actually, it is caused because the tests are using different version of neutron library somehow. Actual neutron is installed in /opt/stack/neutron path, and it has correct python files such as callbacks and driver api, which are complained below.

So, I would like to know how to specify the correct neutron location in tox tests.

Thank you,

Sangho


tox -e py27 errors.

---------------------------------


=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: networking_onos.tests.unit.extensions.test_driver
Traceback (most recent call last):
  File "/opt/stack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/opt/stack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "networking_onos/tests/unit/extensions/test_driver.py", line 25, in <module>
    import networking_onos.extensions.securitygroup as onos_sg_driver
  File "networking_onos/extensions/securitygroup.py", line 21, in <module>
    from networking_onos.extensions import callback
  File "networking_onos/extensions/callback.py", line 15, in <module>
    from neutron.callbacks import events
ImportError: No module named callbacks

Failed to import test module: networking_onos.tests.unit.plugins.ml2.test_driver
Traceback (most recent call last):
  File "/opt/stack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/opt/stack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "networking_onos/tests/unit/plugins/ml2/test_driver.py", line 24, in <module>
    from neutron.plugins.ml2 import driver_api as api
ImportError: cannot import name driver_api






Zuul errors.

---------------------------

Traceback (most recent call last):
2018-05-09 05:12:30.077594 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_077594> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py>", line 1182, in _execute_context
2018-05-09 05:12:30.077653 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_077653> | ubuntu-xenial |     context)
2018-05-09 05:12:30.077964 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_077964> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py>", line 470, in do_execute
2018-05-09 05:12:30.078065 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_078065> | ubuntu-xenial |     cursor.execute(statement, parameters)
2018-05-09 05:12:30.078210 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_078210> | ubuntu-xenial | InterfaceError: Error binding parameter 0 - probably unsupported type.
2018-05-09 05:12:30.078282 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_078282> | ubuntu-xenial | update failed: No details.
2018-05-09 05:12:30.078367 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_078367> | ubuntu-xenial | Traceback (most recent call last):
2018-05-09 05:12:30.078683 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_078683> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/api/v2/resource.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/api/v2/resource.py>", line 98, in resource
2018-05-09 05:12:30.078791 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_078791> | ubuntu-xenial |     result = method(request=request, **args)
2018-05-09 05:12:30.079085 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_079085> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/api/v2/base.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/api/v2/base.py>", line 615, in update
2018-05-09 05:12:30.079202 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_079202> | ubuntu-xenial |     return self._update(request, id, body, **kwargs)
2018-05-09 05:12:30.079480 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_079480> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/db/api.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/db/api.py>", line 93, in wrapped
2018-05-09 05:12:30.079574 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_079574> | ubuntu-xenial |     setattr(e, '_RETRY_EXCEEDED', True)
2018-05-09 05:12:30.079870 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_079870> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py>", line 220, in __exit__
2018-05-09 05:12:30.079941 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_079941> | ubuntu-xenial |     self.force_reraise()
2018-05-09 05:12:30.080242 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_080242> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py>", line 196, in force_reraise
2018-05-09 05:12:30.080350 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_080350> | ubuntu-xenial |     six.reraise(self.type_, self.value, self.tb)
2018-05-09 05:12:30.080629 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_080629> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/db/api.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/db/api.py>", line 89, in wrapped
2018-05-09 05:12:30.080706 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_080706> | ubuntu-xenial |     return f(*args, **kwargs)
2018-05-09 05:12:30.080985 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_080985> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py>", line 150, in wrapper
2018-05-09 05:12:30.081064 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_081064> | ubuntu-xenial |     ectxt.value = e.inner_exc
2018-05-09 05:12:30.081363 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_081363> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py>", line 220, in __exit__
2018-05-09 05:12:30.081433 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_081433> | ubuntu-xenial |     self.force_reraise()
2018-05-09 05:12:30.081733 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_081733> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py>", line 196, in force_reraise
2018-05-09 05:12:30.081849 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_081849> | ubuntu-xenial |     six.reraise(self.type_, self.value, self.tb)
2018-05-09 05:12:30.082131 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_082131> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py>", line 138, in wrapper
2018-05-09 05:12:30.082208 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_082208> | ubuntu-xenial |     return f(*args, **kwargs)
2018-05-09 05:12:30.082489 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_082489> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/db/api.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/db/api.py>", line 128, in wrapped
2018-05-09 05:12:30.082620 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_082620> | ubuntu-xenial |     LOG.debug("Retry wrapper got retriable exception: %s", e)
2018-05-09 05:12:30.082931 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_082931> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py>", line 220, in __exit__
2018-05-09 05:12:30.083006 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_083006> | ubuntu-xenial |     self.force_reraise()
2018-05-09 05:12:30.083306 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_083306> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py>", line 196, in force_reraise
2018-05-09 05:12:30.083415 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_083415> | ubuntu-xenial |     six.reraise(self.type_, self.value, self.tb)
2018-05-09 05:12:30.083696 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_083696> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/db/api.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/db/api.py>", line 124, in wrapped
2018-05-09 05:12:30.083786 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_083786> | ubuntu-xenial |     return f(*dup_args, **dup_kwargs)
2018-05-09 05:12:30.084081 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_084081> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/api/v2/base.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/api/v2/base.py>", line 676, in _update
2018-05-09 05:12:30.084161 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_084161> | ubuntu-xenial |     original=orig_object_copy)
2018-05-09 05:12:30.084466 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_084466> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron_lib/callbacks/registry.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron_lib/callbacks/registry.py>", line 53, in notify
2018-05-09 05:12:30.084611 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_084611> | ubuntu-xenial |     _get_callback_manager().notify(resource, event, trigger, **kwargs)
2018-05-09 05:12:30.084932 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_084932> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron_lib/db/utils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron_lib/db/utils.py>", line 105, in _wrapped
2018-05-09 05:12:30.085026 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_085026> | ubuntu-xenial |     raise db_exc.RetryRequest(e)
2018-05-09 05:12:30.085319 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_085319> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py>", line 220, in __exit__
2018-05-09 05:12:30.085387 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_085387> | ubuntu-xenial |     self.force_reraise()
2018-05-09 05:12:30.085687 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_085687> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py>", line 196, in force_reraise
2018-05-09 05:12:30.085796 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_085796> | ubuntu-xenial |     six.reraise(self.type_, self.value, self.tb)
2018-05-09 05:12:30.086098 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_086098> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron_lib/db/utils.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron_lib/db/utils.py>", line 100, in _wrapped
2018-05-09 05:12:30.086192 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_086192> | ubuntu-xenial |     return function(*args, **kwargs)
2018-05-09 05:12:30.086499 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_086499> | ubuntu-xenial |   File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron_lib/callbacks/manager.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron_lib/callbacks/manager.py>", line 152, in notify
2018-05-09 05:12:30.086613 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_086613> | ubuntu-xenial |     raise exceptions.CallbackFailure(errors=errors)
2018-05-09 05:12:30.094917 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_094917> | ubuntu-xenial | CallbackFailure: Callback neutron.notifiers.nova.Notifier._send_nova_notification-115311 failed with "(sqlite3.InterfaceError) Error binding parameter 0 - probably unsupported type. [SQL: u'SELECT ports.project_id AS ports_project_id, ports.id <http://ports.id/> AS ports_id, ports.name AS ports_name, ports.network_id AS ports_network_id, ports.mac_address AS ports_mac_address, ports.admin_state_up AS ports_admin_state_up, ports.status AS ports_status, ports.device_id AS ports_device_id, ports.device_owner AS ports_device_owner, ports.ip_allocation AS ports_ip_allocation, ports.standard_attr_id AS ports_standard_attr_id, standardattributes_1.id <http://standardattributes_1.id/> AS standardattributes_1_id, standardattributes_1.resource_type AS standardattributes_1_resource_type, standardattributes_1.description AS standardattributes_1_description, standardattributes_1.revision_number AS standardattributes_1_revision_number, standardattributes_1.created_at AS standardattributes_1_created_at, standardattributes_1.updated_at AS standardattributes_1_updated_at, securitygroupportbindings_1.port_id AS securitygroupportbindings_1_port_id, securitygroupportbindings_1.security_group_id AS securitygroupportbindings_1_security_group_id, portbindingports_1.port_id AS portbindingports_1_port_id, portbindingports_1.host AS portbindingports_1_host, portdataplanestatuses_1.port_id AS portdataplanestatuses_1_port_id, portdataplanestatuses_1.data_plane_status AS portdataplanestatuses_1_data_plane_status, portsecuritybindings_1.port_id AS portsecuritybindings_1_port_id, portsecuritybindings_1.port_security_enabled AS portsecuritybindings_1_port_security_enabled, ml2_port_bindings_1.port_id AS ml2_port_bindings_1_port_id, ml2_port_bindings_1.host AS ml2_port_bindings_1_host, ml2_port_bindings_1.vnic_type AS ml2_port_bindings_1_vnic_type, ml2_port_bindings_1.profile AS ml2_port_bindings_1_profile, ml2_port_bindings_1.vif_type AS ml2_port_bindings_1_vif_type, ml2_port_bindings_1.vif_details AS ml2_port_bindings_1_vif_details, ml2_port_bindings_1.status AS ml2_port_bindings_1_status, portdnses_1.port_id AS portdnses_1_port_id, portdnses_1.current_dns_name AS portdnses_1_current_dns_name, portdnses_1.current_dns_domain AS portdnses_1_current_dns_domain, portdnses_1.previous_dns_name AS portdnses_1_previous_dns_name, portdnses_1.previous_dns_domain AS portdnses_1_previous_dns_domain, portdnses_1.dns_name AS portdnses_1_dns_name, portdnses_1.dns_domain AS portdnses_1_dns_domain, qos_port_policy_bindings_1.policy_id AS qos_port_policy_bindings_1_policy_id, qos_port_policy_bindings_1.port_id AS qos_port_policy_bindings_1_port_id, standardattributes_2.id <http://standardattributes_2.id/> AS standardattributes_2_id, standardattributes_2.resource_type AS standardattributes_2_resource_type, standardattributes_2.description AS standardattributes_2_description, standardattributes_2.revision_number AS standardattributes_2_revision_number, standardattributes_2.created_at AS standardattributes_2_created_at, standardattributes_2.updated_at AS standardattributes_2_updated_at, trunks_1.project_id AS trunks_1_project_id, trunks_1.id <http://trunks_1.id/> AS trunks_1_id, trunks_1.admin_state_up AS trunks_1_admin_state_up, trunks_1.name AS trunks_1_name, trunks_1.port_id AS trunks_1_port_id, trunks_1.status AS trunks_1_status, trunks_1.standard_attr_id AS trunks_1_standard_attr_id, subports_1.port_id AS subports_1_port_id, subports_1.trunk_id AS subports_1_trunk_id, subports_1.segmentation_type AS subports_1_segmentation_type, subports_1.segmentation_id AS subports_1_segmentation_id \nFROM ports LEFT OUTER JOIN standardattributes AS standardattributes_1 ON standardattributes_1.id <http://standardattributes_1.id/> = ports.standard_attr_id LEFT OUTER JOIN securitygroupportbindings AS securitygroupportbindings_1 ON ports.id <http://ports.id/> = securitygroupportbindings_1.port_id LEFT OUTER JOIN portbindingports AS portbindingports_1 ON ports.id <http://ports.id/> = portbindingports_1.port_id LEFT OUTER JOIN portdataplanestatuses AS portdataplanestatuses_1 ON ports.id <http://ports.id/> = portdataplanestatuses_1.port_id LEFT OUTER JOIN portsecuritybindings AS portsecuritybindings_1 ON ports.id <http://ports.id/> = portsecuritybindings_1.port_id LEFT OUTER JOIN ml2_port_bindings AS ml2_port_bindings_1 ON ports.id <http://ports.id/> = ml2_port_bindings_1.port_id LEFT OUTER JOIN portdnses AS portdnses_1 ON ports.id <http://ports.id/> = portdnses_1.port_id LEFT OUTER JOIN qos_port_policy_bindings AS qos_port_policy_bindings_1 ON ports.id <http://ports.id/> = qos_port_policy_bindings_1.port_id LEFT OUTER JOIN trunks AS trunks_1 ON ports.id <http://ports.id/> = trunks_1.port_id LEFT OUTER JOIN standardattributes AS standardattributes_2 ON standardattributes_2.id <http://standardattributes_2.id/> = trunks_1.standard_attr_id LEFT OUTER JOIN subports AS subports_1 ON ports.id <http://ports.id/> = subports_1.port_id \nWHERE ports.id <http://ports.id/> = ?'] [parameters: (<MagicMock name='L3RouterPlugin().get_floatingip().get()' id='140045078474256'>,)]"
2018-05-09 05:12:30.097463 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_097463> | ubuntu-xenial | {7} networking_onos.tests.unit.plugins.l3.test_driver.ONOSL3PluginTestCase.test_update_floating_ip [1.435310s] ... FAILED
2018-05-09 05:12:30.097519 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_097519> | ubuntu-xenial |
2018-05-09 05:12:30.097608 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_097608> | ubuntu-xenial | Captured traceback:
2018-05-09 05:12:30.097702 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_097702> | ubuntu-xenial | ~~~~~~~~~~~~~~~~~~~
2018-05-09 05:12:30.097838 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_097838> | ubuntu-xenial |     Traceback (most recent call last):
2018-05-09 05:12:30.098230 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_098230> | ubuntu-xenial |       File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/tests/base.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/neutron/tests/base.py>", line 118, in func
2018-05-09 05:12:30.098369 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_098369> | ubuntu-xenial |         return f(self, *args, **kwargs)
2018-05-09 05:12:30.098642 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_098642> | ubuntu-xenial |       File "networking_onos/tests/unit/plugins/l3/test_driver.py", line 166, in test_update_floating_ip
2018-05-09 05:12:30.098858 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_098858> | ubuntu-xenial |         resp = self._test_send_msg(floating_ip_request, 'put', url)
2018-05-09 05:12:30.099090 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_099090> | ubuntu-xenial |       File "networking_onos/tests/unit/plugins/l3/test_driver.py", line 96, in _test_send_msg
2018-05-09 05:12:30.099261 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_099261> | ubuntu-xenial |         resp = self.api.put(url, self.serialize(dict_info))
2018-05-09 05:12:30.099597 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_099597> | ubuntu-xenial |       File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py>", line 395, in put
2018-05-09 05:12:30.099712 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_099712> | ubuntu-xenial |         content_type=content_type,
2018-05-09 05:12:30.100056 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_100056> | ubuntu-xenial |       File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py>", line 747, in _gen_request
2018-05-09 05:12:30.100164 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_100164> | ubuntu-xenial |         expect_errors=expect_errors)
2018-05-09 05:12:30.100486 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_100486> | ubuntu-xenial |       File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py>", line 643, in do_request
2018-05-09 05:12:30.100603 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_100603> | ubuntu-xenial |         self._check_status(status, res)
2018-05-09 05:12:30.100931 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_100931> | ubuntu-xenial |       File "/home/zuul/src/git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py <http://git.openstack.org/openstack/networking-onos/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py>", line 675, in _check_status
2018-05-09 05:12:30.101002 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_101002> | ubuntu-xenial |         res)
2018-05-09 05:12:30.101354 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_101354> | ubuntu-xenial |     webtest.app.AppError: Bad response: 500 Internal Server Error (not 200 OK or 3xx redirect for http://localhost/floatingips/7464aaf0-27ea-448a-97df-51732f9e0e25.json <http://localhost/floatingips/7464aaf0-27ea-448a-97df-51732f9e0e25.json>)
2018-05-09 05:12:30.101685 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_101685> | ubuntu-xenial |     '{"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "detail": "", "type": "HTTPInternalServerError"}}'
2018-05-09 05:12:30.101735 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_101735> | ubuntu-xenial |
2018-05-09 05:12:30.102007 <http://logs.openstack.org/01/566201/11/check/openstack-tox-py27/2780817/job-output.txt.gz#_2018-05-09_05_12_30_102007> | ubuntu-xenial | {7} networking_onos.tests.unit.plugins.ml2.test_driver.ONOSMechanismDriverTestCase.test_create_port_postcommit [0.004284s] ... ok

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org <mailto:OpenStack-dev-request at lists.openstack.org>?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180511/a38fea1a/attachment.html>


More information about the OpenStack-dev mailing list