yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12573
[Bug 1287884] Re: VMware: VimException __str__ attempts to concatenate string to list
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1287884
Title:
VMware: VimException __str__ attempts to concatenate string to list
Status in OpenStack Compute (Nova):
Fix Released
Status in The OpenStack VMwareAPI subTeam:
Fix Committed
Bug description:
See: http://logs.openstack.org/52/71652/1/check/gate-nova-
python27/28a0cd4/testr_results.html.gz
ft1.9645: nova.tests.virt.vmwareapi.test_driver_api.VMwareSessionTestCase.test_call_method_session_exception_StringException: Empty attachments:
stdout
pythonlogging:'': {{{
DEBUG [stevedore.extension] found extension EntryPoint.parse('qpid = oslo.messaging._drivers.impl_qpid:QpidDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('zmq = oslo.messaging._drivers.impl_zmq:ZmqDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('kombu = oslo.messaging._drivers.impl_rabbit:RabbitDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('rabbit = oslo.messaging._drivers.impl_rabbit:RabbitDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('fake = oslo.messaging._drivers.impl_fake:FakeDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.no_op_notifier = oslo.messaging.notify._impl_noop:NoOpDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.test_notifier = oslo.messaging.notify._impl_test:TestDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.rpc_notifier = oslo.messaging.notify._impl_messaging:MessagingDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.log_notifier = oslo.messaging.notify._impl_log:LogDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.rpc_notifier2 = oslo.messaging.notify._impl_messaging:MessagingV2Driver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('log = oslo.messaging.notify._impl_log:LogDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('messagingv2 = oslo.messaging.notify._impl_messaging:MessagingV2Driver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('noop = oslo.messaging.notify._impl_noop:NoOpDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('routing = oslo.messaging.notify._impl_routing:RoutingDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('test = oslo.messaging.notify._impl_test:TestDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('messaging = oslo.messaging.notify._impl_messaging:MessagingDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('qpid = oslo.messaging._drivers.impl_qpid:QpidDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('zmq = oslo.messaging._drivers.impl_zmq:ZmqDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('kombu = oslo.messaging._drivers.impl_rabbit:RabbitDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('rabbit = oslo.messaging._drivers.impl_rabbit:RabbitDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('fake = oslo.messaging._drivers.impl_fake:FakeDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.no_op_notifier = oslo.messaging.notify._impl_noop:NoOpDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.test_notifier = oslo.messaging.notify._impl_test:TestDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.rpc_notifier = oslo.messaging.notify._impl_messaging:MessagingDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.log_notifier = oslo.messaging.notify._impl_log:LogDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('nova.openstack.common.notifier.rpc_notifier2 = oslo.messaging.notify._impl_messaging:MessagingV2Driver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('log = oslo.messaging.notify._impl_log:LogDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('messagingv2 = oslo.messaging.notify._impl_messaging:MessagingV2Driver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('noop = oslo.messaging.notify._impl_noop:NoOpDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('routing = oslo.messaging.notify._impl_routing:RoutingDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('test = oslo.messaging.notify._impl_test:TestDriver')
DEBUG [stevedore.extension] found extension EntryPoint.parse('messaging = oslo.messaging.notify._impl_messaging:MessagingDriver')
DEBUG [nova.utils] Reloading cached file /tmp/tmp.I4J731lqv7/tmpVVL7D0/tmpbzXyz0/policy.json
}}}
stderr: {{{
nova/tests/virt/vmwareapi/test_driver_api.py:175: DeprecationWarning: With-statements now directly support multiple context managers
_fake_create_session),
}}}
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
return func(*args, **keywargs)
File "nova/tests/virt/vmwareapi/test_driver_api.py", line 183, in test_call_method_session_exception
*args, **kwargs)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 393, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 404, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 454, in _matchHelper
mismatch = matcher.match(matchee)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 385, in match
reraise(*matchee)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 902, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "nova/virt/vmwareapi/driver.py", line 846, in _call_method
'ex': exc})
File "/usr/lib/python2.7/logging/__init__.py", line 1412, in debug
self.logger.debug(msg, *args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1128, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1258, in _log
self.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1268, in handle
self.callHandlers(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1308, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 748, in handle
self.emit(record)
File "/usr/lib/python2.7/logging/__init__.py", line 874, in emit
self.handleError(record)
File "/usr/lib/python2.7/logging/__init__.py", line 846, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 723, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
msg = msg % self.args
File "nova/virt/vmwareapi/error_util.py", line 45, in __str__
return self.exception_summary + str(self.exception_obj)
TypeError: can only concatenate list (not "str") to list
... and ...
ft1.9783: process-returncode_StringException: Binary content:
traceback (test/plain; charset="utf8")
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1287884/+subscriptions
References