-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
Tests randomly fail with "Exception: fd:111: hPutBuf: resource vanished (Broken pipe)" (--test-option=-j1 workaround) #1875
Comments
Could you try running them in |
@berberman Do you mean changing this line?
Or adding --test-option=-j1 to the cabal command?
|
Use |
The |
I did however manage to reproduce the error previously while running only a single test, while Haskell Language Server was compiling a bunch of packages in the background, so maybe the system load matters (which would make sense for a race-condition). |
Closing since I haven't seen any complaints about that recently |
Still seeing them if the work load is high. |
Potentially the same problem? |
When running the
func-test
test-suite locally, some of the tests randomly fail with the error:This issue is a subset of issue #1430, but not on CI.
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
:haskell-language-server version: 1.1.0.1 (GHC: 9.0.1) (PATH: /Users/anka/projekt/not-mine/haskell/haskell-language-server/dist-newstyle/build/x86_64-osx/ghc-9.0.1/haskell-language-server-1.1.0.1/x/haskell-language-server/build/haskell-language-server/haskell-language-server) (GIT hash: 8e03c8d08a51a69024c154bf93408a4595b45f8c) Tool versions found on the $PATH cabal: 3.4.0.0 stack: 2.7.1 ghc: 9.0.1
Which OS do you use:
MacOS
Steps to reproduce
I can't reliably reproduce it, but every few times when I run
some of the tests fail with the error above.
Actual behaviour
More examples (this time ghc-8.10.4):
Include debug information
Output from:
It's 69000 lines, so I put it in a gist: https://gist.github.com/e12414f103af1c13768cd2735b608acb
Not sure how to reduce it, since the issue disappears when you only run a single test at a time.Here's a shorter one ("only" 1500 lines) with only three tests running:
https://gist.github.com/d51856f6ff15b69434bf1f1a4b8ddb6e
The text was updated successfully, but these errors were encountered: