← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1854051] Re: py36 unit test cases fails

 

** Changed in: neutron
       Status: Incomplete => Won't Fix

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

Title:
  py36 unit test cases fails

Status in neutron:
  Won't Fix

Bug description:
  Branch: master
  heads:
  2a8b70d Merge "Update security group rule if port range is all ports"
  fd5e292 Merge "Remove neutron-grenade job from Neutron CI queues"
  f6aef3c Merge "Switch neutron-tempest-with-os-ken-master job to zuul v3"
  2174bb0 Merge "Remove old, legacy experimental CI jobs"
  8672029 Merge "HA race condition test for DHCP scheduling"
  71e3cb0 Merge "Parameter 'fileds' value is not used in _get_subnets"
  b5e5082 Merge "Update networking-bgpvpn and networking-bagpipe liuetenants"
  3c1139c Merge "Make network support read and write separation"
  67b613b Merge "NetcatTester.stop_processes skip "No such process" exception"
  185efb3 Update networking-bgpvpn and networking-bagpipe liuetenants
  728d8ee NetcatTester.stop_processes skip "No such process" exception

  Tox env was definitely upgraded to meet the requirements.txt and test-
  requirements.txt

  Exceptions:
  ==============================
  Failed 2 tests - output below:
  ==============================

  neutron.tests.unit.plugins.ml2.drivers.openvswitch.agent.test_ovs_neutron_agent.TestOvsDvrNeutronAgentOSKen.test_get_dvr_mac_address_exception
  ----------------------------------------------------------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      b'Traceback (most recent call last):'
      b'  File "/home/yulong/github/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py", line 164, in get_dvr_mac_address'
      b'    self.get_dvr_mac_address_with_retry()'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper'
      b'    result = f(*args, **kwargs)'
      b'  File "/home/yulong/github/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py", line 184, in get_dvr_mac_address_with_retry'
      b'    self.context, self.host)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/mock/mock.py", line 1092, in __call__'
      b'    return _mock_self._mock_call(*args, **kwargs)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/mock/mock.py", line 1143, in _mock_call'
      b'    raise effect'
      b'oslo_messaging.rpc.client.RemoteError: Remote error: None None'
      b'None.'
      b''
      b'During handling of the above exception, another exception occurred:'
      b''
      b'Traceback (most recent call last):'
      b'  File "/home/yulong/github/neutron/neutron/tests/base.py", line 182, in func'
      b'    return f(self, *args, **kwargs)'
      b'  File "/home/yulong/github/neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py", line 3614, in test_get_dvr_mac_address_exception'
      b'    self.agent.dvr_agent.get_dvr_mac_address()'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper'
      b'    result = f(*args, **kwargs)'
      b'  File "/home/yulong/github/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py", line 169, in get_dvr_mac_address'
      b"    'message: %s', e)"
      b'  File "/usr/lib64/python3.6/logging/__init__.py", line 1653, in error'
      b'    self.log(ERROR, msg, *args, **kwargs)'
      b'  File "/usr/lib64/python3.6/logging/__init__.py", line 1674, in log'
      b'    self.logger.log(level, msg, *args, **kwargs)'
      b'  File "/usr/lib64/python3.6/logging/__init__.py", line 1374, in log'
      b'    self._log(level, msg, args, **kwargs)'
      b'  File "/usr/lib64/python3.6/logging/__init__.py", line 1443, in _log'
      b'    exc_info, func, extra, sinfo)'
      b'  File "/usr/lib64/python3.6/logging/__init__.py", line 1413, in makeRecord'
      b'    sinfo)'
      b'  File "/usr/lib64/python3.6/logging/__init__.py", line 277, in __init__'
      b'    if (args and len(args) == 1 and isinstance(args[0], collections.Mapping)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib64/python3.6/abc.py", line 193, in __instancecheck__'
      b'    return cls.__subclasscheck__(subclass)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib64/python3.6/abc.py", line 228, in __subclasscheck__'
      b'    if issubclass(subclass, scls):'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib64/python3.6/abc.py", line 228, in __subclasscheck__'
      b'    if issubclass(subclass, scls):'
      b'  File "/usr/lib64/python3.6/typing.py", line 1154, in __subclasscheck__'
      b'    return super().__subclasscheck__(cls)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib64/python3.6/abc.py", line 209, in __subclasscheck__'
      b'    ok = cls.__subclasshook__(subclass)'
      b'  File "/usr/lib64/python3.6/typing.py", line 884, in __extrahook__'
      b'    if issubclass(subclass, scls):'
      b'  File "/usr/lib64/python3.6/typing.py", line 1154, in __subclasscheck__'
      b'    return super().__subclasscheck__(cls)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib64/python3.6/abc.py", line 209, in __subclasscheck__'
      b'    ok = cls.__subclasshook__(subclass)'
      b'  File "/usr/lib64/python3.6/typing.py", line 884, in __extrahook__'
      b'    if issubclass(subclass, scls):'
      ...
      ...
      thousands of same log output.
      ...
      ...
      b'  File "/usr/lib64/python3.6/typing.py", line 884, in __extrahook__'
      b'    if issubclass(subclass, scls):'
      b'  File "/usr/lib64/python3.6/typing.py", line 1154, in __subclasscheck__'
      b'    return super().__subclasscheck__(cls)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib64/python3.6/abc.py", line 199, in __subclasscheck__'
      b'    if subclass in cls._abc_cache:'
      b'RecursionError: maximum recursion depth exceeded'
      b''

  Captured pythonlogging:
  ~~~~~~~~~~~~~~~~~~~~~~~
      b'   ERROR [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Failed reporting state!'
      b'Traceback (most recent call last):'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/oslo_messaging/_drivers/impl_fake.py", line 208, in _send'
      b'    reply, failure = reply_q.get(timeout=timeout)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/eventlet/queue.py", line 322, in get'
      b'    return waiter.wait()'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/eventlet/queue.py", line 141, in wait'
      b'    return get_hub().switch()'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 298, in switch'
      b'    return self.greenlet.switch()'
      b'queue.Empty'
      b''
      b'During handling of the above exception, another exception occurred:'
      b''
      b'Traceback (most recent call last):'
      b'  File "/home/yulong/github/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 362, in _report_state'
      b'    True)'
      b'  File "/home/yulong/github/neutron/neutron/agent/rpc.py", line 101, in report_state'
      b"    return method(context, 'report_state', **kwargs)"
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 181, in call'
      b'    transport_options=self.transport_options)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/oslo_messaging/transport.py", line 129, in _send'
      b'    transport_options=transport_options)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/oslo_messaging/_drivers/impl_fake.py", line 224, in send'
      b'    transport_options)'
      b'  File "/home/yulong/github/neutron/.tox/py36/lib/python3.6/site-packages/oslo_messaging/_drivers/impl_fake.py", line 215, in _send'
      b"    'No reply on topic %s' % target.topic)"
      b'oslo_messaging.exceptions.MessagingTimeout: No reply on topic q-reports-plugin'
      b''

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



References