Skip to content
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

testsuite failure for MultiRepl on Windows & GHC 9.4.4 #9103

Closed
ulysses4ever opened this issue Jul 9, 2023 · 1 comment
Closed

testsuite failure for MultiRepl on Windows & GHC 9.4.4 #9103

ulysses4ever opened this issue Jul 9, 2023 · 1 comment

Comments

@ulysses4ever
Copy link
Collaborator

Describe the bug

We have a Heisenbug in PackageTests\MultiRepl\EnabledSucc\cabal.test.hs . It appears on Windows & GHC 9.4.4 and always goes away after a restart.

Here's an example workflow where it fails on master. The last line reads (I split it in several lines for ease of reading):

D:\a\cabal\cabal\cabal-testsuite\PackageTests\MultiRepl\EnabledSucc\cabal.dist\work\.\dist\multi-out-2236\paths\pkg-a-0-inplace:
removeDirectoryRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:DeleteFile 
"\\\\?\\D:\\a\\cabal\\cabal\\cabal-testsuite\\PackageTests\\MultiRepl\\EnabledSucc\\cabal.dist\\work\\dist\\multi-out-2236\\paths\\pkg-a-0-inplace": 
permission denied (The process cannot access the file because it is being used by another process.)

We thought that #9055 would fix issues like this one, alas…

To Reproduce

No known way to reproduce it reliably.

System information

  • Operating system: Windows
  • GHC 9.4.4
  • cabal-install master

Additional context

I propose to disable the test on Windows for the time being.

@mpickering as a contributor of this feature and the test: do you have any guesses as to what this may be? Could an upgrade to GHC 9.4.5 help?

/cc @gbaz

@jasagredo
Copy link
Collaborator

This is fixed in latest versions, at least after #10186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants