Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProcessThreadTests.TestStartTimeProperty failure in CI #105526

Open
jkotas opened this issue Jul 26, 2024 · 3 comments
Open

ProcessThreadTests.TestStartTimeProperty failure in CI #105526

jkotas opened this issue Jul 26, 2024 · 3 comments
Labels
area-System.Diagnostics.Process blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration runtime-mono specific to the Mono runtime
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Jul 26, 2024

    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_2.<TestStartTimeProperty>b__0()
        /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs(2396,0): at System.Threading.Tasks.Task.InnerInvoke()
        /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs(2384,0): at System.Threading.Tasks.Task.<>c.<.cctor>b__292_0(Object obj)
        /_/src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs(179,0): at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
        --- End of stack trace from previous location ---
        /_/src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs(203,0): at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
        /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs(2342,0): at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
        --- End of stack trace from previous location ---
        /_/src/libraries/System.Diagnostics.Process/tests/ProcessThreadTests.cs(149,0): at System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty()
        --- End of stack trace from previous location ---

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=755830
Build error leg or test failing: System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
Pull request: #105519

Error Message

Fill the error message using step by step known issues guidance.

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

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=755830
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: 7/26/2024 12:06:54 AM UTC

Report

Build Definition Test Pull Request
902315 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #110915
900648 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #110849
898851 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #110372
896640 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #110676
893658 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #109087
890338 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #110478
888644 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #110479
888561 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #110476
881227 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #110232
881204 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #109901

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 2 10
@jkotas jkotas added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 26, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 26, 2024
Copy link
Contributor

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

@jeffhandley jeffhandley added needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration and removed untriaged New issue has not been triaged by the area owner labels Jul 27, 2024
@jeffhandley jeffhandley added this to the Future milestone Jul 27, 2024
@jozkee jozkee added the runtime-mono specific to the Mono runtime label Jul 29, 2024
@jozkee
Copy link
Member

jozkee commented Jul 29, 2024

#104972 was an attempt to fix it but looks like ProcessInfo.Threads is not being Refresh()'d properly.

@adamsitnik
Copy link
Member

I wonder why it fails only on Mono?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Diagnostics.Process blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

4 participants