Issue 31885: Cygwin: socket test suites hang indefinitely due to bug in Cygwin (original) (raw)

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 , 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 , , and 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). [1] https://cygwin.com/ml/cygwin-patches/2017-q2/msg00037.html
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 https://cygwin.com/git/?p=newlib-cygwin.git;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.
History
Date User Action Args
2022-04-11 14:58:53 admin set github: 76066
2021-10-19 13:48:29 erik.bray set messages: +
2021-10-19 13:38:50 iritkatriel set messages: +
2021-10-19 13:33:48 erik.bray set status: open -> closedresolution: out of datemessages: + stage: patch review -> resolved
2021-10-18 22:59:25 iritkatriel set nosy: + iritkatrielmessages: +
2017-10-27 14:59:26 erik.bray set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest4119>
2017-10-27 14:56:03 erik.bray create