Skip to content

ProcessThreadTests.TestStartTimeProperty failure in CI #105526

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

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
1026152 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #115009
1026126 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #115018
1025284 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114083
1024489 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113948
1023646 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114881
1021239 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
1020848 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114754
1019858 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114688
1019823 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114756
1018741 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114754
1018342 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114741
1018233 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114687
1017008 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114644
1016978 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114682
1015364 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114619
1013846 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113907
1013697 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
1011954 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114481
1011093 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114392
1009886 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114352
1009085 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #111791
1006946 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
1005430 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114145
1005183 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114148
1004125 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114210
1002962 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113595
1002378 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114080
1002124 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114100
1001410 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113313
999915 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114080
999726 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113876
999002 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113976
998425 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #100729
997957 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #113954
997808 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #114028
994975 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty
994406 dotnet/runtime System.Diagnostics.Tests.ProcessThreadTests.TestStartTimeProperty #107369

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 7 37
@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