swift-nio icon indicating copy to clipboard operation
swift-nio copied to clipboard

NIOThrowingAsyncSequenceProducer gets the FileHandle tests to hang on linux/Android

Open finagolfin opened this issue 1 year ago • 1 comments

Expected behavior

The trunk tests run and pass.

Actual behavior

The FileHandle tests hang 80-90% of the time.

Steps to reproduce

  1. ../swift-6.0-RELEASE-fedora39/usr/bin/swift test --filter FileHandleTests

If possible, minimal yet complete reproducer code (or URL to code)

Reverting #2879 gets everything working well again.

SwiftNIO version/commit hash

8307ad610

System & version information

Fedora 40 x86_64 using Swift 6.0 and the Android x86_64 emulator running the trunk NIO tests compiled by 5.10.1 or the 6.0/6.1 snapshot toolchains

finagolfin avatar Sep 18 '24 14:09 finagolfin

Hi! Thanks for filing this issue. I am currently taking a look into this problem to see if I can come up with a fix in the short term, however if that's not possible I will revert the change and investigate it separately. We certainly won't be cutting a release with the code in its current state.

rnro avatar Sep 18 '24 14:09 rnro

It appears this was subsequently merged in #2917, and I haven't seen any issues this time.

finagolfin avatar Dec 15 '24 09:12 finagolfin