Repository navigation
Description
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
linear commentedon Sep 10, 2025
CCMRG-1635 [BUG] Random fails due to uploader verification key import failing
vivodi commentedon Sep 22, 2025
Same problem: https://github.com/Flexget/Flexget/actions/runs/17142646779/job/48632944297
fix: Add retry logic and error handling for GPG key import
andy-cowley commentedon Nov 18, 2025
This now seems to be happening constantly
Add CODECOV_SKIP_VALIDATION=true to all codecov actions
Add CODECOV_SKIP_VALIDATION=true to all codecov actions
blimpich commentedon Feb 11, 2026
Still happening, quite frustrating: https://github.com/Expensify/App/actions/runs/21918539686/job/63292217762
fix: download CLI to temp dir and retry GPG key import
fix: download CLI to temp dir and retry GPG key import
tajemniktv commentedon Apr 23, 2026
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.
thomasrockhu-codecov commentedon Apr 23, 2026
@tajemniktv apologies, this was likely due to an incident we were having
PSY-976: stop Codecov upload flakes from blocking merges (#992)
spomichter commentedon Jun 6, 2026
Hey @thomasrockhu-codecov see attached issues from my side ^
ci: make codecov coverage upload non-blocking (fail_ci_if_error: fals…
15 remaining items
fix(ci): make Codecov PR upload non-blocking (#1564)
Try GHA v7 for codecov codecov/codecov-action#1876
ci: pre-import Codecov uploader signing key to fix flaky GPG verifica…
ci: pre-import Codecov uploader signing key to fix flaky GPG verifica…
226: skip Codecov CLI GPG check to ride out uploader outage (temp)
226: skip Codecov CLI GPG check to ride out uploader outage (temp)
226: skip Codecov CLI GPG check on frontend coverage (temp)
226: skip Codecov CLI GPG check on frontend coverage (temp)
226: skip Codecov CLI GPG check on frontend coverage (temp)
feat(terraform): registry cache, RC management, and multi-platform mi…
ci: drop the Codecov skip_validation workaround (v7.0.0 fixes #1876)
fix(ci): use Codecov PyPI CLI to avoid GPG key import failures (#98)
fix(ci): use Codecov PyPI CLI to avoid GPG key import failures (#324)
chore(ci): switch Codecov from token to OIDC authentication
erwinlares commentedon Sep 3, 2026
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-latestrunner, standardr-lib/actionsR package coverage workflow. The uploader itself downloads fine (v11.3.1, 9.9M), but the GPG import comes back empty both times: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 toskip_validation: trueto 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?