[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public
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

[3.7] bpo-38546: Backport multiprocessing tests fixes from master #19689

Merged
merged 4 commits into from Apr 23, 2020

Conversation

Copy link
Member

vstinner commented Apr 23, 2020

miss-islington and others added 3 commits Apr 23, 2020
multiprocessing tests now call explicitly _run_finalizers() to remove
immediately temporary directories created by
multiprocessing.util.get_temp_dir().
(cherry picked from commit 039fb49)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
(cherry picked from commit 632cb36)
multiprocessing tests now stop the ForkServer instance if it's
running: close the "alive" file descriptor to ask the server to stop
and then remove its UNIX address.
(cherry picked from commit 8fbeb14)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
(cherry picked from commit 229f6e8)
…GH-17647)

Multiprocessing and concurrent.futures tests now stop the resource
tracker process when tests complete.

Add ResourceTracker._stop() method to
multiprocessing.resource_tracker.

Add _cleanup_tests() helper function to multiprocessing.util: share
code between multiprocessing and concurrent.futures tests.

(cherry picked from commit 9707e8e)
(cherry picked from commit 35acb35)
vstinner changed the title [3.7] Backport multiprocessing tests fixes from master [3.7] bpo-38546: Backport multiprocessing tests fixes from master Apr 23, 2020
vstinner closed this Apr 23, 2020
vstinner reopened this Apr 23, 2020
Copy link
Member Author

vstinner commented Apr 23, 2020

I closed/reopened the PR to re-run the Azure Pipelines CI: its Ubuntu job failed at downloading https://www.openssl.org/source/openssl-1.1.1f.tar.gz :-(

Python 3.7 multiprocessing does not have resource tracker.
vstinner merged commit fd32a0e into python:3.7 Apr 23, 2020
5 checks passed
vstinner deleted the mp_cleanup_tests37 branch Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants