Skip to content

[BUG] recently-moved repo coverage upload failed: {"message":"Repository not found"} #1794

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

Open
sritchie opened this issue Mar 14, 2025 · 6 comments
Assignees
Labels
bug Something isn't working codecov/codecov-action

Comments

@sritchie
Copy link

codecov action fails to upload a report from CI with the error message

Upload failed: {"message":"Repository not found"}

This is on the https://github.com/ChiSym/genjax repository.

We recently moved this repo from a different org, but my token is up to date and other repositories in the org are correctly uploading.

     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/
                            Wrapper-0.2.0
                                  
==> Detected linux
 -> Downloading https://cli.codecov.io/latest/linux/codecov
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 27.5M  100 27.5M    0     0   125M      0 --:--:-- --:--:-- --:--:--  125M
==> Finishing downloading linux:latest
      Version: v10.2.1
 
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: /home/runner/.gnupg/trustdb.gpg: trustdb created
gpg: key 806BB28AED779869: public key "Codecov Uploader (Codecov Uploader Verification Key) <security@codecov.io>" imported
==> Verifying GPG signature integrity
gpg: Total number processed: 1
gpg:               imported: 1
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
 
gpg: Signature made Wed Mar 12 16:00:55 2025 UTC
gpg:                using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
gpg: Good signature from "Codecov Uploader (Codecov Uploader Verification Key) <security@codecov.io>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 2703 4E7F DB85 0E0B BC2C  62FF 806B B28A ED77 9869
codecov: OK
==> CLI integrity verified
 -> Token of length 36 detected
==> Running upload-coverage
      ./codecov  upload-coverage -t <redacted> --git-service github --sha 79429cdcaab76d7a104799478c36c4a671cc3dd5 --slug ChiSym/genjax --disable-search --file ./coverage.json --gcov-executable gcov
info - 2025-03-14 11:49:42,137 -- ci service found: github-actions
warning - 2025-03-14 11:49:42,163 -- xcrun is not installed or can't be found.
warning - 2025-03-14 11:49:42,398 -- No gcov data found.
warning - 2025-03-14 11:49:42,399 -- coverage.py is not installed or can't be found.
info - 2025-03-14 11:49:42,636 -- Found 1 coverage files to report
info - 2025-03-14 11:49:42,636 -- > /home/runner/work/genjax/genjax/coverage.json
info - 2025-03-14 11:49:42,953 -- Process Upload complete
error - 2025-03-14 11:49:42,953 -- Upload failed: {"message":"Repository not found"}
@sritchie sritchie added the bug Something isn't working label Mar 14, 2025
@thomasrockhu-codecov thomasrockhu-codecov self-assigned this Mar 15, 2025
@thomasrockhu-codecov
Copy link
Contributor

thomasrockhu-codecov commented Mar 19, 2025

@sritchie what was the original repo URL?

@sritchie
Copy link
Author

The repo was originally at probcomp/genjax. we renamed to chi-collective/genjax, and then ChiSym/genjax, so it's had a couple of hops!

@thomasrockhu-codecov
Copy link
Contributor

@sritchie are you able to try uploading again?

@MaxymVlasov
Copy link

MaxymVlasov commented Mar 20, 2025

@thomasrockhu-codecov Same error for https://github.com/antonbabenko/pre-commit-terraform but for https://github.com/codecov/test-results-action starting from Mar 18th
We do not move repo nor commit any changes at all during this period

Image

I tried to revert codecov-cli a few versions back but without any luck
antonbabenko/pre-commit-terraform#843

We pin all deps whenever it is possible to hash sums for reproducibility and security, but looks like you have some extra deps under the hood which we need to pin too, but I am not figured out what exactly.

@webknjaz
Copy link
Contributor

@thomasrockhu-codecov not sure if this is related, but here's a seemingly similar case: https://github.com/antonbabenko/pre-commit-terraform/actions/runs/13915867469/job/38938773517. Except there was no repo move. And the coverage upload succeeds while its test results counterpart crashes. Both are supported to source the token from the in-repo config.

@k3scat
Copy link

k3scat commented Apr 7, 2025

I had the same issue, recently transfer the repo ownership to my org

Edit:
https://github.com/Nya-Foundation/NekoConf/actions/runs/14320134093/job/40135162917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working codecov/codecov-action
Projects
None yet
Development

No branches or pull requests

5 participants