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

[CI] Silent test-suite fails on Windows #10189

Open
jasagredo opened this issue Jul 9, 2024 · 0 comments
Open

[CI] Silent test-suite fails on Windows #10189

jasagredo opened this issue Jul 9, 2024 · 0 comments

Comments

@jasagredo
Copy link
Collaborator

Describe the bug
In the test: PackageTests\Regression\T5309\cabal.test.hs

The command

*** Exception: Command "D:\a\cabal\cabal\dist-newstyle-validate-ghc-9.10.1\build\x86_64-windows\ghc-9.10.1\cabal-install-3.13.0.0\x\cabal\build\cabal\cabal.exe" "v2-test" "-vverbose +markoutput +nowrap" "--builddir" "C:\Users\runneradmin\AppData\Local\Temp\cabal-testsuite-34792\cabal.dist\work\.\dist" "-j1" "--package-db=D:\a\cabal\cabal\testdb\intree\store\ghc-9.10.1-c219\package.db" "--package-db=D:\a\cabal\cabal\testdb\intree\dist-newstyle\packagedb\ghc-9.10.1" "all" "--test-show-details=direct" failed.

which should produce some output directly on the screen (because of "--test-show-details=direct") shows no output and just fails, making the test fail on CI. On my machine this test passes succesfully. I'm not sure how one could debug this (perhaps with a tmate action into the machine).

I have observed in the past that sometimes if a library is missing the testsuite fails to execute without any message to the screen, perhaps that is the case.

To Reproduce

https://github.com/haskell/cabal/actions/runs/9848153818/job/27189577694?pr=10186

System information

  • Operating system: GHA windows-2022 20240630.1.0
  • cabal, ghc versions: cabal 3.12.1.0, GHC 9.10.1 and 9.6.4 observed.
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

1 participant