Github Action Upload Success Codecov upload expired

Before submitting a topic, please confirm the following

[ √] I have searched for similar issues before creating this topic.
[ √] I have verified that my repository is using the Codecov GitHub app, if using GitHub
[ √] I have validated 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

I’m seeing an error called “upload expired” in the codecov UI. The GHA that I’m using shows the upload was successful. Roughly 10 xml reports are missing.
These:

  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

This was working previously, but seems to have stopped. I only get uploads from 3 of the subprojects. While the rest seem to fail for some parsing reason, but I can’t see any other detail.

CI/CD URL

Please provide a link to the CI/CD run.
Not working:

Here’s a recent example where I have tried a number of iterations trying to resolve, most recently by reducing the number of uploads:

A previously working run:

Codecov Output

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

[2023-05-18T15:44:43.003Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.4-uploader-0.5.0&token=*******&branch=remove-condition-for-codecov-uploads&build=5015475451&build_url=https%3A%2F%2Fgithub.com%2Fnewrelic%2Fnewrelic-java-agent%2Factions%2Fruns%2F5015475451&commit=0b7a1273323faf6a91d0e4bfa66d59a2fbe553e0&job=Test+Suite+-+PR&pr=1276&service=github-actions&slug=newrelic%2Fnewrelic-java-agent&name=&tag=&flags=&parent=
[2023-05-18T15:44:43.003Z] ['verbose'] Passed token was 0 characters long
[2023-05-18T15:44:43.003Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-3.1.4-uploader-0.5.0&branch=remove-condition-for-codecov-uploads&build=5015475451&build_url=https%3A%2F%2Fgithub.com%2Fnewrelic%2Fnewrelic-java-agent%2Factions%2Fruns%2F5015475451&commit=0b7a1273323faf6a91d0e4bfa66d59a2fbe553e0&job=Test+Suite+-+PR&pr=1276&service=github-actions&slug=newrelic%2Fnewrelic-java-agent&name=&tag=&flags=&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2023-05-18T15:44:43.442Z] ['info'] https://app.codecov.io/github/newrelic/newrelic-java-agent/commit/0b7a1273323faf6a91d0e4bfa66d59a2fbe553e0
https://storage.googleapis.com/codecov/v4/raw/2023-05-18/18C6EDD8BF0BE948B6D5B7C4681062A9/0b7a1273323faf6a91d0e4bfa66d59a2fbe553e0/c66875c3-4fdf-4d83-90f9-6a4eaa710331.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T154443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d48edb23f3159ec28cf6f8972e7cd4bb10953c59911d6de9b3ae74881a352e30
[2023-05-18T15:44:43.443Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2023-05-18/18C6EDD8BF0BE948B6D5B7C4681062A9/0b7a1273323faf6a91d0e4bfa66d59a2fbe553e0/c66875c3-4fdf-4d83-90f9-6a4eaa710331.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T154443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d48edb23f3159ec28cf6f8972e7cd4bb10953c59911d6de9b3ae74881a352e30
[2023-05-18T15:44:43.443Z] ['info'] Uploading...
[2023-05-18T15:44:43.786Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/newrelic/newrelic-java-agent/commit/0b7a1273323faf6a91d0e4bfa66d59a2fbe553e0"}
[2023-05-18T15:44:43.786Z] ['verbose'] End of uploader: 3788 milliseconds

Expected Results

Please provide what you expect to have happened (e.g. a file that has missing coverage on a particular line).

Actual Results

Only 3 reports upload.

Additional Information

In my latest builds I’ve disabled the 3 successful uploads so that I can narrow things down. They upload from a different workflow, so I wanted to ensure no conflict.

Thanks for any help or insight you can give!

@tbradellis Try adding

codecov:
  max_report_age: off

to your codecov.yml from here

1 Like