# C++ report "upload is empty"

**URL:** <https://community.codecov.com/t/c-report-upload-is-empty/3991>\
**Category:** Support\
**Created:** [December 2, 2022, 4:33am UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991 "2022-12-02T04:33:47Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayonb](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/wayonb/32/2302_2.png) [@Wayonb](https://community.codecov.com/u/Wayonb)\
**Post date:** [December 2, 2022, 4:33am UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/1 "2022-12-02T04:33:48Z")

</div>

### Description

I have a C++ projects using flags. It seems when codecov is runs in Jenkins the upload is empty. If I run the same command locally the upload seems to be fine.

### CI/CD URL

Please provide a link to the CI/CD run.  
[https://jenkins.symboldev.com/job/Symbol/job/server-pipelines/job/catapult-client-build-catapult-project/5951/console](https://jenkins.symboldev.com/job/Symbol/job/server-pipelines/job/catapult-client-build-catapult-project/5951/console)

The upload data

> **[Code coverage done right.](https://app.codecov.io/gh/symbol/symbol/commit/9bf0bf7bd56f698846283c0ea5c46ae2ca674383)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

[https://storage.googleapis.com/codecov/v4/raw/2022-12-02/5906131E70BB6F6A9D0E465027DAF0E8/9bf0bf7bd56f698846283c0ea5c46ae2ca674383/d9428d21-4512-42d7-be8d-031f1bee23ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221202%2FUS%2Fs3%2Faws4\_request&X-Amz-Date=20221202T042500Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=fc77bd3dad5e6035d5e2f92261dc25eb4e236600dfa4abc524f482dd5bf9c7e1](https://storage.googleapis.com/codecov/v4/raw/2022-12-02/5906131E70BB6F6A9D0E465027DAF0E8/9bf0bf7bd56f698846283c0ea5c46ae2ca674383/d9428d21-4512-42d7-be8d-031f1bee23ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221202T042500Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=fc77bd3dad5e6035d5e2f92261dc25eb4e236600dfa4abc524f482dd5bf9c7e1)

### Codecov Output

Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.

```auto
19:47:25 + curl -Os https://uploader.codecov.io/latest/linux/codecov
19:47:26 + chmod +x codecov
19:47:26 + ./codecov --verbose --nonZero --rootDir . --flags client-catapult --file client_coverage.info
19:47:26 [2022-12-02T00:47:26.318Z] ['verbose'] Start of uploader: 1669942046318...
19:47:26 [2022-12-02T00:47:26.327Z] ['info'] 
19:47:26 _____ _
19:47:26 / ____ | | |
19:47:26 | | _____ | | ______  _______
19:47:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
19:47:26 | |___| (_) | (_| |__/ (_| (_) \ V /
19:47:26 \ _____\___ / \ __,_|\___ |\ ___\___ / \_/
19:47:26  
19:47:26 Codecov report uploader 0.3.2
19:47:26 [2022-12-02T00:47:26.327Z] ['info'] => Project root located at: .
19:47:26 [2022-12-02T00:47:26.329Z] ['info'] -> Token found by environment variables
19:47:26 [2022-12-02T00:47:26.331Z] ['verbose'] Start of network processing...
19:47:26 [2022-12-02T00:47:26.331Z] ['verbose'] Searching for files in .
19:47:27 [2022-12-02T00:47:27.163Z] ['verbose'] coveragepy is not installed
19:47:27 [2022-12-02T00:47:27.163Z] ['info'] Searching for coverage files...
19:47:27 [2022-12-02T00:47:27.455Z] ['info'] Warning: Some files passed via the -f flag would normally be excluded from search.
19:47:27 [2022-12-02T00:47:27.456Z] ['info'] If Codecov encounters issues processing your reports, please review https://docs.codecov.com/docs/supported-report-formats
19:47:27 [2022-12-02T00:47:27.456Z] ['verbose'] Preparing to clean the following coverage paths: client_coverage.info,catapult-src/client_coverage.info
19:47:27 [2022-12-02T00:47:27.456Z] ['info'] => Found 1 possible coverage files:
19:47:27 catapult-src/client_coverage.info
19:47:27 [2022-12-02T00:47:27.456Z] ['verbose'] End of network processing
19:47:27 [2022-12-02T00:47:27.456Z] ['info'] Processing catapult-src/client_coverage.info...
19:47:27 [2022-12-02T00:47:27.604Z] ['info'] Detected Jenkins CI as the CI provider.
19:47:27 [2022-12-02T00:47:27.604Z] ['verbose'] -> Using the following env variables:
19:47:27 [2022-12-02T00:47:27.604Z] ['verbose'] BRANCH_NAME: undefined
19:47:27 [2022-12-02T00:47:27.604Z] ['verbose'] BUILD_NUMBER: 5951
19:47:27 [2022-12-02T00:47:27.604Z] ['verbose'] BUILD_URL: https://jenkins.symboldev.com/job/Symbol/job/server-pipelines/job/catapult-client-build-catapult-project/5951/
19:47:27 [2022-12-02T00:47:27.604Z] ['verbose'] CHANGE_ID: undefined
19:47:27 [2022-12-02T00:47:27.604Z] ['verbose'] GIT_BRANCH: origin/dev
19:47:27 [2022-12-02T00:47:27.604Z] ['verbose'] GIT_COMMIT: 9bf0bf7bd56f698846283c0ea5c46ae2ca674383
19:47:27 [2022-12-02T00:47:27.604Z] ['verbose'] JENKINS_URL: https://jenkins.symboldev.com/
19:47:27 [2022-12-02T00:47:27.605Z] ['verbose'] ghprbActualCommit: undefined
19:47:27 [2022-12-02T00:47:27.605Z] ['verbose'] ghprbPullId: undefined
19:47:27 [2022-12-02T00:47:27.605Z] ['verbose'] ghprbSourceBranch: undefined
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] Using the following upload parameters:
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] branch
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] build
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] buildURL
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] commit
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] job
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] pr
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] service
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] slug
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] name
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] tag
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] flags
19:47:27 [2022-12-02T00:47:27.613Z] ['verbose'] parent
19:47:27 [2022-12-02T00:47:27.615Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.3.2&token= ******* &branch=origin%2Fdev&build=5951&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fserver-pipelines%2Fjob%2Fcatapult-client-build-catapult-project%2F5951%2F&commit=9bf0bf7bd56f698846283c0ea5c46ae2ca674383&job=&pr=&service=jenkins&slug=&name=&tag=&flags=client-catapult&parent=
19:47:27 [2022-12-02T00:47:27.615Z] ['verbose'] Passed token was 36 characters long
19:47:27 [2022-12-02T00:47:27.615Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.3.2&branch=origin%2Fdev&build=5951&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fserver-pipelines%2Fjob%2Fcatapult-client-build-catapult-project%2F5951%2F&commit=9bf0bf7bd56f698846283c0ea5c46ae2ca674383&job=&pr=&service=jenkins&slug=&name=&tag=&flags=client-catapult&parent=
19:47:27 Content-Type: 'text/plain'
19:47:27 Content-Encoding: 'gzip'
19:47:27 X-Reduced-Redundancy: 'false'
19:47:28 [2022-12-02T00:47:28.068Z] ['info'] https://app.codecov.io/github/symbol/symbol/commit/9bf0bf7bd56f698846283c0ea5c46ae2ca674383
19:47:28 https://storage.googleapis.com/codecov/v4/raw/2022-12-02/5906131E70BB6F6A9D0E465027DAF0E8/9bf0bf7bd56f698846283c0ea5c46ae2ca674383/d9428d21-4512-42d7-be8d-031f1bee23ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221202T004728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b41d702ff842201e02402ac2830978ec6c94732120caaa640e8db9f4ce03234
19:47:28 [2022-12-02T00:47:28.069Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2022-12-02/5906131E70BB6F6A9D0E465027DAF0E8/9bf0bf7bd56f698846283c0ea5c46ae2ca674383/d9428d21-4512-42d7-be8d-031f1bee23ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221202T004728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b41d702ff842201e02402ac2830978ec6c94732120caaa640e8db9f4ce03234
19:47:28 [2022-12-02T00:47:28.069Z] ['info'] Uploading...
19:47:28 [2022-12-02T00:47:28.280Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/symbol/symbol/commit/9bf0bf7bd56f698846283c0ea5c46ae2ca674383"}
19:47:28 [2022-12-02T00:47:28.280Z] ['verbose'] End of uploader: 1962 milliseconds

```

### Expected Results

If you take a look at the CI job, lcov list the excepted code coverage data that should be uploaded. This looks correct.

### Actual Results

Please provide what actually happened.  
The upload states that its empty.

 ![Screenshot from 2022-12-01 23-31-37](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/1/1f41d7b81128605e68441e17825d77024a98b09b.png)

### Additional Information

Any additional information, configuration, or data that might be necessary to reproduce the issue.

---

<div class="post-metadata">

**Author:** ![Wayonb](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/wayonb/32/2302_2.png) [@Wayonb](https://community.codecov.com/u/Wayonb)\
**Post date:** [December 10, 2022, 7:55pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/2 "2022-12-10T19:55:15Z")

</div>

@tom any idea what causing this issue?

---

<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:** [February 7, 2023, 4:28pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/3 "2023-02-07T16:28:49Z")

</div>

@Wayonb this looks like it’s only happening with `client-catapult`. My guess is that there is some weird directory thing happening. Can you try adding

```auto
fixes:
   - "catapult-src/::"

```

to your `codecov.yml` file?

---

<div class="post-metadata">

**Author:** ![Wayonb](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/wayonb/32/2302_2.png) [@Wayonb](https://community.codecov.com/u/Wayonb)\
**Post date:** [May 9, 2023, 2:58pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/4 "2023-05-09T14:58:36Z")

</div>

@tom thanks. Will give this a try. I am back on this 😂

The strange thing with this issue is that if I run the same steps manually as in the Jenkins jobs it succeed.  
eg.  
If you look here there are two uploads for catapult client. They are different and I am not sure why - [Codecov](https://app.codecov.io/gh/symbol/symbol/commit/eec197b6ef6b22428691841967521f93e4c27aea)

Jenkins job upload - [https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5906131E70BB6F6A9D0E465027DAF0E8/eec197b6ef6b22428691841967521f93e4c27aea/f9abe23f-a668-46ec-a98a-23def7204fce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4\_request&X-Amz-Date=20230509T145033Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e813de4c37030834cd66db24cfe9b90f269d286c968e5d2f472f073366cdfeb4](https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5906131E70BB6F6A9D0E465027DAF0E8/eec197b6ef6b22428691841967521f93e4c27aea/f9abe23f-a668-46ec-a98a-23def7204fce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T145033Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e813de4c37030834cd66db24cfe9b90f269d286c968e5d2f472f073366cdfeb4)

manual upload - [https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5906131E70BB6F6A9D0E465027DAF0E8/eec197b6ef6b22428691841967521f93e4c27aea/67cc8e1b-d62f-4ba0-a6c0-736791061cff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4\_request&X-Amz-Date=20230509T145010Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=843db577546469d1c7ca7de237d7e0b946dfe7fd456258ac0919bb1ea5ef23bc](https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5906131E70BB6F6A9D0E465027DAF0E8/eec197b6ef6b22428691841967521f93e4c27aea/67cc8e1b-d62f-4ba0-a6c0-736791061cff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T145010Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=843db577546469d1c7ca7de237d7e0b946dfe7fd456258ac0919bb1ea5ef23bc)

I am assuming codecov tool might be doing something differently when it detects Jenkins?

---

<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:** [May 9, 2023, 4:21pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/5 "2023-05-09T16:21:30Z")

</div>

@Wayonb, do you mind posting the entire Codecov output for the Jenkins and manual side?

---

<div class="post-metadata">

**Author:** ![Wayonb](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/wayonb/32/2302_2.png) [@Wayonb](https://community.codecov.com/u/Wayonb)\
**Post date:** [May 9, 2023, 4:27pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/6 "2023-05-09T16:27:33Z")

</div>

@tom sure.

This is from Jenkins

```auto
20:50:08 + curl -Os https://uploader.codecov.io/latest/linux/codecov
20:50:09 + chmod +x codecov
20:50:09 + ./codecov --verbose --nonZero --rootDir . --flags client-catapult --file client_coverage.info
20:50:09 [2023-05-09T00:50:09.477Z] ['verbose'] Start of uploader: 1683593409477...
20:50:09 [2023-05-09T00:50:09.479Z] ['info'] 
20:50:09 _____ _
20:50:09 / ____ | | |
20:50:09 | | _____ | | ______  _______
20:50:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
20:50:09 | |___| (_) | (_| |__/ (_| (_) \ V /
20:50:09 \ _____\___ / \ __,_|\___ |\ ___\___ / \_/
20:50:09  
20:50:09 Codecov report uploader 0.5.0
20:50:09 [2023-05-09T00:50:09.479Z] ['info'] => Project root located at: .
20:50:09 [2023-05-09T00:50:09.479Z] ['info'] -> Token found by environment variables
20:50:09 [2023-05-09T00:50:09.480Z] ['verbose'] Start of network processing...
20:50:09 [2023-05-09T00:50:09.480Z] ['verbose'] Searching for files in .
20:50:10 [2023-05-09T00:50:10.394Z] ['verbose'] coveragepy is not installed
20:50:10 [2023-05-09T00:50:10.394Z] ['info'] Searching for coverage files...
20:50:10 [2023-05-09T00:50:10.609Z] ['info'] Warning: Some files passed via the -f flag would normally be excluded from search.
20:50:10 [2023-05-09T00:50:10.609Z] ['info'] If Codecov encounters issues processing your reports, please review https://docs.codecov.com/docs/supported-report-formats
20:50:10 [2023-05-09T00:50:10.609Z] ['verbose'] Preparing to clean the following coverage paths: client_coverage.info,catapult-src/client_coverage.info
20:50:10 [2023-05-09T00:50:10.609Z] ['info'] => Found 1 possible coverage files:
20:50:10 catapult-src/client_coverage.info
20:50:10 [2023-05-09T00:50:10.609Z] ['verbose'] End of network processing
20:50:10 [2023-05-09T00:50:10.609Z] ['info'] Processing catapult-src/client_coverage.info...
20:50:10 [2023-05-09T00:50:10.726Z] ['info'] Detected Jenkins CI as the CI provider.
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] -> Using the following env variables:
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] BRANCH_NAME: undefined
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] BUILD_NUMBER: 7732
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] BUILD_URL: https://jenkins.symboldev.com/job/Symbol/job/server-pipelines/job/catapult-client-build-catapult-project/7732/
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] CHANGE_ID: undefined
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] GIT_BRANCH: origin/dev
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] GIT_COMMIT: eec197b6ef6b22428691841967521f93e4c27aea
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] JENKINS_URL: https://jenkins.symboldev.com/
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] ghprbActualCommit: undefined
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] ghprbPullId: undefined
20:50:10 [2023-05-09T00:50:10.727Z] ['verbose'] ghprbSourceBranch: undefined
20:50:10 [2023-05-09T00:50:10.736Z] ['verbose'] Using the following upload parameters:
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] branch
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] build
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] buildURL
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] commit
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] job
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] pr
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] service
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] slug
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] name
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] tag
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] flags
20:50:10 [2023-05-09T00:50:10.737Z] ['verbose'] parent
20:50:10 [2023-05-09T00:50:10.738Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.5.0&token= ******* &branch=origin%2Fdev&build=7732&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fserver-pipelines%2Fjob%2Fcatapult-client-build-catapult-project%2F7732%2F&commit=eec197b6ef6b22428691841967521f93e4c27aea&job=&pr=&service=jenkins&slug=&name=&tag=&flags=client-catapult&parent=
20:50:10 [2023-05-09T00:50:10.738Z] ['verbose'] Passed token was 36 characters long
20:50:10 [2023-05-09T00:50:10.738Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.5.0&branch=origin%2Fdev&build=7732&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fserver-pipelines%2Fjob%2Fcatapult-client-build-catapult-project%2F7732%2F&commit=eec197b6ef6b22428691841967521f93e4c27aea&job=&pr=&service=jenkins&slug=&name=&tag=&flags=client-catapult&parent=
20:50:10 Content-Type: 'text/plain'
20:50:10 Content-Encoding: 'gzip'
20:50:10 X-Reduced-Redundancy: 'false'
20:50:11 [2023-05-09T00:50:10.981Z] ['info'] https://app.codecov.io/github/symbol/symbol/commit/eec197b6ef6b22428691841967521f93e4c27aea
20:50:11 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5906131E70BB6F6A9D0E465027DAF0E8/eec197b6ef6b22428691841967521f93e4c27aea/f9abe23f-a668-46ec-a98a-23def7204fce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T005010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b95a2029522402ed959c079a022fcf0b426cfbe0a3d14ded07df704d136f868e
20:50:11 [2023-05-09T00:50:10.982Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5906131E70BB6F6A9D0E465027DAF0E8/eec197b6ef6b22428691841967521f93e4c27aea/f9abe23f-a668-46ec-a98a-23def7204fce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T005010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b95a2029522402ed959c079a022fcf0b426cfbe0a3d14ded07df704d136f868e
20:50:11 [2023-05-09T00:50:10.982Z] ['info'] Uploading...
20:50:11 [2023-05-09T00:50:11.152Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/symbol/symbol/commit/eec197b6ef6b22428691841967521f93e4c27aea"}
20:50:11 [2023-05-09T00:50:11.152Z] ['verbose'] End of uploader: 1675 milliseconds

```

This is the manual upload

```auto
+ curl -Os https://uploader.codecov.io/latest/linux/codecov
+ chmod +x codecov
+ ./codecov --verbose --nonZero --rootDir . --flags client-catapult --file client_coverage.info
[2023-05-09T03:34:08.005Z] ['verbose'] Start of uploader: 1683603248005...
[2023-05-09T03:34:08.006Z] ['info'] 
     _____ _
    / ____ | | |
   | | _____ | | ______  _______
   | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |__/ (_| (_) \ V /
    \ _____\___ / \ __,_|\___ |\ ___\___ / \_/

  Codecov report uploader 0.5.0
[2023-05-09T03:34:08.006Z] ['info'] => Project root located at: .
[2023-05-09T03:34:08.009Z] ['info'] -> Token found by environment variables
[2023-05-09T03:34:08.009Z] ['verbose'] Start of network processing...
[2023-05-09T03:34:08.009Z] ['verbose'] Searching for files in .
[2023-05-09T03:34:08.024Z] ['verbose'] coveragepy is not installed
[2023-05-09T03:34:08.024Z] ['info'] Searching for coverage files...
[2023-05-09T03:34:08.146Z] ['verbose'] Preparing to clean the following coverage paths: client_coverage.info,client_coverage.info
[2023-05-09T03:34:08.146Z] ['info'] => Found 1 possible coverage files:
  client_coverage.info
[2023-05-09T03:34:08.146Z] ['verbose'] End of network processing
[2023-05-09T03:34:08.146Z] ['info'] Processing client_coverage.info...
[2023-05-09T03:34:08.224Z] ['info'] Detected Local as the CI provider.
[2023-05-09T03:34:08.224Z] ['verbose'] -> Using the following env variables:
[2023-05-09T03:34:08.224Z] ['verbose'] BRANCH_NAME: undefined
[2023-05-09T03:34:08.224Z] ['verbose'] CI: undefined
[2023-05-09T03:34:08.224Z] ['verbose'] GIT_BRANCH: undefined
[2023-05-09T03:34:08.224Z] ['verbose'] GIT_COMMIT: undefined
[2023-05-09T03:34:08.232Z] ['verbose'] Using the following upload parameters:
[2023-05-09T03:34:08.232Z] ['verbose'] branch
[2023-05-09T03:34:08.232Z] ['verbose'] build
[2023-05-09T03:34:08.232Z] ['verbose'] buildURL
[2023-05-09T03:34:08.232Z] ['verbose'] commit
[2023-05-09T03:34:08.232Z] ['verbose'] job
[2023-05-09T03:34:08.232Z] ['verbose'] pr
[2023-05-09T03:34:08.232Z] ['verbose'] service
[2023-05-09T03:34:08.232Z] ['verbose'] slug
[2023-05-09T03:34:08.232Z] ['verbose'] name
[2023-05-09T03:34:08.232Z] ['verbose'] tag
[2023-05-09T03:34:08.232Z] ['verbose'] flags
[2023-05-09T03:34:08.232Z] ['verbose'] parent
[2023-05-09T03:34:08.233Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.5.0&token= ******* &branch=dev&build=&build_url=&commit=eec197b6ef6b22428691841967521f93e4c27aea&job=&pr=&service=&slug=symbol%2Fsymbol&name=&tag=&flags=client-catapult&parent=
[2023-05-09T03:34:08.233Z] ['verbose'] Passed token was 36 characters long
[2023-05-09T03:34:08.233Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.5.0&branch=dev&build=&build_url=&commit=eec197b6ef6b22428691841967521f93e4c27aea&job=&pr=&service=&slug=symbol%2Fsymbol&name=&tag=&flags=client-catapult&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2023-05-09T03:34:08.728Z] ['info'] https://app.codecov.io/github/symbol/symbol/commit/eec197b6ef6b22428691841967521f93e4c27aea
https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5906131E70BB6F6A9D0E465027DAF0E8/eec197b6ef6b22428691841967521f93e4c27aea/67cc8e1b-d62f-4ba0-a6c0-736791061cff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T033408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6496dcf79b8eadb25c58468115813271d09146c73325eca60aacd7e9e7d334b
[2023-05-09T03:34:08.728Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5906131E70BB6F6A9D0E465027DAF0E8/eec197b6ef6b22428691841967521f93e4c27aea/67cc8e1b-d62f-4ba0-a6c0-736791061cff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T033408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6496dcf79b8eadb25c58468115813271d09146c73325eca60aacd7e9e7d334b
[2023-05-09T03:34:08.728Z] ['info'] Uploading...
[2023-05-09T03:34:09.152Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/symbol/symbol/commit/eec197b6ef6b22428691841967521f93e4c27aea"}
[2023-05-09T03:34:09.152Z] ['verbose'] End of uploader: 1147 milliseconds

```

---

<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:** [May 9, 2023, 4:32pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/7 "2023-05-09T16:32:57Z")

</div>

@Wayonb and to be clear, what you’re seeing is that the coverage report in Jenkins is good, but the one manually uploaded is showing as `empty`?

---

<div class="post-metadata">

**Author:** ![Wayonb](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/wayonb/32/2302_2.png) [@Wayonb](https://community.codecov.com/u/Wayonb)\
**Post date:** [May 9, 2023, 4:46pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/8 "2023-05-09T16:46:19Z")

</div>

@tom no, Jenkins upload is bad and manually works.

I am trying to figure out whats the difference

---

<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:** [May 15, 2023, 9:47pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/9 "2023-05-15T21:47:56Z")

</div>

@Wayonb this is totally a guess, but I wonder if you could do `cd catapult-src` before running the Codecov uploader.

---

<div class="post-metadata">

**Author:** ![Wayonb](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/wayonb/32/2302_2.png) [@Wayonb](https://community.codecov.com/u/Wayonb)\
**Post date:** [May 16, 2023, 2:55pm UTC](https://community.codecov.com/t/c-report-upload-is-empty/3991/10 "2023-05-16T14:55:08Z")

</div>

@tom Thanks, that seems to worked. I dont see any failures

> **[Code coverage done right.](https://app.codecov.io/gh/symbol/symbol/commit/25c1dc2074a05e73120433427656b39c609639ec/tree/client/catapult)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.
