← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1750996] Re: lbaas: radware driver TestLBaaSDriverRestClient.test_recover_was_called fails in Python 3.6

 

neutron-lbaas is now maintained by the octavia team. I forward this to
octavia launchpad but it is now frozen. More recommended way is to file
a bug on octavia storyboard (neutron-lbaas project).

** Project changed: neutron => octavia

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

Title:
  lbaas: radware driver
  TestLBaaSDriverRestClient.test_recover_was_called fails in Python 3.6

Status in octavia:
  New

Bug description:
  While building the neutron-lbaas package in Debian Sid with Python
  3.6, I get the below failure.

  FAIL: neutron_lbaas.tests.unit.drivers.radware.test_v2_plugin_driver.TestLBaaSDriverRestClient.test_recover_was_called
  neutron_lbaas.tests.unit.drivers.radware.test_v2_plugin_driver.TestLBaaSDriverRestClient.test_recover_was_called
  ----------------------------------------------------------------------
  _StringException: pythonlogging:'': {{{
  WARNING [neutron_lbaas.services.loadbalancer.plugin] neutron-lbaas is now deprecated. See: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation
   WARNING [neutron.api.extensions] Did not find expected name "Ip_substring_port_filtering_lib" in /usr/lib/python3/dist-packages/neutron/extensions/ip_substring_port_filtering_lib.py
   WARNING [neutron_lbaas.services.loadbalancer.plugin] neutron-lbaas is now deprecated. See: https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation
   WARNING [neutron.quota.resource_registry] member is already registered
   WARNING [neutron.quota.resource_registry] loadbalancer is already registered
   WARNING [neutron.quota.resource_registry] listener is already registered
   WARNING [neutron.quota.resource_registry] pool is already registered
   WARNING [neutron.quota.resource_registry] healthmonitor is already registered
   WARNING [neutron.quota.resource_registry] l7policy is already registered
  }}}

  stderr: {{{
  /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated.  Call .resolve and .require separately.
    return pkg_resources.EntryPoint.parse("x=" + s).load(False)
  }}}

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/neutron/tests/base.py", line 132, in func
      return f(self, *args, **kwargs)
    File "/home/zigo/sources/openstack/queens/services/neutron-lbaas/build-area/neutron-lbaas-12.0.0~rc1/neutron_lbaas/tests/unit/drivers/radware/test_v2_plugin_driver.py", line 243, in test_recover_was_called
      None, None)
    File "/home/zigo/sources/openstack/queens/services/neutron-lbaas/build-area/neutron-lbaas-12.0.0~rc1/neutron_lbaas/drivers/radware/rest_client.py", line 90, in call
      resp = self._call(action, resource, data, headers, binary)
    File "/usr/lib/python3/dist-packages/oslo_log/helpers.py", line 67, in wrapper
      return method(*args, **kwargs)
    File "/home/zigo/sources/openstack/queens/services/neutron-lbaas/build-area/neutron-lbaas-12.0.0~rc1/neutron_lbaas/drivers/radware/rest_client.py", line 139, in _call
      self.server, self.port, timeout=self.timeout)
    File "/usr/lib/python3.6/http/client.py", line 1377, in __init__
      context = ssl._create_default_https_context()
    File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line 414, in green_create_default_context
      context = _original_create_default_context(*a, **kw)
    File "/usr/lib/python3.6/ssl.py", line 506, in create_default_context
      context.verify_mode = CERT_REQUIRED
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode

  [ ... 3 pages of the same thing like this ... ]

    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
    File "/usr/lib/python3.6/ssl.py", line 485, in verify_mode
      super(SSLContext, SSLContext).verify_mode.__set__(self, value)
  RecursionError: maximum recursion depth exceeded while calling a Python object

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


References