I’m seeing that the uploading of reports fails quite often on our project. Generating the reports works just fine, but when we run the codecov/upload step, we get failures. This causes some wonkiness in our reports because an entire section is missing.
@joelpoloney, we had an incident earlier that has been resolved and might be why you were experiencing this issue. Would you be able to log out of Codecov.io, clear your cookies, and log back in? This should resolve your problem.
I am also experiencing upload failures when using CircleCI in a private GitHub repo. The codecov stage takes about 30mins and then it fails without publishing the report. Any idea how this can be fixed?
==> Gzipping contents
==> Uploading reports
url: https://codecov.io
query: branch=pull%2F33&commit=83559ae44b08bb506b158bd7cd90f6f38b1d2278&build=89&…
→ Pinging Codecov https://codecov.io/upload/v4?…
→ Uploading
X> Failed to upload
→ Sleeping for 30s and trying again…
→ Pinging Codecov
→ Uploading
X> Failed to upload
→ Sleeping for 30s and trying again…
→ Uploading to Codecov
→ Sleeping for 30s and trying again…
→ Sleeping for 30s and trying again…
→ Sleeping for 30s and trying again…
→ Sleeping for 30s and trying again…
X> Failed to upload coverage reports
@tom This issue isn’t with the Codecov website or cookies or anything like that. It’s specifically when the CircleCI orb tries uploading and after 2 minutes it fails. This is still consistently happening a few times a week for us.
and this is all we see We’re going to try moving off the orb and writing our own script that wraps the codecov npm commands and will see if that’s any better for us.
@joelpoloney, before you do that, would you be open to trying the bash script? I’d at least like to see more error logs on why this is happening, and I think directly using the script should give us some output.