FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-45128: fixes `test_multiprocessing_fork` mysterious crash by sobolevn · Pull Request #28387 · python/cpython · GitHub

/ cpython Public

bpo-45128: fixes test_multiprocessing_fork mysterious crash - #28387

Merged
pablogsal merged 7 commits into
python:mainfrom
sobolevn:issue-45128
Sep 19, 2021
Merged

bpo-45128: fixes test_multiprocessing_fork mysterious crash#28387
pablogsal merged 7 commits into
python:mainfrom
sobolevn:issue-45128

Conversation

sobolevn commented Sep 16, 2021
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Several thoughts on this:

  1. Thanks a lot for @vstinner and @pablogsal for providing extra information about this crash
  2. I feel obligated to fix this due to bpo-45052: Unskips a failing test_shared_memory_basics test #28182 (comment)
  3. This is not a trivial test flow, I hope that I got it right, but very careful review is required (we cannot even catch this in CI, what was the initial problem)
  4. I hope, that this won't happen again! 👍

https://bugs.python.org/issue45128

Copy link
Copy Markdown
Member Author

Maybe I can add some extra tests to catch this 🤔

Copy link
Copy Markdown
Member Author

I've created a bpo entry for this Windows build failures: https://bugs.python.org/issue45220

Comment thread Lib/test/test_logging.py Outdated
Comment thread Lib/test/test_logging.py Outdated

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I would prefer a PR with only replace del ... with with .... No need to go further.

Comment thread Lib/test/test_logging.py Outdated
Comment thread Lib/test/test_logging.py Outdated

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please rebase your PR on the main branch to get the fix for the Windows build.

Copy link
Copy Markdown
Member Author

Rebased ♻️

Copy link
Copy Markdown
Member

Thanks a lot for the fix @sobolevn!

Does this need to be backported to something before 3.10?

pablogsal added the needs backport to 3.10 only security fixes label Sep 19, 2021

Copy link
Copy Markdown
Contributor

Thanks @sobolevn for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 19, 2021
…GH-28387)

(cherry picked from commit 1d42408)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>

Copy link
Copy Markdown

GH-28462 is a backport of this pull request to the 3.10 branch.

bedevere-bot removed the needs backport to 3.10 only security fixes label Sep 19, 2021
miss-islington added a commit that referenced this pull request Sep 19, 2021
(cherry picked from commit 1d42408)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
pablogsal pushed a commit that referenced this pull request Sep 19, 2021
(cherry picked from commit 1d42408)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>

Copy link
Copy Markdown
Member Author

Thanks, everyone!

@pablogsal no, this test does not exist in 3.9
https://github.com/python/cpython/blob/3.9/Lib/test/test_logging.py

niyas-sait pushed a commit to niyas-sait/cpython that referenced this pull request Sep 21, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL