Quantcast

[issue14669] test_multiprocessing failure on OS X Tiger

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[issue14669] test_multiprocessing failure on OS X Tiger

STINNER Victor

New submission from Antoine Pitrou <[hidden email]>:

The OS X Tiger fails more or less intermittently on one of the new multiprocessing tests:

======================================================================
FAIL: test_pickling (test.test_multiprocessing.WithProcessesTestPicklingConnections)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_multiprocessing.py", line 2032, in test_pickling
    self.assertEqual(new_conn.recv(100), msg.upper())
AssertionError: b'' != b'THIS CONNECTION USES A NORMAL SOCKET'

http://www.python.org/dev/buildbot/all/builders/x86%20Tiger%203.x/builds/4408/steps/test/logs/stdio

----------
components: Library (Lib), Tests
messages: 159312
nosy: pitrou, sbt
priority: normal
severity: normal
status: open
title: test_multiprocessing failure on OS X Tiger
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <[hidden email]>
<http://bugs.python.org/issue14669>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/lists%2B1322467933539-512619%40n6.nabble.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[issue14669] test_multiprocessing failure on OS X Tiger

STINNER Victor

Richard Oudkerk <[hidden email]> added the comment:

I can't work out what is wrong here.

The code does not to account for a partial read of the message from the socket.  The attached patch fixes that, but it does not address the cause of this failure.

----------
keywords: +patch
Added file: http://bugs.python.org/file25372/partial_message.patch

_______________________________________
Python tracker <[hidden email]>
<http://bugs.python.org/issue14669>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/lists%2B1322467933539-512619%40n6.nabble.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[issue14669] test_multiprocessing failure on OS X Tiger

STINNER Victor
In reply to this post by STINNER Victor

Charles-Fran├žois Natali <[hidden email]> added the comment:

> I can't work out what is wrong here.

OS-X has known issues with FD-passing over Unix domain sockets, see issues #6560 and #12958.
Since those failures only occur on OS-X buildbots, I'd suggest just skipping them...

----------
nosy: +neologix

_______________________________________
Python tracker <[hidden email]>
<http://bugs.python.org/issue14669>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/lists%2B1322467933539-512619%40n6.nabble.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[issue14669] test_multiprocessing failure on OS X Tiger

STINNER Victor
In reply to this post by STINNER Victor

Roundup Robot <[hidden email]> added the comment:

New changeset e64bec91ac91 by Richard Oudkerk in branch 'default':
Issue #14669: Skip multiprocessing connection pickling test on MacOSX
http://hg.python.org/cpython/rev/e64bec91ac91

----------
nosy: +python-dev

_______________________________________
Python tracker <[hidden email]>
<http://bugs.python.org/issue14669>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/lists%2B1322467933539-512619%40n6.nabble.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[issue14669] test_multiprocessing failure on OS X Tiger

STINNER Victor
In reply to this post by STINNER Victor

Charles-Fran├žois Natali <[hidden email]> added the comment:

The buildbot seems happy, let's close!

----------
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <[hidden email]>
<http://bugs.python.org/issue14669>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/lists%2B1322467933539-512619%40n6.nabble.com

Loading...