[release/9.0] ProcessThreadTests.TestStartTimeProperty flaky failure - fix from #105526 not backported

Open Beginner friendly
#134,011 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp

Research direction

Inspect src/libraries/System.Diagnostics.Process/tests/ProcessThreadTests.cs, especially TestStartTimeProperty, and compare release/9.0 with commit 4e5411701cf6c75ae461f67934493b3a27121047 from fix #125811. Backport that fix to release/9.0 and run the targeted Linux Mono Interpreter test; done means the reported failure is resolved.

Written by the indexing model from the issue text.

Description

area-System.Diagnostics.Process Known Build Error untriaged

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1598063
Build error leg or test failing: build_linux_x64_Release_Mono_Interpreter_LibrariesTests (Ubuntu.2204.Amd64.Open) / System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
Pull request: dotnet/runtime#133988 (release/9.0-staging -> release/9.0 merge)

System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty [FAIL]
  Assert.Single() Failure: The collection did not contain any matching items
  Expected:   (predicate expression)
  Collection: [System.Diagnostics.ProcessThread, System.Diagnostics.ProcessThread, System.Diagnostics.ProcessThread, System.Diagnostics.ProcessThread, System.Diagnostics.ProcessThread, ...]
  Stack Trace:
    /_/src/libraries/System.Diagnostics.Process/tests/ProcessThreadTests.cs(156,0): at System.Diagnostics.Tests.ProcessThreadTests.<>c__DisplayClass4_0.<TestStartTimeProperty>b__0()
    /_/src/libraries/System.Diagnostics.Process/tests/ProcessThreadTests.cs(149,0): at System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty()

Console log: https://helixr1107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-heads-release-90-staging-55513970eee84bc486/System.Diagnostics.Process.Tests/1/console.61907546.log?helixlogtype=result

First reported here: https://github.com/dotnet/runtime/issues/105526
Fixed on main by #125811 ("Fix ProcessThreadTests.TestStartTimeProperty flakiness due to /proc visibility race", merged 2026-03-20, commit 4e5411701cf6c75ae461f67934493b3a27121047), but that fix was never backported to release/9.0 — confirmed neither release/9.0 nor release/9.0-staging contains that commit. Requesting the fix be backported to release/9.0.

Error Message

{
  "ErrorMessage": ["System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty [FAIL]", "The collection did not contain any matching items"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 9/15/2026 11:21:38 PM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1598063
Error message validated: [System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty [FAIL] The collection did not contain any matching items]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/15/2026 11:27:02 PM UTC

Report
Build Repository Test Pull Request
1598063 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 1
Dominant language
C#
Stars
18.3k
Forks
5.6k
Avg merge
2d 19h
Merged PRs (30d)
589

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.