Skip to content

runLinter() fails very frequently on Linux #34

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

Open
jakepetroules opened this issue Apr 25, 2025 · 0 comments
Open

runLinter() fails very frequently on Linux #34

jakepetroules opened this issue Apr 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jakepetroules
Copy link
Contributor

Describe the bug
Running this test results in the swift-format process never exiting (it shows it's stuck in writing to stderr). Closing the parent file descriptors after the call to captureIOs() seems to work around this, but I don't think that's correct and I'm not sure what's going on here.

To Reproduce
swift test --filter runLinter()

Expected behavior
Test does not hang.

Environment (please complete the following information):

  • Linux debian 6.1.0-31-arm64 #\1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux
  • Debian GNU/Linux 12.9 (bookworm)
  • Swift version 6.1 (swift-6.1-RELEASE)
  • Target: aarch64-unknown-linux-gnu

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant