-
-
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
What determines when coverage.io and coveralls is updated? #15191
Comments
It's updated automatically when you push to the Github repository. It's just currently broken; see e.g. JuliaCI/Coverage.jl#101 or JuliaLang/MbedTLS.jl#19. |
Just what I needed to find - just didn't know where to look (JuliaCI). Thanks |
Does anybody know of an open (not-closed) issue tracking this? |
I didn't see they were closed! Reopening. |
I just see that Coverage submission is working again. If something is outdated, then pushing any change to the respective repository should push results. Of course, this assumes that the Travis script contains the necessary magic. |
Coverage runs for base don't get run on Travis, they run on the buildbot. However, like nightlies, they only trigger when all the test-running buildbots pass. The OSX buildbot has not had a passing build since Feb 1st, it has been timing out due to the LLVM 3.7 upgrade, #13412, etc. https://build.julialang.org/builders/build_osx10.9-x64?numbuilds=250 @ViralBShah do we have any ETA on getting better Mac hardware for that buildbot? Right now it's running on a VM of @staticfloat's, having more memory should help move things along. |
Hm, you say "has not had a passing build since Feb 1st" and I can see that from your link, but codecov has not been updated for "2 months" https://codecov.io/github/JuliaLang/julia/commits and coveralls.io has not been updated since 03 jan 2016 https://coveralls.io/github/JuliaLang/julia . Maybe I misunderstood you. |
This is just the latest in a series of buildbot problems, or broken webstack on master, etc. The previous issues have now been fixed, the osx issue is what's holding it up right this second. |
Thank you for explaining. I was just curious about the current code coverage numbers. Makes contributing to the "lets get code cov to XX%" issues a bit easier. |
I think you can run CoverageBase locally but I haven't done it myself. Someone else may have to chime in with advice while we get the buildbots fixed back up. |
I have run CoverageBase locally on OSX and got a |
@kshyatt: is that the threadcall error you mentioned? If so, please yell at me until I fix it 😁. |
replutil, not threadcall. when inlining is off the results are different https://build.julialang.org/builders/coverage_ubuntu14.04-x64/builds/56/steps/Run%20non-inlined%20tests/logs/stdio |
something between 9cda4ab and c6c6842 fixed the osx buildbot. the replutil no-inline error should be fixed by 8a54ed5 now. the current issue (https://build.julialang.org/builders/coverage_ubuntu14.04-x64/builds/66/steps/Test%20CoverageBase.jl/logs/stdio) now seems to be in Requests.jl (JuliaWeb/Requests.jl#105) |
I think it was a change on the buildbot itself rather than a change in Julia, but we've been limping along the past few days successfully making binaries again. It's still quite slow, but we have the order in for a new mac mini to run it on. |
Sorry if the bump is annoying, but coverage numbers are still off. Is it something that is targeted to be fixed before the v0.5 release ? I know the coverage-tools don't explicitly add functionality, but it does seem quite important to know the extent to which the code is covered by tests. I know some people might be running these numbers locally or on their own repos, but it's not obvious how to find this information. I tried to find the active issues regarding the failure to produce the correct numbers, but all issues or PRs I could find are either closed or merged, so it's not clear why it is failing currently. Even if it might not be top priority, as key contributors might have an eye on the numbers on their own coveralls profiles, it might have an impact in the longer term with regards to attracting new contributors. At least the posts on contributing to Julia by Leah Hanson and Katherine Hyatt was what gave me the "courage" to even submit a PR to Julia in the first place. If I were to follow the guide in #11885 I would probably be quite confused :) |
Bump is certainly called-for. There are a handful of issues for specific test failures when tests are run with |
I assume we have control of the buildbots? Why not just increase the duration for the timeout? |
We could, but this is getting a little excessive. The timeout is set to trigger if there is no output from the process for an hour. That means that the I've bumped up the timeout to two hours, we'll see if it makes it through now. |
Ah. That does seem long. test_showline suggests that this loop is much (or perhaps all) of the culprit. If I'm reading it correctly, the inner loop runs |
there's currently a MethodError occurring when it tries to upload the results: https://build.julialang.org/builders/coverage_ubuntu14.04-x64/builds/403/steps/Gather%20test%20results%20and%20Submit/logs/stdio |
Since #16692, we consider all call-site devirtualization optimizations to be a subset of inlining. I suspect that may be too expensive for the bitarray test (or any other test that tests compiled optimizations) to finish in any amount of time. But, while this provided a curious (and completely unawares workaround for #265), this is probably much too aggressive. |
Looking at #11885 and at the
README.md
badges I was wondering what fires the coverage-services? Both are 1-2 months old as far as I can see, so I expect the numbers to be a bit out-dated due to all the commits since then.So, out of curiosity: when / how / why is it updated? Tried to search but couldn't find the answer.
The text was updated successfully, but these errors were encountered: