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
Uploading for a public repo with the universal binary uploader faIls.
CI/CD URL
Link to the CI/CD run:
Codecov Output
#!/bin/bash -eo pipefail
cd src/api
curl -LOs https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -v -f coverage/coverage.xml
[2023-04-12T15:07:40.953Z] ['verbose'] Start of uploader: 1681312060953...
[2023-04-12T15:07:40.954Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.4.1
[2023-04-12T15:07:40.959Z] ['info'] => Project root located at: /home/frontend/project
[2023-04-12T15:07:40.962Z] ['info'] -> No token specified or token is empty
[2023-04-12T15:07:40.962Z] ['verbose'] Start of network processing...
[2023-04-12T15:07:40.962Z] ['verbose'] Searching for files in /home/frontend/project
[2023-04-12T15:07:40.974Z] ['verbose'] coveragepy is not installed
[2023-04-12T15:07:40.974Z] ['info'] Searching for coverage files...
[2023-04-12T15:07:41.145Z] ['info'] Warning: Some files passed via the -f flag would normally be excluded from search.
[2023-04-12T15:07:41.145Z] ['info'] If Codecov encounters issues processing your reports, please review https://docs.codecov.com/docs/supported-report-formats
[2023-04-12T15:07:41.145Z] ['verbose'] Preparing to clean the following coverage paths: coverage/coverage.xml,src/api/coverage/coverage.xml
[2023-04-12T15:07:41.145Z] ['info'] => Found 1 possible coverage files:
src/api/coverage/coverage.xml
[2023-04-12T15:07:41.146Z] ['verbose'] End of network processing
[2023-04-12T15:07:41.146Z] ['info'] Processing /home/frontend/project/src/api/coverage/coverage.xml...
[2023-04-12T15:07:41.175Z] ['info'] Detected CircleCI as the CI provider.
[2023-04-12T15:07:41.175Z] ['verbose'] -> Using the following env variables:
[2023-04-12T15:07:41.175Z] ['verbose'] CI: true
[2023-04-12T15:07:41.175Z] ['verbose'] CIRCLECI: true
[2023-04-12T15:07:41.175Z] ['verbose'] Using the following upload parameters:
[2023-04-12T15:07:41.175Z] ['verbose'] branch
[2023-04-12T15:07:41.175Z] ['verbose'] build
[2023-04-12T15:07:41.175Z] ['verbose'] buildURL
[2023-04-12T15:07:41.175Z] ['verbose'] commit
[2023-04-12T15:07:41.175Z] ['verbose'] job
[2023-04-12T15:07:41.175Z] ['verbose'] pr
[2023-04-12T15:07:41.175Z] ['verbose'] service
[2023-04-12T15:07:41.175Z] ['verbose'] slug
[2023-04-12T15:07:41.175Z] ['verbose'] name
[2023-04-12T15:07:41.175Z] ['verbose'] tag
[2023-04-12T15:07:41.175Z] ['verbose'] flags
[2023-04-12T15:07:41.175Z] ['verbose'] parent
[2023-04-12T15:07:41.176Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.4.1&token=*******&branch=pull%2F14141&build=124441&build_url=https%3A%2F%2Fcircleci.com%2Fgh%2FopenSUSE%2Fopen-build-service%2F124441&commit=ea8d71ff3c8bd87fd985c91fb9aff693c1c0e4f1&job=0&pr=14141&service=circleci&slug=openSUSE%2Fopen-build-service&name=&tag=&flags=&parent=
[2023-04-12T15:07:41.176Z] ['verbose'] Passed token was 0 characters long
[2023-04-12T15:07:41.176Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.4.1&branch=pull%2F14141&build=124441&build_url=https%3A%2F%2Fcircleci.com%2Fgh%2FopenSUSE%2Fopen-build-service%2F124441&commit=ea8d71ff3c8bd87fd985c91fb9aff693c1c0e4f1&job=0&pr=14141&service=circleci&slug=openSUSE%2Fopen-build-service&name=&tag=&flags=&parent=
Content-Type: 'text/plain'
Content-Encoding: 'gzip'
X-Reduced-Redundancy: 'false'
[2023-04-12T15:07:41.543Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Commit sha does not match Circle build. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
[2023-04-12T15:07:41.543Z] ['verbose'] The error stack is: Error: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Commit sha does not match Circle build. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
at main (/snapshot/repo/dist/src/index.js)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2023-04-12T15:07:41.544Z] ['verbose'] End of uploader: 591 milliseconds
CircleCI received exit code 0
Expected Results
Uploading works.
Actual Results
Uploading did not work.
Additional Information
This stopped working round about 6 days ago as you can see on the pulls overview.
Uploading works with providing a CODECOV_TOKEN
but we are using a fork based model which does not allow to safely set this up.