# "problem getting the source code from your provider"

**URL:** <https://community.codecov.com/t/problem-getting-the-source-code-from-your-provider/4422>\
**Category:** Support\
**Created:** [July 19, 2023, 3:17pm UTC](https://community.codecov.com/t/problem-getting-the-source-code-from-your-provider/4422 "2023-07-19T15:17:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbradellis](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tbradellis/32/3057_2.png) [@tbradellis](https://community.codecov.com/u/tbradellis)\
**Post date:** [July 19, 2023, 3:17pm UTC](https://community.codecov.com/t/problem-getting-the-source-code-from-your-provider/4422/1 "2023-07-19T15:17:04Z")

</div>

## Before submitting a topic, please confirm the following

I found some references to the same issue, but the last comment suggested that I should open a new topic.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/c/c0faeb03b6eba93ddb9d8a003bbdee4e80a92b03.jpeg)

[√] I have searched for similar issues before creating this topic.  
[√] I have verified that my repository is using the [Codecov GitHub app](https://github.com/apps/codecov), if using GitHub  
[√] I have [validated](https://docs.codecov.com/docs/codecov-yaml#validate-your-repository-yaml) my `codecov.yaml` configuration file.  
[√] I have filled out the below sections to the best of my ability.  
[√] I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.

### Description

Description of the issue

### CI/CD URL

[https://github.com/newrelic/newrelic-java-agent/actions/runs/5590752682](https://github.com/newrelic/newrelic-java-agent/actions/runs/5590752682)

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

### Codecov Output

```auto

3s
Run codecov/codecov-action@v3
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (0c9b79119b0d8dbe7aaf460dc3bd7c3094ceda06e5ae32b0d11a8ff56e2cc5c5 codecov)
==> Running version latest
==> Running version v0.6.1
/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n -Q github-action-3.1.4 -f **/build/reports/jacoco/test/jacocoTestReport.xml
[2023-07-18T18:56:28.303Z] ['info'] 
     _____ _
    / ____ | | |
   | | _____ | | ______  _______
   | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |__/ (_| (_) \ V /
    \ _____\___ / \ __,_|\___ |\ ___\___ / \_/

  Codecov report uploader 0.6.1
[2023-07-18T18:56:28.311Z] ['info'] => Project root located at: /home/runner/work/newrelic-java-agent/newrelic-java-agent
[2023-07-18T18:56:28.314Z] ['info'] -> Token found by environment variables
[2023-07-18T18:56:28.330Z] ['info'] Searching for coverage files...
[2023-07-18T18:56:29.461Z] ['info'] Warning: Some files passed via the -f flag would normally be excluded from search.
[2023-07-18T18:56:29.461Z] ['info'] If Codecov encounters issues processing your reports, please review https://docs.codecov.com/docs/supported-report-formats
[2023-07-18T18:56:29.461Z] ['info'] => Found 10 possible coverage files:
  agent-bridge/build/reports/jacoco/test/jacocoTestReport.xml
  agent-bridge-datastore/build/reports/jacoco/test/jacocoTestReport.xml
  agent-model/build/reports/jacoco/test/jacocoTestReport.xml
  discovery/build/reports/jacoco/test/jacocoTestReport.xml
  infinite-tracing/build/reports/jacoco/test/jacocoTestReport.xml
  instrumentation-test/build/reports/jacoco/test/jacocoTestReport.xml
  newrelic-agent/build/reports/jacoco/test/jacocoTestReport.xml
  newrelic-api/build/reports/jacoco/test/jacocoTestReport.xml
  newrelic-weaver/build/reports/jacoco/test/jacocoTestReport.xml
  newrelic-weaver-scala/build/reports/jacoco/test/jacocoTestReport.xml
[2023-07-18T18:56:29.462Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/agent-bridge/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.464Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/agent-bridge-datastore/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.464Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/agent-model/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.465Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/discovery/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.466Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/infinite-tracing/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.466Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/instrumentation-test/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.468Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/newrelic-agent/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.477Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/newrelic-api/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.477Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/newrelic-weaver/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.480Z] ['info'] Processing /home/runner/work/newrelic-java-agent/newrelic-java-agent/newrelic-weaver-scala/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-07-18T18:56:29.568Z] ['info'] Detected GitHub Actions as the CI provider.
[2023-07-18T18:56:30.523Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.4-uploader-0.6.1&token= ******* &branch=main&build=5590752682&build_url=https%3A%2F%2Fgithub.com%2Fnewrelic%2Fnewrelic-java-agent%2Factions%2Fruns%2F5590752682&commit=a8965b7242cf935eb4fcef8841e25cac88134a19&job=Test+Suite+-+PR&pr=&service=github-actions&slug=newrelic%2Fnewrelic-java-agent&name=&tag=&flags=&parent=
[2023-07-18T18:56:30.669Z] ['info'] https://app.codecov.io/github/newrelic/newrelic-java-agent/commit/a8965b7242cf935eb4fcef8841e25cac88134a19
https://storage.googleapis.com/codecov/v4/raw/2023-07-18/18C6EDD8BF0BE948B6D5B7C4681062A9/a8965b7242cf935eb4fcef8841e25cac88134a19/a7c5099f-4efa-4549-aec3-de8bc234b963.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230718T185630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0c1d2e3b610b583ab7d0446dbbf8c05c833ecfe57648bf033562dade67f7722
[2023-07-18T18:56:30.669Z] ['info'] Uploading...
[2023-07-18T18:56:30.861Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/newrelic/newrelic-java-agent/commit/a8965b7242cf935eb4fcef8841e25cac88134a19"}

```

### Expected Results

Source files with meta data vieable

### Actual Results

When attempting to view a source code file we only get the message:  
`There was a problem getting the source code from your provider. Unable to show line by line coverage.`

### Additional Information

Example file

> **[Code coverage done right.](https://app.codecov.io/gh/newrelic/newrelic-java-agent/blob/main/newrelic-agent%2Fsrc%2Fmain%2Fjava%2Fcom%2Fnewrelic%2Fagent%2FRPMService.java)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

This has happened on several occasions but seemed to resolve itself. In this case, it has persisted for some time now.

---

<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:** [July 23, 2023, 11:35pm UTC](https://community.codecov.com/t/problem-getting-the-source-code-from-your-provider/4422/2 "2023-07-23T23:35:35Z")

</div>

@tbradellis I’m seeing it work right now [here](https://app.codecov.io/gh/newrelic/newrelic-java-agent/blob/main/newrelic-agent%2Fsrc%2Fmain%2Fjava%2Fcom%2Fnewrelic%2Fagent%2Finstrumentation%2Fweaver%2FClassWeaverService.java).

Do you get this all the time or is it just every now and then?
