Skip to content

test_resource_tracker_sigkill fails on NetBSD: AssertionError for warning count in test_multiprocessing_fork #125620

Closed
@furkanonder

Description

@furkanonder

Bug report

Bug description:

-bash-5.2$ ./python -m test test_multiprocessing_fork.test_misc -m test_resource_tracker_sigkill
Using random seed: 1947163462
0:00:00 load avg: 0.16 Run 1 test sequentially in a single process
0:00:00 load avg: 0.16 [1/1] test_multiprocessing_fork.test_misc
test test_multiprocessing_fork.test_misc failed -- Traceback (most recent call last):
  File "/home/blue/cpython/Lib/test/_test_multiprocessing.py", line 5766, in test_resource_tracker_sigkill
    self.check_resource_tracker_death(signal.SIGKILL, True)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/home/blue/cpython/Lib/test/_test_multiprocessing.py", line 5748, in check_resource_tracker_death
    self.assertEqual(len(all_warn), 1)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
AssertionError: 0 != 1

test_multiprocessing_fork.test_misc failed (1 failure) in 3 min

== Tests result: FAILURE ==

1 test failed:
    test_multiprocessing_fork.test_misc

OS: NetBSD 10.0

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesOS-netbsdtestsTests 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