New submission from Terry J. Reedy:
test_multiprocessing is giving multiple errors like
Process Process-21:
Traceback (most recent call last):
File "F:\Python\dev\py27\lib\multiprocessing\process.py", line 258, in
_bootstrap
self.run()
File "F:\Python\dev\py27\lib\multiprocessing\process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "F:\Python\dev\py27\lib\test\test_multiprocessing.py", line 1703, in
_test
conn.send('hello')
IOError: [Errno 10038] An operation was attempted on something that is not a
socket
...
File "F:\Python\dev\py27\lib\test\test_multiprocessing.py", line 1419, in
_putter
manager.connect()
File "F:\Python\dev\py27\lib\multiprocessing\managers.py", line 500, in
connect
conn = Client(self._address, authkey=self._authkey)
File "F:\Python\dev\py27\lib\multiprocessing\connection.py", line 465, in
XmlClient
return ConnectionWrapper(Client(*args, **kwds), _xml_dumps, _xml_loads)
File "F:\Python\dev\py27\lib\multiprocessing\connection.py", line 175, in
Client
answer_challenge(c, authkey)
File "F:\Python\dev\py27\lib\multiprocessing\connection.py", line 420, in
answer_challenge
message = connection.recv_bytes(256) # reject large message
IOError: [Errno 10038] An operation was attempted on something that is not a
socket
After a few of these, it hangs and I have to either kill multiple processes
with TaskManager (or maybe kill-python would work) or kill the console. All
tracebacks seem to one of these two. The common factor is 'not a socket'. It
seems that something in the test should be skipped on windows. I got similar
results running test_multiprocessing by itself. The process numbers are
haphazard.
----------
messages: 184000
nosy: ezio.melotti, sbt, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: test_multiprocessing hang on Windows, non-sockets
type: behavior
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17399>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com