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 alex, benjamin.peterson, christian.heimes, cstratak, dstufft, hroncok, janssen, kroeckx, ned.deily, vstinner, yan12125
Date 2019-01-18.16:52:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On Fedora 29 with OpenSSL 1.1.1 FIPS  11 Sep 2018, test_connect_cadata() of test_ssl fails randomly:

$ ./python -m test -u all -F -m test_connect_cadata test_ssl 
Run tests sequentially
0:00:00 load avg: 0.43 [  1] test_ssl
test test_ssl failed -- Traceback (most recent call last):
  File "/home/vstinner/prog/python/3.6/Lib/test/", line 1642, in test_connect_cadata
  File "/home/vstinner/prog/python/3.6/Lib/", line 1109, in connect
    self._real_connect(addr, False)
  File "/home/vstinner/prog/python/3.6/Lib/", line 1100, in _real_connect
  File "/home/vstinner/prog/python/3.6/Lib/", line 1077, in do_handshake
  File "/home/vstinner/prog/python/3.6/Lib/", line 689, in do_handshake
ConnectionResetError: [Errno 104] Connection reset by peer

test_ssl failed

== Tests result: FAILURE ==

1 test failed:

Total duration: 131 ms
Tests result: FAILURE

This bug has been fixed in master by commit 529525fb5a8fd9b96ab4021311a598c77588b918. It was partially backported in 3.6 with commit 2a4ee8aa01d61b6a9c8e9c65c211e61bdb471826, but the backport is incomplete.

I wrote PR 11612 to backport remaining fixes.
Date User Action Args
2019-01-18 16:52:03vstinnersetrecipients: + vstinner, janssen, christian.heimes, benjamin.peterson, ned.deily, alex, dstufft, kroeckx, yan12125, cstratak, hroncok
2019-01-18 16:52:01vstinnersetmessageid: <>
2019-01-18 16:52:01vstinnerlinkissue32947 messages
2019-01-18 16:52:01vstinnercreate