You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_sendfile_fallback_close_peer_in_the_middle_of_receiving false failure on macOS #98174
The test_sendfile_fallback_close_peer_in_the_middle_of_receiving test in test.test_asyncio.test_sendfile.SelectEventLoopTests fails with error “OSError: [Errno 41] Protocol wrong type for socket” intermittently on macOS.
If it does still fail in 3.11 or main, could you suggest a PR? We're short of experts in this area for sure! And I think our main SSL expert works primarily (only?) on Linux.
@gvanrossum: I proposed a PR just now. Thanks for reviewing!
@akulakov: Neither can I reproduce the issue on my dev machine, though I've seen it a few times on CI runs. I suppose the load on CI server makes the issue easier to occur.
Activity
fancidev commentedon Oct 11, 2022
Another CI test run with the same error (Python 3.7):
Python-3.7-PySide2-macos-latest
sobolevn commentedon Oct 12, 2022
Can you please try the latest version? Will it still fail for you?
Refs #97546
gvanrossum commentedon Oct 12, 2022
If it does still fail in 3.11 or main, could you suggest a PR? We're short of experts in this area for sure! And I think our main SSL expert works primarily (only?) on Linux.
akulakov commentedon Oct 14, 2022
I could not reproduce locally on MacOS 11.5.2 M1, I did a few hundred test runs on both Py 3.9 and latest dev version.
fancidev commentedon Oct 16, 2022
@sobolevn: The issue still exists in recent code -- here is a CI run error example on 3.11.0-rc1: https://github.com/fancidev/qtinter/actions/runs/3219024415/jobs/5263887528#logs
@gvanrossum: I proposed a PR just now. Thanks for reviewing!
@akulakov: Neither can I reproduce the issue on my dev machine, though I've seen it a few times on CI runs. I suppose the load on CI server makes the issue easier to occur.
gh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallback_clo…
pythongh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallba…
pythongh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallba…
gh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallback_clo…
Merge branch 'main' into typewatch
[3.11] gh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallb…