This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients David.Edelsohn, gvanrossum, pitrou, vstinner
Date 2014-02-11.17:02:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392138142.53.0.908326679948.issue20600@psf.upfronthosting.co.za>
In-reply-to
Content
Platform:
AIX-1-00F84C0C4C00-powerpc-32bit big-endian

[ 49/389/3] test_ssl
test_ssl: testing with 'OpenSSL 1.0.1e 11 Feb 2013' (1, 0, 1, 5, 15)
          under 'AIX-1-00F84C0C4C00-powerpc-32bit'
          HAS_SNI = True
          OP_ALL = 0x-7ffffc01
          OP_NO_TLSv1_1 = 0x10000000

Oh, there are many failures in test_ssl:

======================================================================
FAIL: test_load_cert_chain (test.test_ssl.ContextTests)
----------------------------------------------------------------------
ssl.SSLError: unknown error (_ssl.c:2496)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 733, in test_load_cert_chain
    ctx.load_cert_chain(BADCERT)
AssertionError: "PEM lib" does not match "unknown error (_ssl.c:2496)"

======================================================================
FAIL: test_load_verify_locations (test.test_ssl.ContextTests)
----------------------------------------------------------------------
ssl.SSLError: unknown error (_ssl.c:2719)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 818, in test_load_verify_locations
    ctx.load_verify_locations(BADCERT)
AssertionError: "PEM lib" does not match "unknown error (_ssl.c:2719)"

======================================================================
FAIL: test_connect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
ssl.SSLError: A failure in the SSL library occurred (_ssl.c:598)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 1140, in test_connect
    s.connect, ("svn.python.org", 443))
AssertionError: "certificate verify failed" does not match "A failure in the SSL library occurred (_ssl.c:598)"

======================================================================
FAIL: test_connect_with_context (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
ssl.SSLError: A failure in the SSL library occurred (_ssl.c:598)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 1246, in test_connect_with_context
    s.connect, ("svn.python.org", 443))
AssertionError: "certificate verify failed" does not match "A failure in the SSL library occurred (_ssl.c:598)"

======================================================================
FAIL: test_crl_check (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
ssl.SSLError: A failure in the SSL library occurred (_ssl.c:598)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 1977, in test_crl_check
    s.connect((HOST, server.port))
AssertionError: "certificate verify failed" does not match "A failure in the SSL library occurred (_ssl.c:598)"

======================================================================
FAIL: test_default_ciphers (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 2563, in test_default_ciphers
    self.assertIn("no shared cipher", str(server.conn_errors[0]))
AssertionError: 'no shared cipher' not found in 'A failure in the SSL library occurred (_ssl.c:598)'

======================================================================
FAIL: test_sni_callback_alert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 2760, in test_sni_callback_alert
    self.assertEqual(cm.exception.reason, 'TLSV1_ALERT_ACCESS_DENIED')
AssertionError: None != 'TLSV1_ALERT_ACCESS_DENIED'

======================================================================
FAIL: test_sni_callback_raising (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 2776, in test_sni_callback_raising
    self.assertEqual(cm.exception.reason, 'SSLV3_ALERT_HANDSHAKE_FAILURE')
AssertionError: None != 'SSLV3_ALERT_HANDSHAKE_FAILURE'

======================================================================
FAIL: test_sni_callback_wrong_return_type (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_ssl.py", line 2794, in test_sni_callback_wrong_return_type
    self.assertEqual(cm.exception.reason, 'TLSV1_ALERT_INTERNAL_ERROR')
AssertionError: None != 'TLSV1_ALERT_INTERNAL_ERROR'
History
Date User Action Args
2014-02-11 17:02:22vstinnersetrecipients: + vstinner, gvanrossum, pitrou, David.Edelsohn
2014-02-11 17:02:22vstinnersetmessageid: <1392138142.53.0.908326679948.issue20600@psf.upfronthosting.co.za>
2014-02-11 17:02:22vstinnerlinkissue20600 messages
2014-02-11 17:02:21vstinnercreate