# Empty coverage reports

**URL:** <https://community.codecov.com/t/empty-coverage-reports/2660>\
**Category:** Support\
**Tags:** python\
**Created:** [March 17, 2021, 6:56pm UTC](https://community.codecov.com/t/empty-coverage-reports/2660 "2021-03-17T18:56:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuragprat1k](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/anuragprat1k/32/1661_2.png) [@anuragprat1k](https://community.codecov.com/u/anuragprat1k)\
**Post date:** [March 17, 2021, 6:56pm UTC](https://community.codecov.com/t/empty-coverage-reports/2660/1 "2021-03-17T18:56:57Z")

</div>

### Description

**Background**

1. We use circle CI and run our python tests inside a docker container. Coverage reports are generated inside this docker container.

2. As per [Testing with Docker](https://docs.codecov.io/docs/testing-with-docker), I made sure to mount a filepath where coverage reports will be dumped (here [fairo/.circleci/config.yml at anurag/yml · facebookresearch/fairo · GitHub](https://github.com/facebookresearch/droidlet/blob/anurag/yml/.circleci/config.yml#L136) $PWD is being mounted as /shared and all the coverage reports are dumped here like this [fairo/.circleci/locobot\_tests.sh at anurag/yml · facebookresearch/fairo · GitHub](https://github.com/facebookresearch/droidlet/blob/anurag/yml/.circleci/locobot_tests.sh#L54)).

**Problem**  
All the coverage files generated in step 2 above are named according to the format “test\_\*.xml”. However, when I try to upload them using `bash <(curl -s https://codecov.io/bash) -f "test_*.xml" -F "locobot" ` ([fairo/.circleci/config.yml at anurag/yml · facebookresearch/fairo · GitHub](https://github.com/facebookresearch/droidlet/blob/anurag/yml/.circleci/config.yml#L138)), it looks like the coverage report uploaded to codecov is empty and I just get a message on [codecov.io](http://codecov.io) saying “There was an error processing coverage reports”.

**Questions**

1. What is the exact command that the bash uploader runs to generate the coverage xml? How can I look at this generated coverage xml?
2. I suspected fixing paths could be an issue (as per [Path Fixing](https://docs.codecov.io/docs/fixing-paths)) since the coverages reports are being generated inside a docker container. But I can’t seem to figure out how to fix this if at all it is a problem (here’s my current solution using fixes in the codecov.yml file that doesn’t work [fairo/codecov.yml at anurag/yml · facebookresearch/fairo · GitHub](https://github.com/facebookresearch/droidlet/blob/anurag/yml/codecov.yml#L2))

### Repository

The changes mentioned here are in this branch specifically [GitHub - facebookresearch/fairo at anurag/yml](https://github.com/facebookresearch/droidlet/tree/anurag/yml)

### CI/CD or Build URL

Uploaded in the last step here in “Build and run tests”  
[https://app.circleci.com/pipelines/github/facebookresearch/droidlet/698/workflows/549f4b59-03e1-464a-b87f-2c81110713ec/jobs/1413](https://app.circleci.com/pipelines/github/facebookresearch/droidlet/698/workflows/549f4b59-03e1-464a-b87f-2c81110713ec/jobs/1413)

### Uploader

`bash <(curl -s https://codecov.io/bash) -f "test_*.xml" -F "locobot" `

### Codecov Output

 ![Screen Shot 2021-03-17 at 2.55.29 PM](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/b/ba21e92f097daf6605c930548479683ac5458e35.png)

### Expected Results

See coverage reports processed on [codecov.io](http://codecov.io)

### Actual Results

No coverage report.

---

<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:** [March 25, 2021, 4:07pm UTC](https://community.codecov.com/t/empty-coverage-reports/2660/2 "2021-03-25T16:07:18Z")

</div>

@anuragprat1k this is really strange. Would you e able to run the uploader in verbose mode with the `-v` flag? I’d like to see why we didn’t pick up your files.
