http://bugs.winehq.org/show_bug.cgi?id=21271
Summary: python's test_socket test hangs Product: Wine Version: 1.1.35 Platform: x86 URL: http://www.python.org OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=25575) --> (http://bugs.winehq.org/attachment.cgi?id=25575) test output
Install python and run: wine 'c:\Python31\python.exe' -m test.test_socket
the test will hang. On Windows XP, passes fine. No terminal output. Python's output is: testFamily (__main__.NetworkConnectionAttributesTest) ...
http://bugs.winehq.org/show_bug.cgi?id=21271
--- Comment #1 from Austin English austinenglish@gmail.com 2010-01-06 15:21:22 --- Created an attachment (id=25576) --> (http://bugs.winehq.org/attachment.cgi?id=25576) python test file
Here's the testfile itself.
http://bugs.winehq.org/show_bug.cgi?id=21271
--- Comment #2 from Jeff Zaroyko jeffz@jeffz.name 2010-01-06 17:38:49 --- This test passes fine here. wine-1.1.35-458-g220af42
http://bugs.winehq.org/show_bug.cgi?id=21271
--- Comment #3 from Austin English austinenglish@gmail.com 2010-01-06 18:25:24 --- These tests were in a vm. It passes on my home machine. I'll test tomorrow and see if the native python test fails as well.
http://bugs.winehq.org/show_bug.cgi?id=21271
--- Comment #4 from Xavier Vachon xvachon@gmail.com 2011-04-04 18:44:29 CDT --- Created an attachment (id=33940) --> (http://bugs.winehq.org/attachment.cgi?id=33940) Results with wine 1.3.17 and Python 3.2
Ran 155 tests in 10.277s
FAILED (errors=1, skipped=5) Traceback (most recent call last): File "C:\Python32\lib\runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "C:\Python32\lib\runpy.py", line 73, in _run_code exec(code, run_globals) File "C:\Python32\lib\test\test_socket.py", line 2012, in <module> test_main() File "C:\Python32\lib\test\test_socket.py", line 2008, in test_main support.run_unittest(*tests) File "C:\Python32\lib\test\support.py", line 1145, in run_unittest _run_suite(suite) File "C:\Python32\lib\test\support.py", line 1128, in _run_suite raise TestFailed(err) test.support.TestFailed: Traceback (most recent call last): File "C:\Python32\lib\test\test_socket.py", line 609, in test_sock_ioctl s.ioctl(socket.SIO_KEEPALIVE_VALS, (1, 100, 100)) socket.error: [Errno 10022] Windows Error 0x%X
http://bugs.winehq.org/show_bug.cgi?id=21271
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2011-09-07 20:08:14 CDT --- I have sent a patch addressing this issue: http://source.winehq.org/patches/data/78523
http://bugs.winehq.org/show_bug.cgi?id=21271
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2011-09-08 17:10:43 CDT --- The patch was commited. There are no more errors, the skipped count is still 5 due to other unimplemented things that I'll take a look in near future.
http://bugs.winehq.org/show_bug.cgi?id=21271
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com 2011-11-14 18:39:18 CST --- Austin, the test error in this bug was fixed by http://source.winehq.org/git/wine.git/commit/2e08b31f7cf2449c90909c1bc46eace...
The main report was about the hanging which I think does not include the skipped tests, they are not harmful. So, can we mark this bug as fixed?
http://bugs.winehq.org/show_bug.cgi?id=21271
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2e08b31f7cf2449c90909c1bc46 | |eace80028f8ad Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com 2011-11-14 18:44:01 CST --- (In reply to comment #7)
Austin, the test error in this bug was fixed by http://source.winehq.org/git/wine.git/commit/2e08b31f7cf2449c90909c1bc46eace...
The main report was about the hanging which I think does not include the skipped tests, they are not harmful. So, can we mark this bug as fixed?
Sure, thanks!
http://bugs.winehq.org/show_bug.cgi?id=21271
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2011-11-18 13:04:36 CST --- Closing bugs fixed in 1.3.33.