← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1372076] [NEW] OVS Agent unit tests waste time waiting for timeout

 

Public bug reported:

The OVS Agent unit tests do not prevent it from trying to report its
state which eats up >10 seconds per unit test.

Traceback (most recent call last):
  File "neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 260, in _report_state
    self.use_call)
  File "neutron/agent/rpc.py", line 70, in report_state
    return self.call(context, msg)
  File "neutron/common/log.py", line 34, in wrapper
    return method(*args, **kwargs)
  File "neutron/common/rpc.py", line 161, in call
    context, msg, rpc_method='call', **kwargs)
  File "neutron/common/rpc.py", line 187, in __call_rpc_method
    return func(context, msg['method'], **msg['args'])
  File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 389, in call
    return self.prepare().call(ctxt, method, **kwargs)
  File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
    retry=self.retry)
  File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
    timeout=timeout, retry=retry)
  File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/_drivers/impl_fake.py", line 194, in send
    return self._send(target, ctxt, message, wait_for_reply, timeout)
  File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/_drivers/impl_fake.py", line 186, in _send
    'No reply on topic %s' % target.topic)
MessagingTimeout: No reply on topic q-plugin

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1372076

Title:
  OVS Agent unit tests waste time waiting for timeout

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  The OVS Agent unit tests do not prevent it from trying to report its
  state which eats up >10 seconds per unit test.

  Traceback (most recent call last):
    File "neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 260, in _report_state
      self.use_call)
    File "neutron/agent/rpc.py", line 70, in report_state
      return self.call(context, msg)
    File "neutron/common/log.py", line 34, in wrapper
      return method(*args, **kwargs)
    File "neutron/common/rpc.py", line 161, in call
      context, msg, rpc_method='call', **kwargs)
    File "neutron/common/rpc.py", line 187, in __call_rpc_method
      return func(context, msg['method'], **msg['args'])
    File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 389, in call
      return self.prepare().call(ctxt, method, **kwargs)
    File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
      retry=self.retry)
    File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
      timeout=timeout, retry=retry)
    File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/_drivers/impl_fake.py", line 194, in send
      return self._send(target, ctxt, message, wait_for_reply, timeout)
    File "/home/administrator/code/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/messaging/_drivers/impl_fake.py", line 186, in _send
      'No reply on topic %s' % target.topic)
  MessagingTimeout: No reply on topic q-plugin

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1372076/+subscriptions


Follow ups

References