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 27, 2022

    @Fidget-Spinner
    MemberAuthor

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

    It causes the release status page to flicker in and out of being releasable and non-releasable. That's a release blocker IMO.

  2. added a commit that references this issue on Oct 27, 2022
  3. added 4 commits that reference this issue on Oct 27, 2022
  4. moved this from Todo to Done in asyncioon Oct 27, 2022
  5. moved this from Done to In Progress in asyncioon Oct 27, 2022
  6. 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.

  7. added a commit that references this issue on Oct 27, 2022
  8. added 4 commits that reference this issue on Oct 27, 2022
  9. Repository owner moved this from In Progress to Done in asyncioon Oct 27, 2022
  10. 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)3.113.12topic-asynciotype-bug

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions