# Error processing coverage reports from public GitLab repo using GitLab CI

**URL:** <https://community.codecov.com/t/error-processing-coverage-reports-from-public-gitlab-repo-using-gitlab-ci/1624>\
**Category:** Bug Fixes\
**Created:** [June 18, 2020, 10:12pm UTC](https://community.codecov.com/t/error-processing-coverage-reports-from-public-gitlab-repo-using-gitlab-ci/1624 "2020-06-18T22:12:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wtbarnes](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/wtbarnes/32/863_2.png) [@wtbarnes](https://community.codecov.com/u/wtbarnes)\
**Post date:** [June 18, 2020, 10:12pm UTC](https://community.codecov.com/t/error-processing-coverage-reports-from-public-gitlab-repo-using-gitlab-ci/1624/1 "2020-06-18T22:12:46Z")

</div>

### Description

When running the Python codecov uploader on the GitLab CI, something is successfully sent to [codecov.io](http://codecov.io) but the dashboard indicates there was an error processing the coverage report. The output from running the codecov uploader indicates that somehow only the coveragerc file is being uploaded, despite the fact that the coverage report is generated successfully.

### Repository

> **[LMSAL\_HUB / AIA HUB / aiapy · GitLab](https://gitlab.com/LMSAL_HUB/aia_hub/aiapy)**
>
> Moved to: https://github.com/LM-SAL/aiapy Please open issues or pull requests there

### CI/CD

GitLab CI

An example of the CI running the codecove command and successfully sending to [codecov.io](http://codecov.io): [https://gitlab.com/LMSAL\_HUB/aia\_hub/aiapy/-/jobs/601988019#L155](https://gitlab.com/LMSAL_HUB/aia_hub/aiapy/-/jobs/601988019#L155)

### Uploader

Python uploader, v2.1.7 with coverage v5.1, Python 3.7

### Commit SHAs

eaf7a31489a968b8e83f53e010afa0b1a65e012e

### Codecov YAML

I have not included a codecov.yml file in my repo

### Codecov Output

```auto
$ codecov --token=$CODECOV_TOKEN
      _____ _
     / ____ | | |
    | | _____ | | ______  _______
    | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |__/ (_| (_) \ V /
     \ _____\___ / \ ____|\___ |\ ___\___ / \_/
                                    v2.1.7
==> Detecting CI provider
    Gitlab CI Detected
==> Preparing upload
==> Processing gcov (disable by -X gcov)
==> Collecting reports
    + /builds/LMSAL_HUB/aia_hub/aiapy/aiapy/tests/coveragerc bytes=767
==> Uploading
    .url https://codecov.io
    .query commit=eaf7a31489a968b8e83f53e010afa0b1a65e012e&branch=master&token=<secret>&service=gitlab&build=601988019&slug=LMSAL_HUB%2Faia_hub%2Faiapy&package=py2.1.7
    Gzipping contents..
    Compressed contents to 972 bytes
    Pinging Codecov...
    Uploading to S3...
    https://codecov.io/gitlab/LMSAL_HUB:aia_hub/aiapy/commit/eaf7a31489a968b8e83f53e010afa0b1a65e012e

```

### Steps to Reproduce

This [CI job](https://gitlab.com/LMSAL_HUB/aia_hub/aiapy/-/jobs/601988019) shows each step to reproduce the issue. However, I’ve found that I cannot reproduce this locally.

**Expected behavior:** A valid coverage report is uploaded to [codecov.io](http://codecov.io) each time the CI is run.

**Actual behavior:** Something is uploaded to [codecov.io](http://codecov.io), but the coverage report cannot be processed

**Flakiness?** This happens every time when running codecov on the GitLab CI

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [June 18, 2020, 10:49pm UTC](https://community.codecov.com/t/error-processing-coverage-reports-from-public-gitlab-repo-using-gitlab-ci/1624/2 "2020-06-18T22:49:03Z")

</div>

Hi @wtbarnes, looks like we aren’t able to find the coverage report being generated. You can use these arguments to specify the [file](https://github.com/codecov/codecov-bash/blob/master/codecov#L97) or [directory](https://github.com/codecov/codecov-bash/blob/master/codecov#L107). Are you able to echo where the coverage report is being stored on the CI/CD?

---

<div class="post-metadata">

**Author:** ![wtbarnes](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/wtbarnes/32/863_2.png) [@wtbarnes](https://community.codecov.com/u/wtbarnes)\
**Post date:** [June 19, 2020, 9:29pm UTC](https://community.codecov.com/t/error-processing-coverage-reports-from-public-gitlab-repo-using-gitlab-ci/1624/3 "2020-06-19T21:29:15Z")

</div>

Hi @tom. Yes, the issue was that my coverage reports were not being generated even when I thought they were. Sorry for the confusion and thanks for your help!
