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.
Description
Codecov action fails on GitHub private repo. This only happens after it has already been run a couple times, so it appears to be a ratelimiting issue.
Continuation from a GitHub issue: Error: failed to properly upload · Issue #598 · codecov/codecov-action · GitHub
CI/CD URL
Private Repo
Codecov Output
Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.
2022-10-06T02:43:27.5251284Z ##[group]Run codecov/codecov-action@v3
2022-10-06T02:43:27.5251677Z with:
2022-10-06T02:43:27.5252118Z env_vars: OS,PYTHON
2022-10-06T02:43:27.5252398Z files: ./coverage.xml
2022-10-06T02:43:27.5252653Z flags: pytest
2022-10-06T02:43:27.5252908Z name: codecov-umbrella
2022-10-06T02:43:27.5253178Z fail_ci_if_error: true
2022-10-06T02:43:27.5253440Z verbose: true
2022-10-06T02:43:27.5254151Z env:
2022-10-06T02:43:27.5254386Z OS: ubuntu-latest
2022-10-06T02:43:27.5254636Z PYTHON: 3.10
2022-10-06T02:43:27.5254961Z pythonLocation: /opt/hostedtoolcache/Python/3.10.7/x64
2022-10-06T02:43:27.5255358Z LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.7/x64/lib
2022-10-06T02:43:27.5255677Z ##[endgroup]
2022-10-06T02:43:27.7162616Z {
2022-10-06T02:43:27.7162874Z execArgs: [
2022-10-06T02:43:27.7163348Z '-n',
2022-10-06T02:43:27.7165944Z 'codecov-umbrella',
2022-10-06T02:43:27.7166282Z '-Q',
2022-10-06T02:43:27.7166572Z 'github-action-3.1.1',
2022-10-06T02:43:27.7166911Z '-e',
2022-10-06T02:43:27.7167168Z 'OS,PYTHON',
2022-10-06T02:43:27.7167435Z '-Z',
2022-10-06T02:43:27.7167671Z '-f',
2022-10-06T02:43:27.7167937Z './coverage.xml',
2022-10-06T02:43:27.7168205Z '-F',
2022-10-06T02:43:27.7168435Z 'pytest',
2022-10-06T02:43:27.7168688Z '-C',
2022-10-06T02:43:27.7169346Z '8e8581caef937e5cfbae101d44f8c427ca1345d7',
2022-10-06T02:43:27.7169641Z '-v'
2022-10-06T02:43:27.7169839Z ]
2022-10-06T02:43:27.7170029Z }
2022-10-06T02:43:27.7170251Z ==> linux OS detected
2022-10-06T02:43:28.2264400Z https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
2022-10-06T02:43:28.2710027Z Received SHA256SUM 20f9c9d78483fce977b6cc39e231a734a23bcd36f4d536bb7355222fb88d02bc codecov
2022-10-06T02:43:28.2991371Z Received SHA256SUM signature -----BEGIN PGP SIGNATURE-----
2022-10-06T02:43:28.2991760Z
2022-10-06T02:43:28.2992098Z iQIzBAABCgAdFiEEJwNOf9uFDgu8LGL/gGuyiu13mGkFAmMsvyQACgkQgGuyiu13
2022-10-06T02:43:28.2992607Z mGmStA/+N4roe/N6hA78uO55SL8/8tfS75QYe+PbRF3nN+mpXsyik+gMZWfu9SLT
2022-10-06T02:43:28.2994379Z lQJK2T9PfU6dFx5VnceoENXgnH+SUvDLorKUOwTolXMIEos9bLCPRcgfe3AkTeZR
2022-10-06T02:43:28.2994970Z 2sHZcDj75nmcfEpO9Tf/Jpq2PPrP24J3S822/v3ZT8lca9jJe8CJlBL15yXC1kgD
2022-10-06T02:43:28.2995377Z Vk72+r9KzAoAu6bCEvBOOIFHHNfVBf0635vamRFCHFgjN1rRJW5cuyieZr9rYa22
2022-10-06T02:43:28.2995867Z 1KDpN6vijJwUlrwB7V8wTvaeOEinR5Fzo55TtjTtE4brfaOF2KCzM33Czzep3SfH
2022-10-06T02:43:28.2996327Z OPJENE1+A+/bleRcVok5qmRfvMThSITE98INNk4qCVsB1YqTOvtJs5rFtyuH/Xqf
2022-10-06T02:43:28.2996742Z 674HAqeNjzXvFME5oX4Hm31X1Y4rfzH0738H25J//3GqZWahivq7e8ElyYP+CI0H
2022-10-06T02:43:28.2997297Z pXbeN6E9Zup/QR6YjYWBV35AvRscC7v4e6HnlN9ctTuAd0VZJXI8JLM1XTgiQnIQ
2022-10-06T02:43:28.2997775Z rql/7lIYrvzLerPmzVoAmYZuV2iAE7pxfo3Iy9zEtgV8cF42peE3TDyrqj5Ylbtc
2022-10-06T02:43:28.2998258Z 1pKlfIIAhoB/ff2hIvGonXG4OgTCCQrUvbtI8KsNi6UFPX5jhCaltKMsLG/JPM+Q
2022-10-06T02:43:28.2998714Z vXPa43eZ+aWPHOi9dFdlg98GCFesSVKLECkU4DjoZxJsI493PrQ=
2022-10-06T02:43:28.2999152Z =IHR5
2022-10-06T02:43:28.2999525Z -----END PGP SIGNATURE-----
2022-10-06T02:43:28.2999715Z
2022-10-06T02:43:28.3338488Z ==> SHASUM file signed by key id 806bb28aed779869
2022-10-06T02:43:28.5531362Z ==> Uploader SHASUM verified (20f9c9d78483fce977b6cc39e231a734a23bcd36f4d536bb7355222fb88d02bc codecov)
2022-10-06T02:43:28.5534115Z ==> Running version latest
2022-10-06T02:43:28.6649153Z ==> Running version v0.3.2
2022-10-06T02:43:28.6676303Z [command]/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n codecov-umbrella -Q github-action-3.1.1 -e OS,PYTHON -Z -f ./coverage.xml -F pytest -C 8e8581caef937e5cfbae101d44f8c427ca1345d7 -v
2022-10-06T02:43:28.9306113Z [2022-10-06T02:43:28.928Z] ['verbose'] Start of uploader: 1665024208928...
2022-10-06T02:43:28.9311126Z [2022-10-06T02:43:28.930Z] ['info']
2022-10-06T02:43:28.9312043Z _____ _
2022-10-06T02:43:28.9312291Z / ____| | |
2022-10-06T02:43:28.9312541Z | | ___ __| | ___ ___ _____ __
2022-10-06T02:43:28.9313188Z | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
2022-10-06T02:43:28.9313498Z | |___| (_) | (_| | __/ (_| (_) \ V /
2022-10-06T02:43:28.9313772Z \_____\___/ \__,_|\___|\___\___/ \_/
2022-10-06T02:43:28.9313938Z
2022-10-06T02:43:28.9314075Z Codecov report uploader 0.3.2
2022-10-06T02:43:28.9371373Z [2022-10-06T02:43:28.936Z] ['info'] => Project root located at: /home/runner/work/VeryGoodBot/VeryGoodBot
2022-10-06T02:43:28.9391170Z [2022-10-06T02:43:28.938Z] ['info'] -> No token specified or token is empty
2022-10-06T02:43:28.9391671Z [2022-10-06T02:43:28.938Z] ['verbose'] Start of network processing...
2022-10-06T02:43:28.9392204Z [2022-10-06T02:43:28.938Z] ['verbose'] Searching for files in /home/runner/work/VeryGoodBot/VeryGoodBot
2022-10-06T02:43:29.0508804Z [2022-10-06T02:43:29.050Z] ['verbose'] Skipping coveragepy, files already specified
2022-10-06T02:43:29.0509658Z [2022-10-06T02:43:29.050Z] ['info'] Searching for coverage files...
2022-10-06T02:43:29.1290006Z [2022-10-06T02:43:29.128Z] ['verbose'] Preparing to clean the following coverage paths: ./coverage.xml
2022-10-06T02:43:29.1295697Z [2022-10-06T02:43:29.129Z] ['info'] => Found 1 possible coverage files:
2022-10-06T02:43:29.1296412Z ./coverage.xml
2022-10-06T02:43:29.1299914Z [2022-10-06T02:43:29.129Z] ['verbose'] End of network processing
2022-10-06T02:43:29.1303443Z [2022-10-06T02:43:29.130Z] ['info'] Processing ./coverage.xml...
2022-10-06T02:43:29.1363396Z [2022-10-06T02:43:29.136Z] ['info'] Detected GitHub Actions as the CI provider.
2022-10-06T02:43:29.1367368Z [2022-10-06T02:43:29.136Z] ['verbose'] -> Using the following env variables:
2022-10-06T02:43:29.1372951Z [2022-10-06T02:43:29.137Z] ['verbose'] GITHUB_ACTION: __codecov_codecov-action
2022-10-06T02:43:29.1376602Z [2022-10-06T02:43:29.137Z] ['verbose'] GITHUB_HEAD_REF: dependabot/pip/py-cord-speedvoice--2.2.2
2022-10-06T02:43:29.1380236Z [2022-10-06T02:43:29.137Z] ['verbose'] GITHUB_REF: refs/pull/74/merge
2022-10-06T02:43:29.1385333Z [2022-10-06T02:43:29.138Z] ['verbose'] GITHUB_REPOSITORY: BobDotCom/VeryGoodBot
2022-10-06T02:43:29.1388948Z [2022-10-06T02:43:29.138Z] ['verbose'] GITHUB_RUN_ID: 3194134706
2022-10-06T02:43:29.1392263Z [2022-10-06T02:43:29.139Z] ['verbose'] GITHUB_SERVER_URL: https://github.com
2022-10-06T02:43:29.1395816Z [2022-10-06T02:43:29.139Z] ['verbose'] GITHUB_SHA: e42d5d5f585167946667fa6e5707b64fbde17c34
2022-10-06T02:43:29.1400471Z [2022-10-06T02:43:29.139Z] ['verbose'] GITHUB_WORKFLOW: Unit Tests
2022-10-06T02:43:29.1406765Z [2022-10-06T02:43:29.140Z] ['verbose'] Using the following upload parameters:
2022-10-06T02:43:29.1410064Z [2022-10-06T02:43:29.140Z] ['verbose'] branch
2022-10-06T02:43:29.1413371Z [2022-10-06T02:43:29.141Z] ['verbose'] build
2022-10-06T02:43:29.1416426Z [2022-10-06T02:43:29.141Z] ['verbose'] buildURL
2022-10-06T02:43:29.1419697Z [2022-10-06T02:43:29.141Z] ['verbose'] commit
2022-10-06T02:43:29.1423010Z [2022-10-06T02:43:29.142Z] ['verbose'] job
2022-10-06T02:43:29.1426045Z [2022-10-06T02:43:29.142Z] ['verbose'] pr
2022-10-06T02:43:29.1429910Z [2022-10-06T02:43:29.142Z] ['verbose'] service
2022-10-06T02:43:29.1433171Z [2022-10-06T02:43:29.143Z] ['verbose'] slug
2022-10-06T02:43:29.1436104Z [2022-10-06T02:43:29.143Z] ['verbose'] name
2022-10-06T02:43:29.1441534Z [2022-10-06T02:43:29.143Z] ['verbose'] tag
2022-10-06T02:43:29.1444780Z [2022-10-06T02:43:29.144Z] ['verbose'] flags
2022-10-06T02:43:29.1447916Z [2022-10-06T02:43:29.144Z] ['verbose'] parent
2022-10-06T02:43:29.1467447Z [2022-10-06T02:43:29.146Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.1-uploader-0.3.2&token=*******&branch=dependabot%2Fpip%2Fpy-cord-speedvoice--2.2.2&build=3194134706&build_url=https%3A%2F%2Fgithub.com%2FBobDotCom%2FVeryGoodBot%2Factions%2Fruns%2F3194134706&commit=8e8581caef937e5cfbae101d44f8c427ca1345d7&job=Unit+Tests&pr=74&service=github-actions&slug=BobDotCom%2FVeryGoodBot&name=codecov-umbrella&tag=&flags=pytest&parent=
2022-10-06T02:43:29.1471631Z [2022-10-06T02:43:29.146Z] ['verbose'] Passed token was 0 characters long
2022-10-06T02:43:29.1475775Z [2022-10-06T02:43:29.147Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-3.1.1-uploader-0.3.2&branch=dependabot%2Fpip%2Fpy-cord-speedvoice--2.2.2&build=3194134706&build_url=https%3A%2F%2Fgithub.com%2FBobDotCom%2FVeryGoodBot%2Factions%2Fruns%2F3194134706&commit=8e8581caef937e5cfbae101d44f8c427ca1345d7&job=Unit+Tests&pr=74&service=github-actions&slug=BobDotCom%2FVeryGoodBot&name=codecov-umbrella&tag=&flags=pytest&parent=
2022-10-06T02:43:29.1476753Z Content-Type: 'text/plain'
2022-10-06T02:43:29.1477097Z Content-Encoding: 'gzip'
2022-10-06T02:43:29.1477450Z X-Reduced-Redundancy: 'false'
2022-10-06T02:43:29.5455183Z [2022-10-06T02:43:29.544Z] ['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='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
2022-10-06T02:43:29.5457161Z [2022-10-06T02:43:29.545Z] ['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='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
2022-10-06T02:43:29.5458528Z at main (/snapshot/repo/dist/src/index.js)
2022-10-06T02:43:29.5459322Z at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-10-06T02:43:29.5463176Z [2022-10-06T02:43:29.546Z] ['verbose'] End of uploader: 618 milliseconds
2022-10-06T02:43:29.5578230Z ##[error]Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
Expected Results
Please provide what you expect to have happened (e.g. a file that has missing coverage on a particular line).
Should upload correctly
Actual Results
Please provide what actually happened.
Doesn’t upload correctly
Additional Information
Any additional information, configuration, or data that might be necessary to reproduce the issue.