Test failure: System.Diagnostics.Tests.ProcessTests.TestProcessName

Open
#116,051 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp

Research direction

Start in src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs at TestProcessName(), then inspect the failed Linux Release x64 JIT-stress run and its assertion. Determine why the expected process name is empty in this configuration; done means the regression is addressed and the named test passes on the affected Linux configuration.

Written by the indexing model from the issue text.

Description

arch-x64 area-System.Diagnostics.Process blocking-clean-ci-optional JitStress os-linux

Failed in: runtime-coreclr libraries-jitstress 20250527.1

Failed tests:

net10.0-linux-Release-x64-jitstress1_tiered-Ubuntu.2204.Amd64.Open
    - System.Diagnostics.Tests.ProcessTests.TestProcessName

Error message:

 Assert.Equal() Failure: Values differ
Expected: dotnet
Actual:   

Stack trace:

   at System.Diagnostics.Tests.ProcessTests.TestProcessName() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs:line 1096
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

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.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.