Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619634 - dev-python/twisted-17.1.0 fails tests with net-libs/gnutls[-sslv3]
Summary: dev-python/twisted-17.1.0 fails tests with net-libs/gnutls[-sslv3]
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 614386
  Show dependency tree
 
Reported: 2017-05-25 05:56 UTC by Mart Raudsepp
Modified: 2018-07-07 19:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
compressed build.log (build.log.xz,99.42 KB, application/x-xz)
2017-05-25 05:58 UTC, Mart Raudsepp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2017-05-25 05:56:40 UTC
twisted.words.test.test_domish.ElementTests.test_addContentBytes
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('rsa routines', 'RSA_sign', 'digest too big for rsa key'), ('SSL routines', 'ssl3_send_server_key_exchange', 'EVP lib')]
/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/protocols/policies.py:125:connectionLost
/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/test/test_ssl.py:540:connectionLost
/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:500:errback
/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:567:_startRunCallbacks
--- <exception caught here> ---
/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:653:_runCallbacks
/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/test/test_ssl.py:562:checkResult
/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/python/failure.py:346:trap
/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/protocols/tls.py:235:_checkHandshakeStatus
/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py:1638:do_handshake
/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py:1378:_raise_ssl_error
/usr/lib64/python2.7/site-packages/OpenSSL/_util.py:54:exception_from_error_queue
]]

twisted.test.test_ssl.ConnectionLostTests.test_bothSidesLoseConnection
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/test/test_ssl.py", line 562, in checkResult
    failure.trap(ConnectionDone)
  File "/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/python/failure.py", line 346, in trap
    self.raiseException()
  File "/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/protocols/tls.py", line 235, in _checkHandshakeStatus
    self._tlsConnection.do_handshake()
  File "/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py", line 1638, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py", line 1378, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib64/python2.7/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('rsa routines', 'RSA_sign', 'digest too big for rsa key'), ('SSL routines', 'ssl3_send_server_key_exchange', 'EVP lib')]

twisted.test.test_ssl.ConnectionLostTests.test_bothSidesLoseConnection
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/test/test_ssl.py", line 562, in checkResult
    failure.trap(ConnectionDone)
  File "/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/python/failure.py", line 346, in trap
    self.raiseException()
  File "/tmp/portage/dev-python/twisted-17.1.0/work/Twisted-17.1.0-python2_7/test/lib/Twisted-17.1.0-py2.7-linux-x86_64.egg/twisted/protocols/tls.py", line 235, in _checkHandshakeStatus
    self._tlsConnection.do_handshake()
  File "/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py", line 1638, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py", line 1378, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib64/python2.7/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')]

twisted.test.test_ssl.ConnectionLostTests.test_bothSidesLoseConnection
-------------------------------------------------------------------------------
Ran 11765 tests in 187.371s

FAILED (skips=1560, errors=3, successes=10204)
Comment 1 Mart Raudsepp gentoo-dev 2017-05-25 05:58:54 UTC
Created attachment 474158 [details]
compressed build.log
Comment 2 Mike Gilbert gentoo-dev 2017-05-25 15:29:51 UTC
This looks like an OpenSSL-related failure -- nothing to do with gnutls.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2018-07-07 19:41:00 UTC
Please retest with either 17.9.0 release or 18.4.0 release.  I am looking to drop the 17.1.0 release, try for 17.9.0 stabilization.