← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1174404] Re: Unittests crashes in system has no ipv6 support

 

** Changed in: neutron
       Status: In Progress => Invalid

** Changed in: neutron
     Assignee: pritesh (pritesh) => (unassigned)

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

Title:
  Unittests crashes in system has no ipv6 support

Status in OpenStack Neutron (virtual network service):
  Invalid
Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I'm trying to run unittests and got errors trying to execute tests:

  ======================================================================
  ERROR: nova.tests.test_service.TestWSGIService.test_service_random_port_with_ipv6
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    pythonlogging:'nova'

  Traceback (most recent call last):
    File "/root/openstack/nova/app/nova/tests/test_service.py", line 189, in test_service_random_port_with_ipv6
      test_service = service.WSGIService("test_service")
    File "/root/openstack/nova/app/nova/service.py", line 608, in __init__
      max_url_len=max_url_len)
    File "/root/openstack/nova/app/nova/wsgi.py", line 120, in __init__
      self._socket = eventlet.listen(bind_addr, family, backlog=backlog)
    File "/usr/lib/python2.6/site-packages/eventlet/convenience.py", line 35, in listen
      sock = socket.socket(family, socket.SOCK_STREAM)
    File "/usr/lib/python2.6/site-packages/eventlet/greenio.py", line 116, in __init__
      fd = _original_socket(family_or_realsock, *args, **kwargs)
    File "/usr/lib64/python2.6/socket.py", line 184, in __init__
      _sock = _realsocket(family, type, proto)
  error: [Errno 97] Address family not supported by protocol

  
  ======================================================================
  ERROR: nova.tests.test_wsgi.TestWSGIServer.test_start_random_port_with_ipv6
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    pythonlogging:'nova'

  Traceback (most recent call last):
    File "/root/openstack/nova/app/nova/tests/test_wsgi.py", line 106, in test_start_random_port_with_ipv6
      host="::1", port=0)
    File "/root/openstack/nova/app/nova/wsgi.py", line 120, in __init__
      self._socket = eventlet.listen(bind_addr, family, backlog=backlog)
    File "/usr/lib/python2.6/site-packages/eventlet/convenience.py", line 35, in listen
      sock = socket.socket(family, socket.SOCK_STREAM)
    File "/usr/lib/python2.6/site-packages/eventlet/greenio.py", line 116, in __init__
      fd = _original_socket(family_or_realsock, *args, **kwargs)
    File "/usr/lib64/python2.6/socket.py", line 184, in __init__
      _sock = _realsocket(family, type, proto)
  error: [Errno 97] Address family not supported by protocol

  
  ======================================================================
  ERROR: nova.tests.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    pythonlogging:'nova'

  Traceback (most recent call last):
    File "/root/openstack/nova/app/nova/tests/test_wsgi.py", line 212, in test_app_using_ipv6_and_ssl
      use_ssl=True)
    File "/root/openstack/nova/app/nova/wsgi.py", line 120, in __init__
      self._socket = eventlet.listen(bind_addr, family, backlog=backlog)
    File "/usr/lib/python2.6/site-packages/eventlet/convenience.py", line 35, in listen
      sock = socket.socket(family, socket.SOCK_STREAM)
    File "/usr/lib/python2.6/site-packages/eventlet/greenio.py", line 116, in __init__
      fd = _original_socket(family_or_realsock, *args, **kwargs)
    File "/usr/lib64/python2.6/socket.py", line 184, in __init__
      _sock = _realsocket(family, type, proto)
  error: [Errno 97] Address family not supported by protocol

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