Skip to content

test_shutdown_timeout_handler_not_set failed locally #136433

Open
@sobolevn

Description

@sobolevn

Bug report

While running on macos 14.5 m2 locally with --with-pydebug and ./python.exe -m test this happened:

0:00:29 load avg: 3.87 [ 20/491] test.test_asyncio.test_ssl
test test.test_asyncio.test_ssl failed -- Traceback (most recent call last):
  File "/Users/sobolev/Desktop/cpython/Lib/test/test_asyncio/test_ssl.py", line 1743, in test_shutdown_timeout_handler_not_set
    loop.run_until_complete(client(srv.addr))
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/Users/sobolev/Desktop/cpython/Lib/asyncio/base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/Users/sobolev/Desktop/cpython/Lib/test/test_asyncio/test_ssl.py", line 1738, in client
    await pr.fut
  File "/Users/sobolev/Desktop/cpython/Lib/asyncio/selector_events.py", line 984, in _read_ready__get_buffer
    nbytes = self._sock.recv_into(buf)
ConnectionResetError: [Errno 54] Connection reset by peer

This the first time it happens. The second run was successful. So, this test is flaky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtopic-asynciotype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy