Skip to content

Failing test - System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest on Linux/arm64 #95873

Closed

Description

@radical

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=495334
Build error leg or test failing: System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest
Pull request: #95819

Error Message

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

{
  "ErrorMessage": "Exit code was 134 but it should have been 42",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Similar to #85960 ?
cc @lateralusX @lambdageek

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=495334
Error message validated: Exit code was 134 but it should have been 42
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/11/2023 6:41:24 PM UTC

Report

Build Definition Test Pull Request
662557 dotnet/runtime System.Reflection.Metadata.ApplyUpdateTest.TestAddStaticLambda #101580
659776 dotnet/runtime Microsoft.Gen.OptionsValidation.Unit.Test.EmitterTests.InaccessibleValidationAttributesTest #101691
657767 dotnet/runtime System.Net.Tests.ServicePointManagerTest.FindServicePoint_ReturnedServicePointMatchesExpectedValues #101137
656607 dotnet/runtime System.Reflection.Metadata.ApplyUpdateTest.TestStaticLambdaRegression #101580
655791 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.CooperativeBlockingWithProcessingThreadsAndGoalThreadsAndAddWorkerRaceTest #101537
651352 dotnet/runtime System.Reflection.Metadata.ApplyUpdateTest.TestReflectionAddNewMethod #101353
650676 dotnet/runtime System.Security.Cryptography.Tests.Sha256ManagedTests.HashAlgorithm_TransformFinalBlock_ConcurrentUseDoesNotCrashProcess #99339
650178 dotnet/runtime Microsoft.Extensions.Diagnostics.Tests.ListenerSubscriptionTests.RuleMatchesNegativeTest #101318
648973 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #100962
648857 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #100962
648059 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #100962
641780 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100386
640958 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #100765
640844 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100951
640688 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #93014
640353 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #100743
639593 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100669
639437 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100520
638524 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100767
637807 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100489
637534 dotnet/runtime System.Runtime.InteropServices.Tests.PendingExceptionTests.ValidateSetMessageSendPendingException #100823
636703 dotnet/runtime System.Tests.PosixSignalRegistrationTests.SignalHandlerCalledForRawSignals #100147
636603 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100802
636443 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100821
635653 dotnet/runtime System.ComponentModel.Composition.CompositionExceptionTests.Message_ShouldFormatCountOfRootCausesUsingTheCurrentCulture #99278
635054 dotnet/runtime System.Threading.Tests.EtwTests.WaitHandleWaitEventTest #100778
634307 dotnet/runtime System.ComponentModel.Composition.CompositionExceptionTests.Message_ShouldFormatCountOfRootCausesUsingTheCurrentCulture #99278
633731 dotnet/runtime System.ComponentModel.Composition.CompositionExceptionTests.Message_ShouldFormatCountOfRootCausesUsingTheCurrentCulture #99278
631865 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #100676
631246 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #99659
631044 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #100497
630711 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #100650
629121 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #100489
629043 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #100589
628975 dotnet/runtime System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest #100141
628555 dotnet/runtime System.ComponentModel.Composition.CompositionExceptionTests.Message_ShouldFormatCountOfRootCausesUsingTheCurrentCulture #99278

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 4 36

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Dec 11, 2023
  2. lateralusX commented on Dec 12, 2023

    @lateralusX
    Member

    Yes, seems to include the same pattern as seen in #85960, so terminating runtime with an exit and since that doesn't wait for managed threads to complete, we still have managed threads calling into EventPipe while cleaning up EventPipe artifacts and that leads to this assert or potential an AV.

  3. buyaa-n commented on Feb 13, 2024

    @buyaa-n
    Contributor

    Failing again on #98234
    From log:

    Exiting early due to double fault.
    [Inferior 1 (process 41724) detached]
        System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest [FAIL]
          Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Exit code was 255 but it should have been 42
          Stack Trace:
            /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(242,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
            /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(55,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
            /_/src/libraries/System.Threading.ThreadPool/tests/ThreadPoolTests.cs(1118,0): at System.Threading.ThreadPools.Tests.ThreadPoolTests.ThreadPoolMinMaxThreadsEventTest()
            /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
            /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
        System.Threading.ThreadPools.Tests.ThreadPoolTests.MetricsTest [SKIP]
          Condition(s) not met: "IsMetricsTestSupported"
      Finished:    System.Threading.ThreadPool.Tests
    === TEST EXECUTION SUMMARY ===
       System.Threading.ThreadPool.Tests  Total: 66, Errors: 0, Failed: 1, Skipped: 1, Time: 12.072s
    
  4. mangod9 commented on May 2, 2024

    @mangod9
    Member

    Closing since this hasn't reproed for a few months.

  5. locked and limited conversation to collaborators on Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Threadingblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions