Randomly we are getting this error in test runs:
ft1.123: mistral.tests.unit.engine.test_transport.TestTransport.test_transport_StringException: Empty attachments:
stdout
pythonlogging:'': {{{
ERROR [stevedore.extension] Could not load 'eventlet': <module 'oslo.messaging._executors.impl_eventlet' from '/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/_executors/impl_eventlet.pyc'> has no 'EventletExecutor' attribute
ERROR [stevedore.extension] <module 'oslo.messaging._executors.impl_eventlet' from '/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/_executors/impl_eventlet.pyc'> has no 'EventletExecutor' attribute
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/stevedore/extension.py", line 162, in _load_plugins
verify_requirements,
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/stevedore/named.py", line 123, in _load_one_plugin
verify_requirements,
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/stevedore/extension.py", line 178, in _load_one_plugin
plugin = ep.load(require=verify_requirements)
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/pkg_resources.py", line 2160, in load
raise ImportError("%r has no %r attribute" % (entry, attr))
ImportError: <module 'oslo.messaging._executors.impl_eventlet' from '/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/_executors/impl_eventlet.pyc'> has no 'EventletExecutor' attribute
INFO [workflow_trace] New execution started - [workbook_name = 'my_workbook', task_name = 'create-vms']
INFO [mistral.engine.drivers.default.engine] Submitted task for execution: '{'task_runtime_context': None, 'name': 'create-vms', 'parameters': {'image_id': 1234, 'flavor_id': 42}, 'tags': None, 'task_spec': {'action': 'MyRest.create-vm', 'requires': {}, 'name': 'create-vms', 'parameters': {'image_id': 1234, 'flavor_id': 42}}, 'created_at': '2014-06-18 02:32:07.859581', 'state': 'IDLE', 'action_spec': {'name': 'create-vm', 'parameters': ['image_id', 'flavor_id'], 'output': None, 'base-parameters': {'url': 'http://some_host/service/action/execute', 'headers': {'Content-Type': 'application/json', 'X-Auth-Token': '$.auth_token'}, 'method': 'GET'}, 'namespace': 'MyRest', 'class': 'std.mistral_http'}, 'workbook_name': 'my_workbook', 'in_context': {'__execution': {'task': 'create-vms', 'id': u'5ee10739-e075-476c-9949-87dded42bdcc', 'workbook_name': 'my_workbook'}}, 'requires': {}, 'id': u'41852a38-c5e6-426b-a10f-38840483e9ad', 'execution_id': u'5ee10739-e075-476c-9949-87dded42bdcc'}'
}}}
stderr: {{{
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 346, in fire_timers
timer()
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 56, in __call__
cb(*args, **kw)
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 194, in main
result = function(*args, **kwargs)
File "mistral/cmd/launch.py", line 57, in launch_executor
transport, target, endpoints, executor='eventlet')
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/rpc/server.py", line 122, in get_rpc_server
return msg_server.MessageHandlingServer(transport, dispatcher, executor)
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/server.py", line 91, in __init__
raise ExecutorLoadFailure(self.executor, ex)
ExecutorLoadFailure: Failed to load executor "eventlet": No 'oslo.messaging.executors' driver found, looking for 'eventlet'
}}}
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-mistral-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
return func(*args, **keywargs)
File "mistral/tests/unit/engine/test_transport.py", line 92, in test_transport
raise Exception('Timed out waiting for task to be processed.')
Exception: Timed out waiting for task to be processed.
I'm not able to reproduce this bug. I remove the .tox directory and rerun tox. Any idea what configuration is the test system where this error is occurring?