-
Notifications
You must be signed in to change notification settings - Fork 79
Builds failing when codecov cannot upload coverage metrics #129
Comments
Any workaround about this? It break our CI workflow a lot of time. |
|
@tetienne, would you be able to post a link to the CircleCI build here? |
@thomasrockhu In case it is useful an example with GitHub Action: https://github.com/SpeciesFileGroup/taxonworks/runs/1899691952?check_suite_focus=true |
@LocoDelAssembly that is helpful, can try installing the GitHub app here? |
@thomasrockhu That’s from a private circleci instance, so you cannot access it. If you need specific information, don’t hesitate to ask me. |
The problem seems to be in codecov-ruby/lib/codecov/uploader.rb Line 424 in e0aa49e
=> the response can not be parsed as a valid url Since visibly it's the second time this week that the platform has problems (according to https://status.codecov.io/) that prevent paying customers from uploading reports, would it be possible to make the upload NON blocking? I can live without the codecov.io reports, but I would prefer my CI checks to pass all the same. Maybe adding a SimpleCov option? |
Hi all, I'll keep this ticket open for a few weeks, but we released Let me know if that works for you or if you experience issues. |
With the latest update we're consistently getting this error, I believe the syntax error is in something returned by the server:
|
hello @thomasrockhu Sorry, but I experience issues
In a very similar way to the comment https://github.com/codecov/codecov-ruby/pull/137/files#r585093609 (on the PR that has been merged two days ago). Am I missing something? |
@nilleb it should work on |
The default is |
Any working workaround for this issue, I don't want to skip coverage reports in my CI, but I'm constantly getting same error as @elia For example in this run: I think I restarted it over 10 times and cannot get more that one run without error |
I have the same now occasionally: https://cirrus-ci.com/task/5618513965481984?logs=test#L954
|
Does the codecov-ruby not work on JRuby nor TruffleRuby? |
This is wrong place for such question, but it works: https://cirrus-ci.com/build/6501205141618688 (the ends of |
Problem was gone for me for quite of some time but today it's failing again almost each build |
[updated 2] Solved the problem by using the context. (ref: https://circleci.com/docs/2.0/contexts/#creating-and-using-a-context) [updated] After putting some debugger message, I found that I may be our misconfiguration of CircleCI environment variable.
I had the same issue since April. I've updated circleci and orb again, but the issue still here.
It looks like And I try to make the same request from my computer, I can get the correct uploading url.
|
I'm getting somewhat frequently today errors like
uri/common.rb:739:in 'URI': bad argument (expected URI object or URI string) (ArgumentError)
It looks the problem comes from here:
codecov-ruby/lib/codecov.rb
Line 413 in e1b4e2f
However, I was wondering if it is OK when codecov fails to cause the tests to fail? Is there an official way to prevent returning non-zero exit status when this happen?
The text was updated successfully, but these errors were encountered: