Skip to content

test_xml_etree leaked [1, 1, 1] references, sum=3 #76418

Closed

Description

@vstinner
BPO 32237
Nosy @nascheme, @vstinner, @berkerpeksag
PRs
  • bpo-32237: Fix missing DECREF of mod #4749
  • 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-12-09.06:57:57.745>
    created_at = <Date 2017-12-07.00:02:30.069>
    labels = ['3.7', 'type-bug', 'tests']
    title = 'test_xml_etree leaked [1, 1, 1] references, sum=3'
    updated_at = <Date 2017-12-09.06:57:57.711>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-12-09.06:57:57.711>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-12-09.06:57:57.745>
    closer = 'berker.peksag'
    components = ['Tests']
    creation = <Date 2017-12-07.00:02:30.069>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32237
    keywords = ['patch']
    message_count = 3.0
    messages = ['307777', '307778', '307880']
    nosy_count = 3.0
    nosy_names = ['nascheme', 'vstinner', 'berker.peksag']
    pr_nums = ['4749']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32237'
    versions = ['Python 3.7']

    Activity

    1. vstinner commented on Dec 7, 2017

      @vstinner
      MemberAuthor

      The commit eea3cc1 introduced the following regression:

      vstinner@apu$ make && ./python -m test -R 3:3 test_xml_etree
      (...)
      test_xml_etree leaked [1, 1, 1] references, sum=3

    2. vstinner commented on Dec 7, 2017

      @vstinner
      MemberAuthor

      Oh, more tests are failing:

      test_ensurepip leaked [1, 1, 1] references, sum=3
      test_hashlib leaked [1, 1, 1] references, sum=3
      test_importlib leaked [5, 5, 5] references, sum=15

    3. berkerpeksag commented on Dec 9, 2017

      @berkerpeksag
      Member

      I can confirm that Neil's PR (11cc289) fixed the regression:

      $ ./python -m test -R 3:3 test_xml_etree
      Run tests sequentially
      0:00:00 load avg: 0.66 [1/1] test_xml_etree
      beginning 6 repetitions
      123456
      ......
      1 test OK.

      Total duration: 4 sec
      Tests result: SUCCESS

      test_ensurepip, test_hashlib and test_importlib passed too.

      Closing this one as fixed. Thanks!

    4. added
      tests
      on Dec 9, 2017
    5. added
      type-bug
      on Dec 9, 2017
    6. 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)teststype-bug

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions