Skip to content

[BUG] Random fails due to uploader verification key import failing #1876

Open

Description

@Nothing4You

Describe the bug
Some coverage upload jobs in GHA randomly fail to import the Codecov Uploader (Codecov Uploader Verification Key) <[email protected]> key to GPG, resulting in the later signature verification also failing due to the missing public key to verify with. Restarting the failed job usually works.

To Reproduce
Unknown, randomly happens. Likely external factors.

Expected behavior
Upload success

Regression
unknown

Screenshots
N/A

Product Area
Coverage upload

Versions

  • OS: [e.g. linux, ubuntu@v24, macos arm64, windows]
  • Git Host: GitHub
  • CI/CD: GitHub Actions
  • Uploader: [email protected]

Commit and CI link
https://github.com/aio-libs/aiomysql/tree/5b36eb25a969358020e2f4bc81c593c4ceb53f50
https://github.com/aio-libs/aiomysql/actions/runs/17621637277/job/50068536846

Run codecov/[email protected]
Run missing_deps=""
All required system dependencies are available.
Run CC_ACTION_VERSION=$(cat ${GITHUB_ACTION_PATH}/src/version)
==> Running Action version 5.5.1
Run git config --global --add safe.directory "/home/runner/work/aiomysql/aiomysql"
Run CC_FORK="false"
Run actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
Run if [ "false" == 'true' ] && [ "$CC_FORK" != 'true' ];
==> Token set from input
Run if [ -z "$CC_BRANCH" ] && [ -z "$CC_TOKEN" ] && [ "$CC_FORK" == 'true' ]
Run if [ -z "$CC_SHA" ];
Run ${GITHUB_ACTION_PATH}/dist/codecov.sh
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/
                            Wrapper-0.2.7
                           
==> 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 10.6M  100 10.6M    0     0  78.2M      0 --:--:-- --:--:-- --:--:-- 78.4M
==> Finishing downloading linux:latest
      Version: v11.2.0
 
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
==> Verifying GPG signature integrity
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
 
gpg: Signature made Thu Aug 21 16:12:56 2025 UTC
gpg:                using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
gpg: Can't check signature: No public key
==> Could not verify signature. Please contact Codecov if problem continues
    Exiting...
Error: Process completed with exit code 1.

Additional context
N/A

Activity

  1. added
    bug
    on Sep 10, 2025
  2. andy-cowley commented on Nov 18, 2025

    @andy-cowley

    This now seems to be happening constantly

  3. tajemniktv commented on Apr 23, 2026

    @tajemniktv

    I suddenly started to be affected by this too after adding ssh and gpg keys to my github account. Not really sure how that would affect that, but maybe it was simply a coincidence.

  4. thomasrockhu-codecov commented on Apr 23, 2026

    @thomasrockhu-codecov
    Contributor

    @tajemniktv apologies, this was likely due to an incident we were having

  5. spomichter commented on Jun 6, 2026

    @spomichter

    Hey @thomasrockhu-codecov see attached issues from my side ^

  6. 15 remaining items

  7. added a commit that references this issue on Jun 15, 2026
    860e03a
  8. erwinlares commented on Sep 3, 2026

    @erwinlares

    I'm hitting this too, and in my case it isn't intermittent — I get the identical failure on a manual rerun of the same job, back to back, so at least for me this doesn't look like the usual transient network blip.

    Setup: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 (v6), ubuntu-latest runner, standard r-lib/actions R package coverage workflow. The uploader itself downloads fine (v11.3.1, 9.9M), but the GPG import comes back empty both times:

    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0
    ...
    gpg: Signature made Thu Jul  9 01:37:57 2026 UTC
    gpg:                using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
    gpg: Can't check signature: No public key
    

    So the signature check is against key 27034E7FDB850E0BBC2C62FF806BB28AED779869, and whatever step is supposed to import that key into the fresh keyring isn't landing it — consistently, not occasionally. Since a rerun doesn't clear it, I've had to fall back to skip_validation: true to unblock CI in the meantime, but that obviously isn't something I want to leave on long-term. Happy to share the full job log or repo if that helps narrow it down.


    Want me to also open this as a fresh issue instead of a comment, in case the consistent-failure detail is different enough from the original "random" report to warrant its own thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions