GeezerVison is showing github.com — gh-95573: Reduce test data size in test_asyncio/test_ssl.py by fantix · Pull Request #95668 · python/cpython
Conversation
fantix
commented
Aug 4, 2022
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
The error was like:
Task exception was never retrieved
future: <Task finished name='Task-79' coro=<TestSSL.test_create_server_ssl_over_ssl.<locals>.handle_client() done, defined at cpython/Lib/test/test_asyncio/test_ssl.py:1039> exception=OSError(55, 'No buffer space available')>
Traceback (most recent call last):
File "cpython/Lib/test/test_asyncio/test_ssl.py", line 1042, in handle_client
data = await reader.readexactly(len(A_DATA))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "cpython/Lib/asyncio/streams.py", line 728, in readexactly
await self._wait_for_data('readexactly')
File "cpython/Lib/asyncio/streams.py", line 522, in _wait_for_data
await self._waiter
File "cpython/Lib/asyncio/selector_events.py", line 1049, in write
n = self._sock.send(data)
^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 55] No buffer space available
It was suppressed because of this:
|
with self._silence_eof_received_warning(): |
|
self.loop.run_until_complete(start_server()) |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 4284913 🤖
If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Note: all tests with buildbots pass here with 4284913. The red x is due to missing Misc/NEWS, which I fixed now. Additionally, as discussed on GH-95573, I made the smaller buffer only apply on macOS.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks @fantix for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
1st1
Awaiting requested review from 1st1
asvetlov
Awaiting requested review from asvetlov
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
tests
Tests in the Lib/test dir
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|