Skip to content

bpo-44011: Fix asyncio tests without ssl module (GH-25840) #25840

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

Merged
merged 1 commit into from
May 3, 2021

Conversation

tiran
Copy link
Member

@tiran tiran commented May 3, 2021

Signed-off-by: Christian Heimes [email protected]

https://bugs.python.org/issue44011

@tiran tiran added tests Tests in the Lib/test dir skip news 🔨 test-with-buildbots Test PR w/ buildbots; report in status section labels May 3, 2021
@tiran tiran requested review from asvetlov and pablogsal May 3, 2021 06:37
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @tiran for commit 72a18c2 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot added awaiting core review and removed 🔨 test-with-buildbots Test PR w/ buildbots; report in status section labels May 3, 2021
@tiran
Copy link
Member Author

tiran commented May 3, 2021

Gentoo with X failure, https://buildbot.python.org/all/#builders/465/builds/23

======================================================================
ERROR: test_create_server_ssl_over_ssl (test.test_asyncio.test_ssl.TestSSL)
----------------------------------------------------------------------
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/buildbot/buildarea/cpython/pull_request.ware-gentoo-x86.installed/build/target/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
    fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/buildbot/buildarea/cpython/pull_request.ware-gentoo-x86.installed/build/target/lib/python3.10/test/test_asyncio/test_ssl.py", line 1157, in test_create_server_ssl_over_ssl
    self.loop.run_until_complete(start_server())
  File "/buildbot/buildarea/cpython/pull_request.ware-gentoo-x86.installed/build/target/lib/python3.10/asyncio/base_events.py", line 644, in run_until_complete
    return future.result()
  File "/buildbot/buildarea/cpython/pull_request.ware-gentoo-x86.installed/build/target/lib/python3.10/test/test_asyncio/test_ssl.py", line 1150, in start_server
    await asyncio.wait_for(asyncio.gather(*tasks), TIMEOUT)
  File "/buildbot/buildarea/cpython/pull_request.ware-gentoo-x86.installed/build/target/lib/python3.10/asyncio/tasks.py", line 460, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
----------------------------------------------------------------------

@tirkarthi tirkarthi requested a review from 1st1 May 3, 2021 07:36
@tiran tiran changed the title bpo-44011: Fix asyncio tests without ssl module bpo-44011: Fix asyncio tests without ssl module (GH-25840) May 3, 2021
@tiran tiran merged commit 37ebdf0 into python:master May 3, 2021
@tiran tiran deleted the bpo-44011-fix branch May 3, 2021 07:38
@asvetlov
Copy link
Contributor

asvetlov commented May 3, 2021

Thanks, @tiran

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants