[openstack-dev] [Nova] libvirt unit test errors

Kenichi Oomichi oomichi at mxs.nes.nec.co.jp
Tue Jan 7 13:36:29 UTC 2014


Hi Gray,

This problem is https://bugs.launchpad.net/nova/+bug/1266711 .
The thread is http://lists.openstack.org/pipermail/openstack-dev/2014-January/023575.html .


Thanks
Ken'ichi Ohmichi

---

> -----Original Message-----
> From: Gary Kotton [mailto:gkotton at vmware.com]
> Sent: Tuesday, January 07, 2014 10:29 PM
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: [openstack-dev] [Nova] libvirt unit test errors
> 
> Hi,
> Anyone aware of the following:
> 
> 2014-01-07 11:59:47.428 | Requirement already satisfied (use --upgrade to upgrade): markupsafe
> in ./.tox/py27/lib/python2.7/site-packages (from Jinja2>=2.3->sphinx>=1.1.2,<1.2)
> 2014-01-07 11:59:47.429 | Cleaning up...
> 2014-01-07 12:01:32.134 | Unimplemented block at ../../relaxng.c:3824
> 2014-01-07 12:01:33.893 | Unimplemented block at ../../relaxng.c:3824
> 2014-01-07 12:10:25.292 | libvirt:  error : internal error: could not initialize domain event timer
> 2014-01-07 12:11:32.783 | running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> 2014-01-07 12:11:32.783 | OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> 2014-01-07 12:11:32.783 | OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
> 2014-01-07 12:11:32.784 | ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --list
> 2014-01-07 12:11:32.784 | running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> 2014-01-07 12:11:32.784 | OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> 2014-01-07 12:11:32.784 | OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
> 2014-01-07 12:11:32.784 | ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list
> /tmp/tmp.pS70eSqBIL/tmpZV93Uv
> 2014-01-07 12:11:32.784 | running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> 2014-01-07 12:11:32.784 | OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> 2014-01-07 12:11:32.785 | OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
> 2014-01-07 12:11:32.785 | ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list
> /tmp/tmp.pS70eSqBIL/tmpC2pLuK
> 2014-01-07 12:11:32.785 | running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> 2014-01-07 12:11:32.785 | OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> 2014-01-07 12:11:32.785 | OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
> 2014-01-07 12:11:32.785 | ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list
> /tmp/tmp.pS70eSqBIL/tmpd1ZnJj
> 2014-01-07 12:11:32.785 | running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> 2014-01-07 12:11:32.786 | OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> 2014-01-07 12:11:32.786 | OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
> 2014-01-07 12:11:32.786 | ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list
> /tmp/tmp.pS70eSqBIL/tmpRB7C09
> 2014-01-07 12:11:32.786 | ======================================================================
> 2014-01-07 12:11:32.786 | FAIL:
> nova.tests.virt.libvirt.test_libvirt.LibvirtNonblockingTestCase.test_connection_to_primitive
> 2014-01-07 12:11:32.786 | tags: worker-2
> 2014-01-07 12:11:32.786 | ----------------------------------------------------------------------
> 2014-01-07 12:11:32.787 | Empty attachments:
> 2014-01-07 12:11:32.787 |   stderr
> 2014-01-07 12:11:32.787 |   stdout
> 2014-01-07 12:11:32.787 |
> 2014-01-07 12:11:32.787 | pythonlogging:'': {{{WARNING [nova.virt.libvirt.driver] URI test:///default does not support
> events: internal error: could not initialize domain event timer}}}
> 2014-01-07 12:11:32.787 |
> 2014-01-07 12:11:32.787 | Traceback (most recent call last):
> 2014-01-07 12:11:32.788 |   File "nova/tests/virt/libvirt/test_libvirt.py", line 7570, in test_connection_to_primitive
> 2014-01-07 12:11:32.788 |     jsonutils.to_primitive(connection._conn, convert_instances=True)
> 2014-01-07 12:11:32.788 |   File "nova/virt/libvirt/driver.py", line 666, in _get_connection
> 2014-01-07 12:11:32.788 |     wrapped_conn = self._get_new_connection()
> 2014-01-07 12:11:32.788 |   File "nova/virt/libvirt/driver.py", line 652, in _get_new_connection
> 2014-01-07 12:11:32.788 |     wrapped_conn.registerCloseCallback(
> 2014-01-07 12:11:32.788 |   File
> "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/tpool.py", line 172,
> in __getattr__
> 2014-01-07 12:11:32.789 |     f = getattr(self._obj,attr_name)
> 2014-01-07 12:11:32.789 | AttributeError: virConnect instance has no attribute 'registerCloseCallback'
> 
> Thanks
> Gary



More information about the OpenStack-dev mailing list