Skip to content

test_multiprocessing failure on OS X Tiger #58874

Closed

Description

@pitrou
BPO 14669
Nosy @pitrou
Files
  • partial_message.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2012-05-01.11:58:32.699>
    created_at = <Date 2012-04-25.16:16:50.910>
    labels = ['tests', 'type-bug', 'library']
    title = 'test_multiprocessing failure on OS X Tiger'
    updated_at = <Date 2012-08-16.15:51:20.207>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2012-08-16.15:51:20.207>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-05-01.11:58:32.699>
    closer = 'neologix'
    components = ['Library (Lib)', 'Tests']
    creation = <Date 2012-04-25.16:16:50.910>
    creator = 'pitrou'
    dependencies = []
    files = ['25372']
    hgrepos = []
    issue_num = 14669
    keywords = ['patch']
    message_count = 6.0
    messages = ['159312', '159397', '159684', '159695', '159753', '168390']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'neologix', 'python-dev', 'sbt']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue14669'
    versions = ['Python 3.3']

    Activity

    1. pitrou commented on Apr 25, 2012

      @pitrou
      MemberAuthor

      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

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      testsTests in the Lib/test dir
      type-bugAn unexpected behavior, bug, or error
      on Apr 25, 2012
    3. sbt commented on Apr 26, 2012

      sbtmannequin
      Mannequin

      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.

    4. neologix commented on Apr 30, 2012

      neologixmannequin
      Mannequin

      I can't work out what is wrong here.

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

    5. python-dev commented on Apr 30, 2012

      python-devmannequin
      Mannequin

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

    6. neologix commented on May 1, 2012

      neologixmannequin
      Mannequin

      The buildbot seems happy, let's close!

    7. python-dev commented on Aug 16, 2012

      python-devmannequin
      Mannequin

      New changeset 4307b985209b by Richard Oudkerk in branch 'default':
      Issue bpo-14669: Fix pickling of connections and sockets on MacOSX
      http://hg.python.org/cpython/rev/4307b985209b

    8. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions