-
Notifications
You must be signed in to change notification settings - Fork 701
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
Running the test-suite terminates abruptly with fd:5: hGetLine: end of file
in MSYS2 Windows
#9571
Comments
fd:5: hGetLine: end of file
in MSYS2 Windowsfd:5: hGetLine: end of file
in MSYS2 Windows
I was suggested to use the RTS flag I will leave this issue open to make sure that |
(Thanks for the GHC team at IOG for the suggestion @hsyl20 😄) |
Still happening on master, unfortunately. |
This is starting to be beyond my knowledge. I re-enabled the Windows CI in #10282 with the following results:
Notice it is not the same test that throws this exception. I'm running out of ideas here so I gently invoke @Mistuke which might have some insights, at least on how we could hunt this. |
…10305) * hackage-tests: Add --index-state argument to fix the cabal files We need to fix the index-state we test against so a new bad cabal file doesn't take down the CI for everyone. Towards #10284 (cherry picked from commit 8e4d167) * ci: Fix --index-state for hackage roundtrip tests As a principle, tests which are required for CI to pass should be reproducible and not depending on external resources changes or being modified. The hackage tests currently violate this by depending on the latest index state from hackage. This is problematic because until the test is fixed all merges into master are blocked. Even though the patches in question have nothing to do with the test. It would be more suitable for a nightly job to run on the latest index and for normal CI to run with a fixed index which is updated periodically in a controlled manner. Fixes #10284 (cherry picked from commit 31507b1) * Re-enable Windows CI (cherry picked from commit 4aade2d) * CI: skip cli-suite on Windows due to #9571 (#10257) (cherry picked from commit 30d2a38) --------- Co-authored-by: Matthew Pickering <[email protected]> Co-authored-by: Javier Sagredo <[email protected]> Co-authored-by: Artem Pelenitsyn <[email protected]>
Closing this one as the io-manager flag fixed it also in CI. |
Describe the bug
The test-suite terminates non-deterministically with:
To Reproduce
Steps to reproduce the behavior:
Turns out that annotating the
readUntilEnd
andreadUntilSigil
calls tohGetLine
shows that non-deterministically, one of them fails. If I also print thescript_path
provided, it is different each time, even sometimes it refers to tests which are marked asskipIfWindows
.I don't know how the
Test.Cabal.Server
is setup, maybe we are leaving the GHCi session in a zombie state?Expected behavior
The test-suite should just run normally, as it does on CI.
System information
The text was updated successfully, but these errors were encountered: