Failures to upload on OS X, works in different repo with same contents

For a few weeks now, our OS X build on Travis CI has been failing to upload to CodeCov. It tries to upload, fails, sleeps for 30 seconds, then repeats the cycle several times:

==> Uploading reports
    url: https://codecov.io
    query: branch=master&commit=f7dd307c50e6d7b9fea0ec9ee3347da2545d168c&build=1012.12&build_url=&name=&tag=&slug=nemequ%2Fsimde&service=travis&flags=&pr=103&job=660245451
    -> Pinging Codecov
    https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=master&commit=f7dd307c50e6d7b9fea0ec9ee3347da2545d168c&build=1012.12&build_url=&name=&tag=&slug=nemequ%2Fsimde&service=travis&flags=&pr=103&job=660245451
    -> Uploading
    X> Failed to upload
    -> Sleeping for 30s and trying again...
    -> Pinging Codecov
    https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=master&commit=f7dd307c50e6d7b9fea0ec9ee3347da2545d168c&build=1012.12&build_url=&name=&tag=&slug=nemequ%2Fsimde&service=travis&flags=&pr=103&job=660245451
    -> Uploading
    X> Failed to upload
    -> Sleeping for 30s and trying again...

The repository in question is https://github.com/nemequ/simde. Here is an example of the failure: https://travis-ci.org/nemequ/simde/jobs/660245451

Interestingly, I sometimes use a different repository with the same contents when I’m trying to debug something on CI and don’t want to send a hundred e-mails to people watching SIMDe. That repo seems to work, which has be a bit confused.

Anyone have any ideas about what could be going wrong?

Can you please try adding the -v flag and let me know the link/output?

Sure, here you go: https://travis-ci.org/nemequ/simde/builds/660333057

Thanks for looking at this.

It looks like it couldn’t find the coverage report.

--> No coverage report found.

Are you sure it’s getting generated?

The problem is the osx build, not the gcc-9 build. Sorry, I should have left something other than gcc-9 enabled for comparison (it uses AddressSanitizer, so no coverage).

Here is one with PPC64LE (which works) and OS X (which contains the error mentioned above): https://travis-ci.org/nemequ/simde/builds/660381803. Specifically, job #2 on that page (osx).

curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)

It looks like curl is outright crashing on the upload. I believe this is likely client-side. I had a customer with a similar issue that turned out the version of curl had changed. Are you able to check to see if anything changed with your CI environment around the time the uploads started failing?