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
994975 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
994406 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #107369
993868 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113908
991546 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113758
991322 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113834
991226 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113666
990336 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113592
989105 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113453
986470 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113524
986327 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113705
985776 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113682
984774 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113500
984544 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113524
984191 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
982009 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113460
978155 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113184
972554 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113274
972238 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
971051 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
970222 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113111
969912 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113095
968558 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #112882
966591 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #112976
964439 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #112976
963907 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #112909

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 8 23
@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