Comment 2 for bug 1777561

Revision history for this message
Mithun Mistry (mmithun) wrote : Unittest failures in ci

Hi Shiva,

We are seeing unit test failures in the following reviews :
https://review.opencontrail.org/#/c/40701/
https://review.opencontrail.org/#/c/43689/
https://review.opencontrail.org/#/c/43675/
https://review.opencontrail.org/#/c/33485/
https://review.opencontrail.org/#/c/43762/

Can someone please check the error log and submit a fix if required

unittest log : http://logs.opencontrail.org/01/40701/6/check/contrail-vnc-build-unittest-ubuntu-trusty/74b10bd/ara/result/89e1d701-9d58-4dd4-9df4-444c96589a69/

ERROR:

Python 2.7.6: /home/zuul/contrail_repo/build/debug/config/vnc_openstack/.venv/bin/python
Tue Jun 19 19:40:47 2018

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/home/zuul/contrail-5.1.0/build/debug/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py in wrapper(*args=(<bound method DBInterface.wrapper of <vnc_openstack.neutron_plugin_db.DBInterface object>>, <vnc_api.gen.resource_client.VirtualNetwork object>), **kwargs={'context': {'is_admin': 'False', 'operation': 'READALL', 'roles': u'', 'tenant': 'bd1dab61-1d1f-4f97-8a67-89b345584773', 'tenant_id': 'bd1dab61-1d1f-4f97-8a67-89b345584773', 'user_id': u''}, 'oper': 3})
  194 if 'oper' in kwargs and kwargs['oper'] == LIST:
  195 try:
  196 return method(*args, **kwargs)
  197 except NoIdError:
  198 pass
method = <function err_on_object_2>
args = (<bound method DBInterface.wrapper of <vnc_openstack.neutron_plugin_db.DBInterface object>>, <vnc_api.gen.resource_client.VirtualNetwork object>)
kwargs = {'context': {'is_admin': 'False', 'operation': 'READALL', 'roles': u'', 'tenant': 'bd1dab61-1d1f-4f97-8a67-89b345584773', 'tenant_id': 'bd1dab61-1d1f-4f97-8a67-89b345584773', 'user_id': u''}, 'oper': 3}

/home/zuul/contrail-5.1.0/build/debug/config/vnc_openstack/tests/test_basic.py in err_on_object_2(orig_method=<bound method DBInterface.wrapper of <vnc_openstack.neutron_plugin_db.DBInterface object>>, res_obj=<vnc_api.gen.resource_client.VirtualNetwork object>, *args=(), **kwargs={'context': {'is_admin': 'FBottle v0.12.13 server starting up (using GeventPoolServer(spawn=<Pool at 0x7fc7733bf190 set([])>))...
Listening on http://172.16.8.45:44924/
Hit Ctrl-C to quit.

CC build/debug/vrouter/test/dp_core_test.o
scons: rebuilding `build/debug/vrouter/dp-core/vr_buildinfo.o' because:
           `vrouter/dp-core/vr_buildinfo.c' is no longer a dependency
           `vrouter/dp-core/vr_buildinfo.c' is a new dependency
CC build/debug/vrouter/dp-core/vr_buildinfo.o
scons: rebuilding `build/debug/vrouter/dp-core/libdp_core.a' because `build/debug/vrouter/dp-core/vr_buildinfo.o' changed
AR build/debug/vrouter/dp-core/libdp_core.a
RANLIB build/debug/vrouter/dp-core/libdp_core.a
scons: building `build/debug/vrouter/test/dp_core_test' because it doesn't exist
LD build/debug/vrouter/test/dp_core_test

Regards,

Mithun