git-ecosystem / git-ecosystem/git-credential-manager
tests failed on clean install
Open
Nobody has claimed this yet.
platform:linux
- Dominant language
- C#
- Stars
- 9.3k
- Forks
- 2.9k
- Avg merge
- 7d 1h
- Merged PRs (30d)
- 14
Description
OS: Arch Linux
Arch: x64
Kernel: Linux 6.18.2-arch2-1
Installed using yay.
[xUnit.net 00:00:00.85] GitCredentialManager.Tests.GitConfigurationTests.GitConfiguration_Unset_Local_UnsetsLocalConfig [FAIL]
Failed GitCredentialManager.Tests.GitConfigurationTests.GitConfiguration_Unset_Local_UnsetsLocalConfig [11 ms]
Error Message:
Assert.Equal() Failure: Values differ
Expected: 0
Actual: 255
Stack Trace:
at GitCredentialManager.Tests.GitTestUtilities.GitResult.AssertSuccess() in /home/guma/.cache/yay/git-credential-manager/src/git-credential-manager-2.6.1/src/shared/TestInfrastructure/GitTestUtilities.cs:line 109
at GitCredentialManager.Tests.GitConfigurationTests.GitConfiguration_Unset_Local_UnsetsLocalConfig() in /home/guma/.cache/yay/git-credential-manager/src/git-credential-manager-2.6.1/src/shared/Core.Tests/GitConfigurationTests.cs:line 361
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[xUnit.net 00:00:00.85] GitCredentialManager.Tests.GitConfigurationTests.GitConfiguration_Unset_Global_UnsetsGlobalConfig [FAIL]
Failed GitCredentialManager.Tests.GitConfigurationTests.GitConfiguration_Unset_Global_UnsetsGlobalConfig [6 ms]
Error Message:
Assert.Equal() Failure: Values differ
Expected: 0
Actual: 255
Stack Trace:
at GitCredentialManager.Tests.GitTestUtilities.GitResult.AssertSuccess() in /home/guma/.cache/yay/git-credential-manager/src/git-credential-manager-2.6.1/src/shared/TestInfrastructure/GitTestUtilities.cs:line 109
at GitCredentialManager.Tests.GitConfigurationTests.GitConfiguration_Unset_Global_UnsetsGlobalConfig() in /home/guma/.cache/yay/git-credential-manager/src/git-credential-manager-2.6.1/src/shared/Core.Tests/GitConfigurationTests.cs:line 329
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Failed! - Failed: 2, Passed: 794, Skipped: 43, Total: 839, Duration: 6 s - Core.Tests.dll (net8.0)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the failing GitConfigurationTests.GitConfiguration_Unset_Local_UnsetsLocalConfig and GitConfiguration_Unset_Global_UnsetsGlobal tests in shared/Core.Tests/GitConfigurationTests.cs, then inspect GitTestUtilities.cs line 109. Reproduce the failures on a clean Arch Linux install and examine the Git result behind the exit code 255. Done means both tests pass without breaking the remaining Core.Tests suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100