Skip to content

Test failure: System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList #109630

Open

Description

@v-wenyuxu

Failed in: runtime-coreclr libraries-jitstress 20241106.1

Failed tests:

net10.0-linux-Release-x64-jitstress2_tiered-Ubuntu.2204.Amd64.Open
    - System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList

Error message:

 Assert.Equal() Failure: Strings differ
           ↓ (pos 0)
Expected: "sleep"
Actual:   ".NET Long Runni"
           ↑ (pos 0)

Stack trace:

   at System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs:line 377
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 48

Activity

  1. dotnet-policy-service commented on Nov 8, 2024

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-diagnostics-process
    See info in area-owners.md if you want to be subscribed.

  2. v-wenyuxu commented on Nov 25, 2024

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress 20241122.2

    Failed tests:

    net10.0-linux-Release-x64-jitstress2_tiered-Ubuntu.2204.Amd64.Open
        - System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList
    

    Error message:

    Assert.Equal() Failure: Strings differ
    ↓ (pos 0)
    Expected: "sleep"
    Actual:   ".NET Long Runni"
    ↑ (pos 0)
    

    Stack trace:

       at System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs:line 377
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 48
    
  3. v-wenyuxu commented on Nov 27, 2024

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress 20241125.1

    Failed tests:

    net10.0-linux-Release-x64-tailcallstress-Ubuntu.2204.Amd64.Open
        - System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList
    

    Error message:

     Assert.Equal() Failure: Strings differ
               ↓ (pos 0)
    Expected: "sleep"
    Actual:   ".NET Long Runni"
               ↑ (pos 0)
    

    Stack trace:

       at System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs:line 377
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  4. v-wenyuxu commented on Dec 30, 2024

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress-random 20241228.1

    Failed tests:

    net10.0-linux-Release-x64-jitstress_random_1-Ubuntu.2204.Amd64.Open
        - System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList
    

    Error message:

     Assert.Equal() Failure: Strings differ
               ↓ (pos 0)
    Expected: "sleep"
    Actual:   ".NET Long Runni"
               ↑ (pos 0)
    

    Stack trace:

       at System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs:line 377
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  5. jeffhandley commented on Jan 16, 2025

    @jeffhandley
    Member

    Assigned to @adamsitnik for triage

  6. adamsitnik commented on Jan 23, 2025

    @adamsitnik
    Member

    Triage: it seems that reading a process name on Linux makes some of our tests flaky (#109630, #110643, #111460).

    @jkotas has suggested in #111460 (comment) that we maybe reading it too soon. I am going to try to add a simple retry mechanism to see if it helps.

  7. added this to the 10.0.0 milestone on Jan 23, 2025
  8. removed
    untriagedNew issue has not been triaged by the area owner
    on Jan 23, 2025
  9. v-wenyuxu commented on Mar 4, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress 20250302.3

    Failed tests:

    net10.0-linux-Release-x64-jitminopts-Ubuntu.2204.Amd64.Open
        - System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList
    

    Error message:

     Assert.Equal() Failure: Strings differ
               ↓ (pos 0)
    Expected: "sleep"
    Actual:   ".NET Long Runni"
               ↑ (pos 0)
    

    Stack trace:

       at System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs:line 377
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  10. v-wenyuxu commented on Mar 5, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress 20250303.1

    Failed tests:

    net10.0-linux-Release-x64-jitstress2_tiered-Ubuntu.2204.Amd64.Open
        - System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList
    

    Error message:

     Assert.Equal() Failure: Strings differ
               ↓ (pos 0)
    Expected: "sleep"
    Actual:   ".NET Long Runni"
               ↑ (pos 0)
    

    Stack trace:

       at System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs:line 377
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 48
    
  11. SakeTao commented on Apr 21, 2025

    @SakeTao

    Failed in: runtime-coreclr libraries-pgo 20250420.1

    Failed tests:

    net10.0-linux-Release-x64-fullpgo_random_gdv_edge-Ubuntu.2204.Amd64.Open
        - System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList
    

    Error message:

     Assert.Equal() Failure: Strings differ
               ↓ (pos 0)
    Expected: "sleep"
    Actual:   ".NET Long Runni"
               ↑ (pos 0)
    

    Stack trace:

       at System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgramUsingArgumentList() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs:line 377
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 126
    
  12. modified the milestones: 10.0.0, Future on Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions