-
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
Continuous integration failed to detect bug in solver Hackage benchmarks #9495
Comments
For a start, does the test run when testing cabal locally according to the relevant instructions? |
c332032 showed that CI fails when the benchmark doesn't compile. EDIT: The step "Validate build" of the job "Validate ubuntu-latest ghc-9.2.8" failed, though all other "Validate" jobs were cancelled. |
This reverts commit 8541514.
5ca936b showed that CI passes when the unit tests have a failure. The three CI runs mean that CI builds the Hackage benchmark but doesn't correctly run it or its unit tests. |
I'm not sure how to debug the CI next. It looks like Lines 210 to 211 in a1cbd89
Line 269 in a1cbd89
Lines 464 to 477 in a1cbd89
The cabal/.docker/validate-8.8.4.dockerfile Line 76 in a1cbd89
and cabal/.github/workflows/validate.yml Line 39 in a1cbd89
cabal/.github/workflows/validate.yml Lines 112 to 114 in a1cbd89
|
That's normal. When one job fails, others get cancelled. So this case is fine. |
Good detective work. Yes, I confirm in the raw log from https://github.com/haskell/cabal/actions/runs/7109262010/job/19402640597?pr=9494 that benchmarks are built for GHC 9.2.8. However, they are not tested nor run, because So this looks like an omission in |
Add solver Hackage benchmarks to GitHub Actions (fixes #9495)
This reverts commit 8541514.
#6447 added a short run of the solver Hackage benchmark to CI to test that it can run without errors. However, I noticed a bug where the benchmark fails to run when the cabal config files have not been initialized (#9494). This issue is for checking whether CI is still correctly testing the benchmark.
The text was updated successfully, but these errors were encountered: