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.

Title: Cygwin: socket test suites hang indefinitely due to bug in Cygwin
Type: crash Stage: resolved
Components: Versions:
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: erik.bray, iritkatriel
Priority: normal Keywords: patch

Created on 2017-10-27 14:56 by erik.bray, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 4152 closed erik.bray, 2017-10-27 14:59
Messages (5)
msg305123 - (view) Author: Erik Bray (erik.bray) * (Python triager) Date: 2017-10-27 14:56
Like issue31882, this is to mention an upstream bug in Cygwin that causes one of the tests in the test_socket test suite to hang indefinitely.  That bug is fixed upstream [1], but for now it would still be better to skip the test on Cygwin.

The bug is that in some cases a blocking send() (particularly for a large amount data) cannot be interrupted by a signal even if SA_RESTART is not set.

Fixes to this issue, along with issue31882, issue31883, and issue31878 provide the bare minimum for Cygwin to at least compile (not necessarily all optional extension modules) and run the test suite from start to finish (though there may be other tests that cause the interpreter to lock up, but that are currently masked by other bugs).

msg404240 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-10-18 22:59
Erik, is this still relevant, given the Cygwin bug was fixed 4 years ago?
msg404296 - (view) Author: Erik Bray (erik.bray) * (Python triager) Date: 2021-10-19 13:33
Thanks for asking.  Indeed the fix to that issue was included in;a=commit;h=5ca286666a0cd71436a84797d5d66831790004e0 and as Cygwin obsoletes old releases rather quickly I see no reason to keep this issue open.
msg404299 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-10-19 13:38
Thanks. Do you know whether anyone is looking at Cygwin support for cpython at the moment? Is there interest in that?
msg404302 - (view) Author: Erik Bray (erik.bray) * (Python triager) Date: 2021-10-19 13:48
That person was me--I have the keys to a cygwin buildbot, but it's currently not running.  I lost the urgency to make cygwin fully supported, though it's come a long way.  In particular the deprecation of distutils should help nix some of the long-standing issues.
Date User Action Args
2022-04-11 14:58:53adminsetgithub: 76066
2021-10-19 13:48:29erik.braysetmessages: + msg404302
2021-10-19 13:38:50iritkatrielsetmessages: + msg404299
2021-10-19 13:33:48erik.braysetstatus: open -> closed
resolution: out of date
messages: + msg404296

stage: patch review -> resolved
2021-10-18 22:59:25iritkatrielsetnosy: + iritkatriel
messages: + msg404240
2017-10-27 14:59:26erik.braysetkeywords: + patch
stage: patch review
pull_requests: + pull_request4119
2017-10-27 14:56:03erik.braycreate