Skip to content
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

Could not find a repository associated with upload token #1546

Open
namannimmo10 opened this issue Aug 15, 2024 · 0 comments
Open

Could not find a repository associated with upload token #1546

namannimmo10 opened this issue Aug 15, 2024 · 0 comments

Comments

@namannimmo10
Copy link

I have this GA workflow for my repository. I am trying to push code coverage to Codecov but it fails at the last step with the following error ⬇ I have tried a different version of codecov-action, but to no avail. I have also tried the codecov bash uploader and it gives the same error. Note that CODECOV_TOKEN is available as a secret for all the packages under the organisation, i.e. DiamondLightSource.

==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (b37359013b48fbc3b0790d59fc474a52a260fb96e28e1b2c2ae001dc9b9cc996  codecov)
==> Running version latest
==> Running version v0.8.0
/__w/_actions/codecov/codecov-action/v3/dist/codecov -n  -Q github-action-3.1.6 -Z -f /home/runner/coverage.xml -C 6b85ae8d4f61d6f5e6279c6edaad7c6d2432474d -v
[2024-08-15T15:31:02.336Z] ['verbose'] Start of uploader: 1723735862336...
[2024-08-15T15:31:02.338Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.8.0
[2024-08-15T15:31:02.352Z] ['info'] => Project root located at: /__w/httomolibgpu/httomolibgpu
[2024-08-15T15:31:02.361Z] ['info'] ->  Token found by environment variables
[2024-08-15T15:31:02.362Z] ['verbose'] Start of network processing...
[2024-08-15T15:31:02.362Z] ['verbose'] Searching for files in /__w/httomolibgpu/httomolibgpu
[2024-08-15T15:31:02.379Z] ['verbose'] coveragepy is not installed
[2024-08-15T15:31:02.379Z] ['info'] Searching for coverage files...
[2024-08-15T15:31:02.445Z] ['verbose'] Preparing to clean the following coverage paths: /home/runner/coverage.xml
[2024-08-15T15:31:02.445Z] ['info'] => Found 1 possible coverage files:
  /home/runner/coverage.xml
[2024-08-15T15:31:02.445Z] ['verbose'] End of network processing
[2024-08-15T15:31:02.445Z] ['info'] Processing /home/runner/coverage.xml...
[2024-08-15T15:31:02.449Z] ['info'] Using manual override from args.
[2024-08-15T15:31:02.455Z] ['info'] Detected Local as the CI provider.
[2024-08-15T15:31:02.455Z] ['verbose'] -> Using the following env variables:
[2024-08-15T15:31:02.455Z] ['verbose']      BRANCH_NAME: undefined
[2024-08-15T15:31:02.455Z] ['verbose']      CI: undefined
[2024-08-15T15:31:02.455Z] ['verbose']      GIT_BRANCH: undefined
[2024-08-15T15:31:02.455Z] ['verbose']      GIT_COMMIT: undefined
[2024-08-15T15:31:02.483Z] ['verbose'] Using the following upload parameters:
[2024-08-15T15:31:02.483Z] ['verbose'] branch
[2024-08-15T15:31:02.483Z] ['verbose'] build
[2024-08-15T15:31:02.483Z] ['verbose'] buildURL
[2024-08-15T15:31:02.483Z] ['verbose'] commit
[2024-08-15T15:31:02.483Z] ['verbose'] job
[2024-08-15T15:31:02.483Z] ['verbose'] pr
[2024-08-15T15:31:02.483Z] ['verbose'] service
[2024-08-15T15:31:02.483Z] ['verbose'] slug
[2024-08-15T15:31:02.483Z] ['verbose'] name
[2024-08-15T15:31:02.483Z] ['verbose'] tag
[2024-08-15T15:31:02.483Z] ['verbose'] flags
[2024-08-15T15:31:02.483Z] ['verbose'] parent
[2024-08-15T15:31:02.485Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.6-uploader-0.8.0&token=*******&branch=HEAD&build=&build_url=&commit=6b85ae8d4f61d6f5e6279c6edaad7c6d2432474d&job=&pr=&service=&slug=DiamondLightSource%2Fhttomolibgpu&name=&tag=&flags=&parent=
[2024-08-15T15:31:02.485Z] ['verbose'] Passed token was 36 characters long
[2024-08-15T15:31:02.485Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-3.1.6-uploader-0.8.0&branch=HEAD&build=&build_url=&commit=6b85ae8d4f61d6f5e6279c6edaad7c6d2432474d&job=&pr=&service=&slug=DiamondLightSource%2Fhttomolibgpu&name=&tag=&flags=&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2024-08-15T15:31:02.697Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Could not find a repository associated with upload token ***', code='not_found')}
[2024-08-15T15:31:02.698Z] ['verbose'] The error stack is: Error: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Could not find a repository associated with upload token ***', code='not_found')}
    at main (/snapshot/repo/dist/src/index.js)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2024-08-15T15:31:02.698Z] ['verbose'] End of uploader: 362 milliseconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant