-
-
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
More flaky tests (mainly in windows) #2153
Comments
disabled with #2154 |
https://github.com/haskell/haskell-language-server/runs/3505220254?check_suite_focus=true
|
Lets see if the amazing work fixing flaky tests in #2243 fix some of those ones |
This one is in ubuntu and hls-eva-plugin:
|
|
From #2381
|
Summary of the "lower-case drive" test on windows ghc 9.0.1 from reading test and logs:
So in the end we want to recompile Maybe writing |
Thanks for the analysis! After closing But there can be still targets in the build queue from a previous build, which require |
I just found that the "lower-case drive" test can fail with 0 keys GC'ed, which suggests that the problem is not GC related. Instead, I think the problem might be the "InitialLoad" build target that type checks all the project files at startup. The event sequence is as follows:
The ordering of 3 and 4 is non deterministic. If 4 happens before 3, then the test will crash since We should probably disable this option ( |
hope other tests don't rely in the initial load to work... |
If there are tests that rely on the initial load, we should stop them from doing so. Do you have any suggestions on how to make 3 and 4 deterministic? I don't see how. |
Are we not already cancelling processing using async exceptions? could we not cancell the typechecking when a close file event is send by the client or a file watcher? Or the client close effectively the file without waiting to any clean up in the server? sorry if i am missing something obvious |
It's a bit more subtle than that. In any case the contract for |
We have to analyze current behaviour, it seems tests are not so flaky nowadays |
closing as those flaky tests are not present or they are not throwed repeteadly |
Still seeing them |
Timestamps do not have millisecond
(ignored for now) #2115Timed out waiting to receive a message from the server.
More flaky tests (mainly in windows) #2153 (comment)Exception: fd:111: hPutBuf: resource vanished (Broken pipe)
Tests randomly fail with "Exception: fd:111: hPutBuf: resource vanished (Broken pipe)" (--test-option=-j1 workaround) #1875renameFile:renamePath:MoveFileEx file : does not exist (The system cannot find the file specified.)
The text was updated successfully, but these errors were encountered: