-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Delay fatality of Travis tests #2367
Comments
I should add this to our test suite's behavior. The Base.Test module needs some work, but not a huge amount. |
It only matters because people keep insisting on pushing code to master which breaks the tests. |
That's understandable when they all pass locally but fail only on Travis (how could you have known?) but pushing a build that fails test locally is completely not ok at this point. |
Sorry for the problems I caused, having the code working locally and failing on Travis is precisely what happened (and I'm still fighting to fix all the errors). The suggestion in this issue seems like a good idea. |
That's bound to happen. |
It's a good argument for running through a pull request even if you have commit access. Sorry, @carlobaldassi, I came across too sarcastically here; just got kind of annoyed when my pull request suddenly failed tests. |
Branches on origin are tested even without a pull request so if you push to a branch before you push to master the problem could be avoided. |
Oh, that's good to know! Here's the link if anyone is wondering: https://travis-ci.org/JuliaLang/julia/branches |
I think we are doing this now? |
We are not doing this yet. |
It only looks like we do this because on Travis we get 8 worker processes, and each worker has a chance to hit a separate test error before dying. |
In a particular worker, we could potentially continue all tests and give all errors, rather than just the first one, right? |
Upon an error in a particular worker, we should not run more tests in the same worker, since we are not clear what exactly caused the error - for example, could be a memory corruption which will just screw up any additional tests. We just need to remove |
Actually just removing |
@tkelman you just did the opposite of this right, fail-fast? |
Ref #12387. That was more about the situation where you open a branch or PR and push a bunch of commits to it in rapid succession. It's easier on the Travis and AppVeyor queues to not bother building the redundant builds there when something newer is queued for the same PR/branch. I think this issue is more about the test framework itself, like your #9398 (edit: and #10835). So if there are multiple problems with a commit, may as well run the tests to completion to find out about all of them at once. |
Is there a way we can make a best effort to run all the tests, even if a test fails? Instant fatality means that unrelated tests to a patchset can prevent the patchset from getting appropriate test coverage.
The text was updated successfully, but these errors were encountered: