[Bug 1555343] Re: test_ssl_server and test_two_servers fail with ECONNREFUSED

Corey Bryant corey.bryant at canonical.com
Wed Apr 20 12:06:35 UTC 2016


I just noticed I opened this against the wrong project.  Nonetheless I'm
no longer able to recreate this.

** Changed in: nova (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1555343

Title:
  test_ssl_server and test_two_servers fail with ECONNREFUSED

Status in nova package in Ubuntu:
  Invalid

Bug description:
  The following tests are failing in Ubuntu package builds for Mitaka
  b3.  Note that these ran successfully on b2 prior to commit
  d754a830861fb55b047e7b4d43ba7f485fc120dd, which replaced the eventlet-
  based raw socket client with requests.

  
  ======================================================================
  FAIL: nova.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_ssl_server
  nova.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_ssl_server
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{2016-03-08 19:46:08,144 INFO [nova.wsgi] fake_ssl
  listening on 127.0.0.1:58439}}}

  Traceback (most recent call last):
    File "/«PKGBUILDDIR»/nova/tests/unit/test_wsgi.py", line 249, in test_ssl_server
      verify=os.path.join(SSL_CERT_DIR, 'ca.crt'), data='PING')
    File "/usr/lib/python2.7/dist-packages/requests/api.py", line 107, in post
      return request('post', url, data=data, json=json, **kwargs)
    File "/usr/lib/python2.7/dist-packages/requests/api.py", line 53, in request
      return session.request(method=method, url=url, **kwargs)
    File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
      resp = self.send(prep, **send_kwargs)
    File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
      r = adapter.send(request, **kwargs)
    File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 437, in send
      raise ConnectionError(e, request=request)
  requests.exceptions.ConnectionError: HTTPSConnectionPool(host='127.0.0.1', port=58439): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2cf7230290>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)))

  
  ======================================================================
  FAIL: nova.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_two_servers
  nova.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_two_servers
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2016-03-08 19:46:08,156 INFO [nova.wsgi] fake_ssl listening on 127.0.0.1:49378
  2016-03-08 19:46:08,157 INFO [nova.wsgi] fake listening on 127.0.0.1:45692
  2016-03-08 19:46:08,159 INFO [nova.fake_ssl.wsgi.server] (13987) wsgi starting up on https://127.0.0.1:58439
  2016-03-08 19:46:08,160 INFO [nova.fake_ssl.wsgi.server] (13987) wsgi starting up on https://127.0.0.1:49378
  2016-03-08 19:46:08,160 INFO [nova.fake.wsgi.server] (13987) wsgi starting up on http://127.0.0.1:45692
  }}}

  Traceback (most recent call last):
    File "/«PKGBUILDDIR»/nova/tests/unit/test_wsgi.py", line 273, in test_two_servers
      verify=os.path.join(SSL_CERT_DIR, 'ca.crt'), data='PING')
    File "/usr/lib/python2.7/dist-packages/requests/api.py", line 107, in post
      return request('post', url, data=data, json=json, **kwargs)
    File "/usr/lib/python2.7/dist-packages/requests/api.py", line 53, in request
      return session.request(method=method, url=url, **kwargs)
    File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
      resp = self.send(prep, **send_kwargs)
    File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
      r = adapter.send(request, **kwargs)
    File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 437, in send
      raise ConnectionError(e, request=request)
  requests.exceptions.ConnectionError: HTTPSConnectionPool(host='127.0.0.1', port=49378): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2cf42fc790>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)))

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1555343/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list