-
Notifications
You must be signed in to change notification settings - Fork 696
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
Mark failing tests as expected failures, or fix them #8022
Conversation
I dont like see commits and prs with red crosses neither. It has a point though: make us eager to fix failing tests. |
Also, could be a comment be attached mentioning the issue? |
I mean, when we get a bug report, we'd never first merge a failing test either while the fix is (maybe or not) incoming sooner or later, right? Expected failures would be nice, but they're not available at this point. I'm happy to file an issue so that can be done as a follow-up. And yeah I absolutely mean to relevant tickets, meant to already, will fix if I didn't. |
I mean mentioning it in the test itself, to be shown in test logs, if possible |
As long as we capture the information and link to the relevant tickets (which @Mikolaj has done), I am ok with this. |
could we not use
? It has the ticket and can be guarded with os and ghc version iiuic |
This will have the nice effect of removing |
IMHO using |
It's travis specific, and the related ticket haskell#3938 has been resolved in the meantime.
8a4c349
to
611f8be
Compare
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028 haskell#8032
There appears to be a small regression in heap usage with GHC 9.2.1. This raises the limit to accommodate that, and give a bit of a buffer. Compare analysis at haskell#8029.
Great work, many thanks, some reason to not handle PackageTests/NewBuild/T3827? |
oops |
You're welcome! I just pushed an amended commit to handle T3827 more generally (previously I had skipped just the macos 8.10.7 failure). |
@@ -3,7 +3,10 @@ import Test.Cabal.Prelude | |||
-- an executable RPATH. Don't test on Windows, which doesn't | |||
-- support RPATH. | |||
main = setupAndCabalTest $ do | |||
skipIfWindows | |||
skipIfWindows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we could move this skipIfWindows to expectBrokenIf ((osx || win) && ghc)
maybe it should be in other pr, revising all skipIfWindows and transform as much of them as possible in knownBrokenIfWindows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think I'd prefer to leave this out. Skipping might also be more appropriate (in some of those ifWindows
cases at least), where we test non-Windows functionality, instead of something that we'd usually expect to work but that's broken for some reason.
(There's a second difference -- expectBrokenIf
tests will be run, while skipIf
won't. So e.g. for tests that are too slow, we can't use expectBrokenIf
.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks again, eager to see green checks everywhere again 😺
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Ok we can add all jobs to master protection rules! |
This marks tests that are currently failing on CI as "expected broken", to move back towards "green".
My understanding is that these were broken all along, but only started visibly failing recently with an extended test matrix through #7952.
Also
Please include the following checklist in your PR: