Skip to content

tests: treat gpg 'Bad passphrase' as transient under CI load - #2480

Merged
ni4 merged 1 commit into
mainfrom
gpg-bad-passphrase-transient
Sep 2, 2026
Merged

tests: treat gpg 'Bad passphrase' as transient under CI load#2480
ni4 merged 1 commit into
mainfrom
gpg-bad-passphrase-transient

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • CI green
  • No behavior change for deterministic gpg failures (3 attempts then fail)

Same agent-state failure as 'Corrupted protection' (issue #2457), just
reported with different wording by some gpg versions - seen failing
cli_tests-Compression on debian-13. Deterministic passphrase bugs still
fail after all retry attempts.
@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.46%. Comparing base (cc4b4ea) to head (50dd2af).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2480      +/-   ##
==========================================
- Coverage   85.47%   85.46%   -0.01%     
==========================================
  Files         125      125              
  Lines       22962    22962              
==========================================
- Hits        19626    19625       -1     
- Misses       3336     3337       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ronaldtse

Copy link
Copy Markdown
Contributor Author

@ni4 one-line test-infra follow-up for your single-approval class, all checks green (only the known fuzzing exceptions): adds Bad passphrase to GPG_TRANSIENT_ERRORS - it's the same gpg-agent state failure as Corrupted protection (#2457), just the wording some gpg versions use (first seen failing cli_tests-Compression on debian-13 yesterday; today the same agent state hit cli_tests-Encryption on a Fedora leg as Corrupted protection). Deterministic passphrase bugs still fail after all retry attempts.

@ronaldtse
ronaldtse requested a review from ni4 September 2, 2026 11:21

@ni4 ni4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Merging with single approval as CI-only.

@ni4
ni4 merged commit 100cc8c into main Sep 2, 2026
176 of 179 checks passed
@ni4
ni4 deleted the gpg-bad-passphrase-transient branch September 2, 2026 19:52
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

Successfully merging this pull request may close these issues.

2 participants