[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Yes, sorry ‘bout the cryptic messages :) This is against current main branch (I’m not at my computer right now, so I don’t have the git ref). The first two failures came after 328 and 389 runs. Increasing the timeout (using test.support.SHORT_TIMEOUT) made

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Christian Heimes
Christian Heimes added the comment: me, too. Did the change of import for timeout setting cause the issue? -- ___ Python tracker ___ __

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Erlend, could you maybe add some context to the messages, unfortunately, I am failing to understand what they mean :( -- ___ Python tracker _

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: $ git diff diff --git a/Lib/ssl.py b/Lib/ssl.py index 2b131de043..9c281d8028 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -257,8 +257,9 @@ class _TLSMessageType: if sys.platform == "win32": from _ssl import enum_certificates, enum_crls +from test.supp

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Got it: 0:02:29 load avg: 2.81 [389] test_ssl test test_ssl failed -- Traceback (most recent call last): File "/Users/erlendaasland/src/cpython-ssl/Lib/test/test_ssl.py", line 2132, in test_get_server_certificate _test_get_server_certificate(self, *s

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Getting there. The error message is similar: $ ./python.exe -m test test_ssl -m test_get_server_certificate -u all -F ... 0:02:11 load avg: 2.10 [328] test_ssl test test_ssl failed -- Traceback (most recent call last): File "/Users/erlendaasland/src/cpyth

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I feared that ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Is possible that these are flaky tests but I am afraid this may be something more important so o would prefer to go with 3 ;) -- ___ Python tracker _

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I’ll see if I can provoke it on my Mac. What’s the preferred solution? 1. Catch the connection failure and skip the test? 2. Retry connection? 3. Find the root cause and make sure it never ever happens :) Maybe 2. is acceptable :) --

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I neither have a macOS nor a Windows machine to reproduce and debug the > issue. Can you maybe use a VM for Windows? -- ___ Python tracker __

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Christian Heimes
Christian Heimes added the comment: The problem could be related to bpo-43921. I neither have a macOS nor a Windows machine to reproduce and debug the issue. Since I'm cannot reproduce the problem on Linux, I'm unable to debug and fix it. -- ___ P

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue44229] test_get_server_certificate fails intermittently on macOS

2021-05-25 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- title: test_get_server_certificate fails on macOS -> test_get_server_certificate fails intermittently on macOS ___ Python tracker ___