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_multiprocessing_fork leaks processes on PPC64LE RHEL8 LTO + PGO 3.x #84680

Closed
vstinner opened this issue May 4, 2020 · 4 comments
Closed
Labels
3.9 only security fixes tests Tests in the Lib/test dir topic-multiprocessing

Comments

@vstinner
Copy link
Member

vstinner commented May 4, 2020

BPO 40500
Nosy @pitrou, @vstinner, @tomMoral

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 = None
created_at = <Date 2020-05-04.12:38:50.919>
labels = ['tests', '3.9']
title = 'test_multiprocessing_fork leaks processes on PPC64LE RHEL8 LTO + PGO 3.x'
updated_at = <Date 2020-05-11.21:48:22.349>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2020-05-11.21:48:22.349>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tests']
creation = <Date 2020-05-04.12:38:50.919>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 40500
keywords = []
message_count = 3.0
messages = ['368043', '368082', '368661']
nosy_count = 3.0
nosy_names = ['pitrou', 'vstinner', 'tomMoral']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue40500'
versions = ['Python 3.9']

@vstinner
Copy link
Member Author

vstinner commented May 4, 2020

PPC64LE RHEL8 LTO + PGO 3.x:
https://buildbot.python.org/all/#/builders/450/builds/313

0:01:22 load avg: 7.01 [242/423/1] test_multiprocessing_fork failed (env changed) (1 min 17 sec) -- running: test_concurrent_futures (1 min 3 sec), test_multiprocessing_forkserver (1 min 19 sec)

Warning -- multiprocessing.Manager still has [<ForkProcess name='SyncManager-140' pid=225343 parent=219302 started>, <ForkProcess name='QueueManager-141' pid=225345 parent=219302 started>] active children after 5.1161000469874125 seconds

Warning -- Dangling processes: {<ForkProcess name='QueueManager-141' pid=225345 parent=219302 started>}

Warning -- multiprocessing.Manager still has [<ForkProcess name='QueueManager-141' pid=225345 parent=219302 started>, <ForkProcess name='SyncManager-143' pid=225542 parent=219302 started>] active children after 5.116447829990648 seconds

test__all__ (test.test_multiprocessing_fork.MiscTestCase) ... ok
test_answer_challenge_auth_failure (test.test_multiprocessing_fork.OtherTest) ... ok
test_deliver_challenge_auth_failure (test.test_multiprocessing_fork.OtherTest) ... ok
(...)

@vstinner vstinner added 3.9 only security fixes tests Tests in the Lib/test dir labels May 4, 2020
@vstinner
Copy link
Member Author

vstinner commented May 4, 2020

Another example "PPC64LE RHEL8 LTO 3.x":
https://buildbot.python.org/all/#/builders/356/builds/347

0:02:49 load avg: 9.54 [415/423/1] test_multiprocessing_spawn failed (env changed) (2 min 15 sec) -- running: test_concurrent_futures (58.1 sec), test_peg_generator (1 min 39 sec), test_gdb (47.8 sec)
Warning -- multiprocessing.Manager still has [<SpawnProcess name='SyncManager-140' pid=2395988 parent=2389351 started>, <SpawnProcess name='QueueManager-141' pid=2395999 parent=2389351 started>] active children after 5.1163996559916995 seconds
Warning -- Dangling processes: {<SpawnProcess name='QueueManager-141' pid=2395999 parent=2389351 started>}
Warning -- multiprocessing.Manager still has [<SpawnProcess name='SyncManager-143' pid=2396044 parent=2389351 started>, <SpawnProcess name='QueueManager-141' pid=2395999 parent=2389351 started>] active children after 5.115814491000492 seconds

@vstinner
Copy link
Member Author

PPC64LE RHEL8 LTO + PGO 3.x:
https://buildbot.python.org/all/#/builders/450/builds/361

0:02:28 load avg: 6.47 [398/423/1] test_multiprocessing_spawn failed (env changed) (2 min 3 sec) -- running: test_asyncio (51.1 sec), test_peg_generator (47.7 sec), test_concurrent_futures (53.3 sec)
Warning -- multiprocessing.Manager still has [<SpawnProcess name='SyncManager-40' pid=2909851 parent=2907336 started>, <SpawnProcess name='SyncManager-42' pid=2909883 parent=2907336 started>] active children after 5.115746586991008 seconds
Warning -- multiprocessing.Manager still has [<SpawnProcess name='SyncManager-44' pid=2909897 parent=2907336 started>, <SpawnProcess name='SyncManager-40' pid=2909851 parent=2907336 started>] active children after 5.117473499994958 seconds
Warning -- multiprocessing.Manager still has [<SpawnProcess name='SyncManager-40' pid=2909851 parent=2907336 started>, <SpawnProcess name='SyncManager-46' pid=2909908 parent=2907336 started>] active children after 5.116073776007397 seconds

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@kumaraditya303
Copy link
Contributor

Closing as it is outdated and CI is green.

@kumaraditya303 kumaraditya303 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.9 only security fixes tests Tests in the Lib/test dir topic-multiprocessing
Projects
Development

No branches or pull requests

2 participants