runtime
runtime copied to clipboard
[9.0] Process test expecting sleep but shows .NET long running process
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=916912 Build error leg or test failing: net9.0-linux-Release-x64-coreclr_checked-Ubuntu.2204.Amd64.Open
Error Message
{
"ErrorMessage" : ["Expected:", "sleep", ".NET Long Runni"],
"BuildRetry" : true,
"ExcludeConsoleLog" : false
}
- PR: https://github.com/dotnet/runtime/pull/111422
- Queue:
Libraries Test Run checked coreclr linux x64 Release - Job result: https://dev.azure.com/dnceng-public/public/_build/results?buildId=916912&view=logs&j=fe27627b-bd13-56b8-97c3-9bb28451d0b9&t=09d463f5-5a24-5ac9-897c-9929934ad820
- Log file: https://helixr1107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-heads-release-90-staging-76ca6898836a48668c/System.Diagnostics.Process.Tests/1/console.1ee5f3c8.log?helixlogtype=result
- Output:
System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgram [FAIL]
Assert.Equal() Failure: Strings differ
↓ (pos 0)
Expected: "sleep"
Actual: ".NET Long Runni"
↑ (pos 0)
Stack Trace:
/_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs(354,0): at System.Diagnostics.Tests.ProcessTests.ProcessStart_OnLinux_UsesSpecifiedProgram()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=916912
Error message validated: [Expected: sleep .NET Long Runni]
Result validation: :x: Known issue did not match with the provided build.
Validation performed at: 1/14/2025 6:55:20 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Tagging subscribers to this area: @dotnet/area-system-diagnostics-process See info in area-owners.md if you want to be subscribed.
I've taken a look at the test implementation and I can't see any reason why it would fail like this (sleep is a native Linux utility, not a .NET command line tool).
https://github.com/dotnet/runtime/blob/5a395ed2fd64cf1c65ad43d667327958f6f3d1b0/src/libraries/System.Diagnostics.Process/tests/ProcessTests.Unix.cs#L344-L363
For now I am going to move it to Future. If it starts failing more often we can invest more time into that.