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

cabal-install vcs unit tests fails in windows with permission denied #8048

Closed
jneira opened this issue Mar 15, 2022 · 2 comments
Closed

cabal-install vcs unit tests fails in windows with permission denied #8048

jneira opened this issue Mar 15, 2022 · 2 comments

Comments

@jneira
Copy link
Member

jneira commented Mar 15, 2022

The file will have its original line endings in your working directory
      cloneSourceRepo:                                                          FAIL (66.75s)
        *** Failed! Exception: 'C:\Users\RUNNER~1\AppData\Local\Temp\vcstest-6732\src\.git\modules\file\D\objects\db\9ec9568e23890c815712379a245857e65192ec: removeDirectoryRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:DeleteFile "\\\\?\\C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\vcstest-6732\\src\\.git\\modules\\file\\D\\objects\\db\\9ec9568e23890c815712379a245857e65192ec": permission denied (Access is denied.)' (after 2 tests and 8 shrinks):
        BranchingRepoRecipe [Right (BranchCommits "branch_C" [Commit [Right (SubmoduleAdd "file\\D" "cdpkiuvbknymnqyoiyxp" (Commit [Left (FileUpdate "file\\A" "Rb$7+,I'[N"),Left (FileUpdate "file\\A" "G{'9.-q%2G")]))]])]
        Use --quickcheck-replay=600337 to reproduce.
        Use -p '/git.cloneSourceRepo/' to rerun this test only.
      syncSourceRepos:                                                          FAIL (2.83s)
        *** Failed! Exception: 'C:\Users\RUNNER~1\AppData\Local\Temp\vcstest-6732\src\.git\modules\file\E\objects\fe\a0da7bebd3deee9ff959934825f83b5ede3caa: removeDirectoryRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:removeContentsRecursive:removePathRecursive:DeleteFile "\\\\?\\C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\vcstest-6732\\src\\.git\\modules\\file\\E\\objects\\fe\\a0da7bebd3deee9ff959934825f83b5ede3caa": permission denied (Access is denied.)' (after 1 test):
        RepoDirSet 1
        SyncTargetIterations 1
        PrngSeed 3398131536012000399
        BranchingRepoRecipe [Right (BranchCommits "branch_A" [Commit [Right (SubmoduleAdd "file\\E" "tncvrbtaqxracaiobnbq" (Commit [Left (FileUpdate "file\\E" "/AqOh;_hK/")]))]])]
        Use --quickcheck-replay=16356 to reproduce.
        Use -p '/git.syncSourceRepos/' to rerun this test only.
  • Even for newer ghc versions: 8.10.7 in the example
  • Set -j1 does not help
@jneira
Copy link
Member Author

jneira commented Mar 15, 2022

Maybe the ci test error reveals this bug: #6933

jneira added a commit to jneira/cabal that referenced this issue Mar 15, 2022
@jasagredo
Copy link
Collaborator

Closing in favor of #10182

@jasagredo jasagredo closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
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