Description
Coverage is failing to upload consistently.
Repository
I emailed in the private repo URL, the name can’t be shared publicly.
Versions
N/A - build job runs on a Docker VM on Bitrise
Additional Information
https://codecov.io/upload/v4?package=...
-> Uploading
X> Failed to upload
-> Sleeping for 30s and trying again...
-> Pinging Codecov
https://codecov.io/upload/v4?package=...
-> Uploading
X> Failed to upload
-> Sleeping for 30s and trying again...
-> Pinging Codecov
https://codecov.io/upload/v4?package=...
-> Uploading
X> Failed to upload
-> Sleeping for 30s and trying again...
-> Pinging Codecov
https://codecov.io/upload/v4?package=...
-> 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
The codecov server is super flaky. If we restart the build job enough times, eventually the upload succeeds. The upload failure is happening 100% of the time, and only occasionally succeeding on retry. Here’s the code we use to post the upload: