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

**URL:** <https://community.codecov.com/t/failures-to-upload-on-os-x-works-in-different-repo-with-same-contents/1126>\
**Category:** Support\
**Created:** [March 9, 2020, 5:25pm UTC](https://community.codecov.com/t/failures-to-upload-on-os-x-works-in-different-repo-with-same-contents/1126 "2020-03-09T17:25:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nemequ](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@nemequ](https://community.codecov.com/u/nemequ)\
**Post date:** [March 9, 2020, 5:25pm UTC](https://community.codecov.com/t/failures-to-upload-on-os-x-works-in-different-repo-with-same-contents/1126/1 "2020-03-09T17:25:19Z")

</div>

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.](https://github.com/nemequ/simde). Here is an example of the failure: [Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/nemequ/simde/jobs/660245451)

Interestingly, I sometimes use [a different repository](https://github.com/nemequ/ci-noise) 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](https://travis-ci.org/nemequ/ci-noise/jobs/660057669), which has be a bit confused.

Anyone have any ideas about what could be going wrong?

---

<div class="post-metadata">

**Author:** ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)\
**Post date:** [March 9, 2020, 5:36pm UTC](https://community.codecov.com/t/failures-to-upload-on-os-x-works-in-different-repo-with-same-contents/1126/2 "2020-03-09T17:36:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nemequ](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@nemequ](https://community.codecov.com/u/nemequ)\
**Post date:** [March 9, 2020, 8:30pm UTC](https://community.codecov.com/t/failures-to-upload-on-os-x-works-in-different-repo-with-same-contents/1126/3 "2020-03-09T20:30:13Z")

</div>

Sure, here you go: [Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/nemequ/simde/builds/660333057)

Thanks for looking at this.

---

<div class="post-metadata">

**Author:** ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)\
**Post date:** [March 9, 2020, 9:13pm UTC](https://community.codecov.com/t/failures-to-upload-on-os-x-works-in-different-repo-with-same-contents/1126/4 "2020-03-09T21:13:50Z")

</div>

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

`--> No coverage report found.`

Are you sure it’s getting generated?

---

<div class="post-metadata">

**Author:** ![nemequ](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@nemequ](https://community.codecov.com/u/nemequ)\
**Post date:** [March 9, 2020, 10:38pm UTC](https://community.codecov.com/t/failures-to-upload-on-os-x-works-in-different-repo-with-same-contents/1126/5 "2020-03-09T22:38:16Z")

</div>

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](https://travis-ci.org/nemequ/simde/builds/660381803). Specifically, [job #2](https://travis-ci.org/nemequ/simde/jobs/660381805) on that page (osx).

---

<div class="post-metadata">

**Author:** ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)\
**Post date:** [March 10, 2020, 1:57pm UTC](https://community.codecov.com/t/failures-to-upload-on-os-x-works-in-different-repo-with-same-contents/1126/6 "2020-03-10T13:57:33Z")

</div>

`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?
