-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Codecov.io failing with 404 #19952
Comments
I'm getting this repeatedly upon multiple re-runs of the CI. |
For the upload issue, Codecov now recommends to specify an upload token for the build:
I'll first create a ticket to ASF infra for creating the token for apache/pulsar. After the token is available, I can work on an improvement where this token is used for builds and PRs that target apache/pulsar. For builds in own forks, I'll add instructions for setting that up. |
I created https://issues.apache.org/jira/browse/INFRA-24399 for the creation of the Codecov upload token for apache/pulsar. |
INFRA-24399 closed with:
Perhaps nothing we can do from our side :/ |
Closing as Won't Fix on INFRA ticket. If anyone has ideas to ease the case, please reopen and submit a patch. |
Search before asking
Example failure
https://github.com/devinbost/pulsar/actions/runs/4494617987/jobs/7907322924
Exception stacktrace
[2023-03-22T22:25:28.804Z] ['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='Could not find a repository, try using repo upload token', code='not_found')}
[2023-03-22T22:25:28.804Z] ['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='Could not find a repository, try using repo upload token', code='not_found')}
at main (/snapshot/repo/dist/src/index.js)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2023-03-22T22:25:28.804Z] ['verbose'] End of uploader: 1651 milliseconds
. . .
[2023-03-22T22:26:31.441Z] ['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='Could not find a repository, try using repo upload token', code='not_found')}
[2023-03-22T22:26:31.442Z] ['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='Could not find a repository, try using repo upload token', code='not_found')}
at main (/snapshot/repo/dist/src/index.js)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2023-03-22T22:26:31.442Z] ['verbose'] End of uploader: 1564 milliseconds
Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: