Skip to content

Consistent test failures in test test_asyncio.test_streams.test_drain_raises on Windows #98703

Closed

Description

@Fidget-Spinner

Run python_d.exe -m test test_asyncio -m test_drain_raises -F on Windows. The test eventually fails after some repetitions.

The problem is that _call_connection_lost can be called multiple times, even after the socket by the proactortransport is closed. So it's calling close() on something that is already set to None.

I have a PR to fix it.

Activity

  1. Fidget-Spinner commented on Oct 26, 2022

    @Fidget-Spinner
    MemberAuthor

    @pablogsal sorry to bother you right after the monumental 3.11 release (thanks for that by the way!). However, I'm setting this as release blocker as it's causing the Windows Buildbots to occasionally fail https://buildbot.python.org/all/#/builders/146.

    I have already created a PR to fix this.

  2. pablogsal commented on Oct 26, 2022

    @pablogsal
    Member

    Thanks a lot @Fidget-Spinner 🙏

  3. gvanrossum commented on Oct 26, 2022

    @gvanrossum
    Member

    Does it needs to be a release blocker? Or just be backported?

  4. 5 remaining items

  5. added a commit that references this issue on Oct 27, 2022
  6. moved this from Todo to Done in asyncioon Oct 27, 2022
  7. moved this from Done to In Progress in asyncioon Oct 27, 2022
  8. Fidget-Spinner commented on Oct 27, 2022

    @Fidget-Spinner
    MemberAuthor

    Waiting for Kumar's tests to land before I close this issue. It's no longer a release blocker though.

  9. added a commit that references this issue on Oct 27, 2022
  10. added 4 commits that reference this issue on Oct 27, 2022
  11. Repository owner moved this from In Progress to Done in asyncioon Oct 27, 2022
  12. added 2 commits that reference this issue on Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.10 (EOL)end of life3.11only security fixes3.12only security fixestopic-asynciotype-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions