rust-lang / rust-lang/git2-rs

credential_helper5 is failing on Fedora

Open
#431 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tests
Dominant language
Rust
Stars
2.1k
Forks
450
Avg merge
11m
Merged PRs (30d)
1

Description

---- cred::test::credential_helper5 stdout ----
thread 'cred::test::credential_helper5' panicked at 'assertion failed: `(left == right)`
  left: `"a"`,
 right: `"c"`', src/cred.rs:557:9
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
failures:
    cred::test::credential_helper5
test result: FAILED. 107 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

This is latest libgit2-sys (0.8.1), latest rust (1.35) and latest git2 (0.28.2). And this is happening on all architectures.

Let me know what other information you need.

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/cred.rs around line 557 and the cred::test::credential_helper5 test, then reproduce it on Fedora using the reported Rust, git2, and libgit2-sys versions. Trace how the credential helper selects values and compare the expected and actual results. Done means the test passes without regressing credential-helper behavior on supported platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
fedora, git, rust
Domain
authentication, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.