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 GitHub - simd-everywhere/simde: Implementations of SIMD instruction sets for systems which don't natively support them.. Here is an example of the failure: Travis CI - Test and Deploy Your Code with Confidence

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: Travis CI - Test and Deploy Your Code with Confidence

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): Travis CI - Test and Deploy Your Code with Confidence. 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?