Skip to content

test_socketserver.test_ForkingTCPServer(): threading_cleanup() and reap_children() warnings on AMD64 FreeBSD 10.x Shared 3.x #75193

Closed

Description

@vstinner
BPO 31010
Nosy @vstinner
Superseder
  • bpo-31151: socketserver.ForkingMixIn.server_close() leaks zombie processes
  • 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 2017-08-10.15:38:29.214>
    created_at = <Date 2017-07-24.09:21:13.466>
    labels = ['3.7', 'tests', 'performance']
    title = 'test_socketserver.test_ForkingTCPServer(): threading_cleanup() and reap_children() warnings on AMD64 FreeBSD 10.x Shared 3.x'
    updated_at = <Date 2017-08-10.15:38:29.213>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-08-10.15:38:29.213>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-08-10.15:38:29.214>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2017-07-24.09:21:13.466>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31010
    keywords = ['buildbot']
    message_count = 2.0
    messages = ['298942', '300105']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '31151'
    type = 'resource usage'
    url = 'https://bugs.python.org/issue31010'
    versions = ['Python 3.7']

    Activity

    1. vstinner commented on Jul 24, 2017

      @vstinner
      MemberAuthor

      http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/607/steps/test/logs/stdio

      test_ForkingTCPServer (test.test_socketserver.SocketServerTest) ... creating server
      ADDR = ('127.0.0.1', 42116)
      CLASS = <class 'socketserver.ForkingTCPServer'>
      server running
      test client 0
      test client 1
      test client 2
      waiting for server
      done
      Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1)
      Warning -- reap_children() reaped child process 83130
      ok
      ...
      1 test altered the execution environment:
      test_socketserver
      ...
      Total duration: 11 min 56 sec
      Tests result: ENV CHANGED
      *** Error code 3

    2. vstinner commented on Aug 10, 2017

      @vstinner
      MemberAuthor

      I'm not 100% sure, but it looks like a duplicate of bpo-31151.

    3. 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

      3.7 (EOL)end of lifeperformancePerformance or resource usagetestsTests in the Lib/test dir

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions