GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — bpo-41682: fixed flaky test test_sendfile_close_peer_in_the_middle_of_receiving by kumaraditya303 · Pull Request #30845 · python/cpython Conversation
|
|
...And we finally have green CI 🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Assuming Guido's reasoning is correct, this is IMO the correct fix. LGTM!
(But note that this test has been flakey for two years; maybe there was another reason for the failures before?)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I was already trying to find the size of DATA based on some stack overflow answers before Guido provided his reasoning as I once tried making DATA very high and it worked so I knew it was about fine tuning the DATA length. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@erlend-aasland |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Great, I see it. Thanks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I'm gonna test with buildbots. For now, please hold off on committing anything (well you can, but it'll make the buildbots status harder to track ;). If this works, we need to give you an award for saving thousands of contributors from this pain. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @Fidget-Spinner for commit 369390f 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
We could consider giving this patch a NEWS entry, given the amount of frustration and gray hair this test has caused 😆 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'll leave this in Erlend's capable hands. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks for you input, @asvetlov! I would make the PR title and message more accurate before merging; maintaining a clear and self-documenting git history really helps when issues pop up again (I suspect this might do in a Windows release or five). Here's a quick 'n dirty suggestion, but feel free to word it differently: Other than that, I have no further remarks. (The failed buildbot is not related to this PR.) Here's your CI Janitor Award: 🏆🥇 Thanks for keeping the bots green! Thanks, Guido and Kumar, for the reasoning and the patch. (Andrew, Guido, or Ken can merge; I don't have the commit bit.) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
(The bot that edit our PR comments in order to create bpo links can be very, very irritating at times...) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @kumaraditya303 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Merged ;) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-30860 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-30861 is a backport of this pull request to the 3.9 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
(cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]>
(cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]>
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Be careful next time you merge a PR, the merged commit title is just "fixed flaky test" which doesn't mention test_asyncio or the bpo number, so no comment was added to https://bugs.python.org/issue41682 That's the annoying part with GH PR: it's possible to change the title and description in GitHub, and then get I completly different title and description when you merge it... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…_receiving (GH-30845) (#30860) (cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
…_receiving (GH-30845) (#30861) (cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
I also used the GitHub phone app to merge it which o think made things even more confusing as I didn't see that the commit title would be different :( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I agree, the UI on a phone is "not great" :-( Especially for a merge operation. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…_receiving (pythonGH-30845) (python#30861) (cherry picked from commit 1c705fd) Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.