yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43368
[Bug 1526413] Re: test_app_using_ipv6_and_ssl fails with requests 2.9.0
Reviewed: https://review.openstack.org/258001
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ba82e4a875f01bb883deb78517953989b690a36c
Submitter: Jenkins
Branch: master
commit ba82e4a875f01bb883deb78517953989b690a36c
Author: Matt Riedemann <mriedem@xxxxxxxxxx>
Date: Tue Dec 15 08:38:17 2015 -0800
Block requests 2.9.0
Breaks the wsgi IPv6 unit tests.
Depends-On: Ifb080c72a16ed4b93040fb7c06bdc072b7247f6e
Change-Id: I158bd1cba9bc85521ac0e236f66e7780a59e9ac2
Closes-Bug: #1526413
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1526413
Title:
test_app_using_ipv6_and_ssl fails with requests 2.9.0
Status in OpenStack Compute (nova):
Fix Released
Bug description:
http://logs.openstack.org/50/257950/1/check/gate-nova-
python27/6dfe685/testr_results.html.gz
ft1.13019: nova.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl_StringException: Empty attachments:
stdout
pythonlogging:'': {{{
2015-12-15 15:55:06,381 WARNING [oslo_reports.guru_meditation_report] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
2015-12-15 15:55:06,383 INFO [nova.wsgi] fake_ssl listening on ::1:54837
2015-12-15 15:55:06,390 INFO [nova.fake_ssl.wsgi.server] (6121) wsgi starting up on https://::1:54837/
}}}
stderr: {{{
/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
}}}
Traceback (most recent call last):
File "nova/tests/unit/test_wsgi.py", line 333, in test_app_using_ipv6_and_ssl
verify=os.path.join(SSL_CERT_DIR, 'ca.crt'))
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/requests/adapters.py", line 447, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname '[::1]' doesn't match either of 'localhost', 'ip6-localhost', '127.0.0.1', '::1'
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message:%5C%22requests.exceptions.SSLError:%20hostname%20'%5B::1%5D'%20doesn't%20match%20either%20of%20'localhost',%20'ip6-localhost',%20'127.0.0.1',%20'::1'%5C%22%20AND%20tags:%5C%22console%5C%22
just started today when requests 2.9.0 was released:
https://pypi.python.org/pypi/requests/2.9.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1526413/+subscriptions
References