{"action":"opened","issue":{"url":"https://api.github.com/repos/shazow/urllib3/issues/621","labels_url":"https://api.github.com/repos/shazow/urllib3/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/shazow/urllib3/issues/621/comments","events_url":"https://api.github.com/repos/shazow/urllib3/issues/621/events","html_url":"https://github.com/shazow/urllib3/issues/621","id":75792661,"number":621,"title":"failures in tests in 1.10.3 under python2.7","user":{"login":"idella","id":1655078,"avatar_url":"https://avatars.githubusercontent.com/u/1655078?v=3","gravatar_id":"","url":"https://api.github.com/users/idella","html_url":"https://github.com/idella","followers_url":"https://api.github.com/users/idella/followers","following_url":"https://api.github.com/users/idella/following{/other_user}","gists_url":"https://api.github.com/users/idella/gists{/gist_id}","starred_url":"https://api.github.com/users/idella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idella/subscriptions","organizations_url":"https://api.github.com/users/idella/orgs","repos_url":"https://api.github.com/users/idella/repos","events_url":"https://api.github.com/users/idella/events{/privacy}","received_events_url":"https://api.github.com/users/idella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T00:37:08Z","updated_at":"2015-05-13T00:37:08Z","closed_at":null,"body":"```bash\r\n======================================================================\r\nERROR: test_verified_with_bad_ca_certs (test.contrib.test_pyopenssl.TestHTTPS)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/test/with_dummyserver/test_https.py\", line 93, in test_verified_with_bad_ca_certs\r\n    https_pool.request('GET', '/')\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 68, in request\r\n    **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 81, in request_encode_url\r\n    return self.urlopen(method, url, **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 544, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 344, in _make_request\r\n    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 314, in _raise_timeout\r\n    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6\r\nTypeError: __str__ returned non-string (type Error)\r\n-------------------- >> begin captured logging << --------------------\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (1): localhost\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: test_verified_without_ca_certs (test.contrib.test_pyopenssl.TestHTTPS)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/test/with_dummyserver/test_https.py\", line 106, in test_verified_without_ca_certs\r\n    https_pool.request('GET', '/')\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 68, in request\r\n    **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 81, in request_encode_url\r\n    return self.urlopen(method, url, **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 544, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 344, in _make_request\r\n    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 314, in _raise_timeout\r\n    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6\r\nTypeError: __str__ returned non-string (type Error)\r\n-------------------- >> begin captured logging << --------------------\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (1): localhost\r\ntornado.general: WARNING: SSL Error on 18 ('::1', 51276, 0, 0): [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:581)\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: test_discards_connection_on_sslerror (test.contrib.test_pyopenssl.TestHTTPS_TLSv1)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/test/with_dummyserver/test_https.py\", line 409, in test_discards_connection_on_sslerror\r\n    self.assertRaises(SSLError, self._pool.request, 'GET', '/')\r\n  File \"/usr/lib64/python2.7/unittest/case.py\", line 473, in assertRaises\r\n    callableObj(*args, **kwargs)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 68, in request\r\n    **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 81, in request_encode_url\r\n    return self.urlopen(method, url, **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 544, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 344, in _make_request\r\n    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 314, in _raise_timeout\r\n    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6\r\nTypeError: __str__ returned non-string (type Error)\r\n-------------------- >> begin captured logging << --------------------\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (1): localhost\r\ntornado.general: WARNING: SSL Error on 21 ('::1', 45956, 0, 0): [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:581)\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: test_set_ssl_version_to_sslv3 (test.contrib.test_pyopenssl.TestHTTPS_TLSv1)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/test/with_dummyserver/test_https.py\", line 397, in test_set_ssl_version_to_sslv3\r\n    self.assertRaises(SSLError, self._pool.request, 'GET', '/')\r\n  File \"/usr/lib64/python2.7/unittest/case.py\", line 473, in assertRaises\r\n    callableObj(*args, **kwargs)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 68, in request\r\n    **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 81, in request_encode_url\r\n    return self.urlopen(method, url, **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 544, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 344, in _make_request\r\n    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 314, in _raise_timeout\r\n    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6\r\nTypeError: __str__ returned non-string (type Error)\r\n-------------------- >> begin captured logging << --------------------\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (1): localhost\r\ntornado.general: WARNING: SSL Error on 21 ('::1', 45957, 0, 0): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:581)\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: test_ssl_version_as_short_string (test.contrib.test_pyopenssl.TestHTTPS_TLSv1)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/test/with_dummyserver/test_https.py\", line 405, in test_ssl_version_as_short_string\r\n    self.assertRaises(SSLError, self._pool.request, 'GET', '/')\r\n  File \"/usr/lib64/python2.7/unittest/case.py\", line 473, in assertRaises\r\n    callableObj(*args, **kwargs)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 68, in request\r\n    **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 81, in request_encode_url\r\n    return self.urlopen(method, url, **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 544, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 344, in _make_request\r\n    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 314, in _raise_timeout\r\n    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6\r\nTypeError: __str__ returned non-string (type Error)\r\n-------------------- >> begin captured logging << --------------------\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (1): localhost\r\ntornado.general: WARNING: SSL Error on 21 ('::1', 45958, 0, 0): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:581)\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: test_ssl_version_as_string (test.contrib.test_pyopenssl.TestHTTPS_TLSv1)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/test/with_dummyserver/test_https.py\", line 401, in test_ssl_version_as_string\r\n    self.assertRaises(SSLError, self._pool.request, 'GET', '/')\r\n  File \"/usr/lib64/python2.7/unittest/case.py\", line 473, in assertRaises\r\n    callableObj(*args, **kwargs)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 68, in request\r\n    **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 81, in request_encode_url\r\n    return self.urlopen(method, url, **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 544, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 344, in _make_request\r\n    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 314, in _raise_timeout\r\n    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6\r\nTypeError: __str__ returned non-string (type Error)\r\n-------------------- >> begin captured logging << --------------------\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (1): localhost\r\ntornado.general: WARNING: SSL Error on 21 ('::1', 45959, 0, 0): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:581)\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: test_hostname_in_first_request_packet (test.contrib.test_pyopenssl.TestSNI)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/test/with_dummyserver/test_socketlevel.py\", line 69, in test_hostname_in_first_request_packet\r\n    pool.request('GET', '/', retries=0)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 68, in request\r\n    **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/request.py\", line 81, in request_encode_url\r\n    return self.urlopen(method, url, **urlopen_kw)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 544, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 344, in _make_request\r\n    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/urllib3/connectionpool.py\", line 314, in _raise_timeout\r\n    if 'timed out' in str(err) or 'did not complete (read)' in str(err):  # Python 2.6\r\nTypeError: __str__ returned non-string (type SysCallError)\r\n-------------------- >> begin captured logging << --------------------\r\nurllib3.util.retry: DEBUG: Converted retries value: 0 -> Retry(total=0, connect=None, read=None, redirect=None)\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (1): localhost\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nFAIL: test_verified (test.contrib.test_pyopenssl.TestHTTPS)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/gen2/TmpDir/portage/dev-python/urllib3-1.10.3/work/urllib3-1.10.3/test/with_dummyserver/test_https.py\", line 70, in test_verified\r\n    self.assertFalse(warn.called, warn.call_args_list)\r\nAssertionError: [call('Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)', <class 'urllib3.exceptions.SecurityWarning'>)]\r\n-------------------- >> begin captured logging << --------------------\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (1): localhost\r\nurllib3.connectionpool: INFO: Starting new HTTPS connection (2): localhost\r\nurllib3.connectionpool: DEBUG: \"GET / HTTP/1.1\" 200 13\r\n\r\nTOTAL                                  1767     98    94%   \r\n----------------------------------------------------------------------\r\nRan 309 tests in 17.232s\r\n\r\nFAILED (SKIP=4, errors=7, failures=1)\r\n```\r\n\r\nDo you require any further information?"}}