Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
furkanonder opened this issue Oct 16, 2024 · 0 comments
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@furkanonder
Copy link
Contributor

furkanonder commented Oct 16, 2024

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

@furkanonder furkanonder added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir 3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes labels Oct 16, 2024
furkanonder added a commit to furkanonder/cpython that referenced this issue Oct 16, 2024
gpshead pushed a commit that referenced this issue Oct 16, 2024
…125624)

Remove unnecessary import of subprocess in multiprocessing.util.spawnv_passfds.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 16, 2024
…ssfds (pythonGH-125624)

Remove unnecessary import of subprocess in multiprocessing.util.spawnv_passfds.
(cherry picked from commit a38fef4)

Co-authored-by: Furkan Onder <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 16, 2024
…ssfds (pythonGH-125624)

Remove unnecessary import of subprocess in multiprocessing.util.spawnv_passfds.
(cherry picked from commit a38fef4)

Co-authored-by: Furkan Onder <[email protected]>
furkanonder added a commit to furkanonder/cpython that referenced this issue Oct 17, 2024
gpshead pushed a commit that referenced this issue Oct 18, 2024
…it for SIGKILL process termination (GH-125621)

* Skip test_resource_tracker_sigkill on NetBSD
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 18, 2024
…ong wait for SIGKILL process termination (pythonGH-125621)

* Skip test_resource_tracker_sigkill on NetBSD
(cherry picked from commit a0f5c8e)

Co-authored-by: Furkan Onder <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 18, 2024
…ong wait for SIGKILL process termination (pythonGH-125621)

* Skip test_resource_tracker_sigkill on NetBSD
(cherry picked from commit a0f5c8e)

Co-authored-by: Furkan Onder <[email protected]>
gpshead pushed a commit that referenced this issue Oct 18, 2024
…long wait for SIGKILL process termination (GH-125621) (#125673)

gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for SIGKILL process termination (GH-125621)

* Skip test_resource_tracker_sigkill on NetBSD
(cherry picked from commit a0f5c8e)

Co-authored-by: Furkan Onder <[email protected]>
gpshead pushed a commit that referenced this issue Oct 18, 2024
…long wait for SIGKILL process termination (GH-125621) (#125672)

gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for SIGKILL process termination (GH-125621)

* Skip test_resource_tracker_sigkill on NetBSD
(cherry picked from commit a0f5c8e)

Co-authored-by: Furkan Onder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant