Skip to content

Test failure: System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync #106849

Closed

Description

@v-wenyuxu

Failed in: runtime-coreclr libraries-jitstress-random 20240822.1

Failed tests:

net9.0-windows-Release-x64-jitstress_random_2-Windows.10.Amd64.Open
    - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync

Error message:

 Cancellation in Main thread

Stack trace:

   at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57

Activity

  1. added
    JitStress
    blocking-clean-ci-optional
    on Aug 23, 2024
  2. added
    untriaged
    on Aug 23, 2024
  3. dotnet-policy-service commented on Aug 23, 2024

    @dotnet-policy-service
    Contributor

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

  4. added this to the 10.0.0 milestone on Aug 26, 2024
  5. removed
    untriaged
    on Aug 26, 2024
  6. v-wenyuxu commented on Dec 2, 2024

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-pgo 20241130.1

    Failed tests:

    net10.0-windows-Release-x64-jitosr_stress_random-Windows.10.Amd64.Open
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  7. v-wenyuxu commented on Jan 13, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress-random 20250111.1

    Failed tests:

    net10.0-linux-Release-arm64-jitstress_random_2-(Ubuntu.2004.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-20.04-helix-arm64v8
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  8. v-wenyuxu commented on Jan 14, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress-random 20250113.1

    Failed tests:

    net10.0-windows-Release-arm64-jitstress_random_2-Windows.11.Arm64.Open
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  9. v-wenyuxu commented on Feb 5, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress-random 20250201.1

    Failed tests:

    net10.0-linux-Release-arm-jitstress_random_1-(Debian.12.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  10. v-wenyuxu commented on Feb 10, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress-random 20250208.1

    Failed tests:

    net10.0-linux-Release-arm-jitstress_random_1-(Debian.12.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  11. v-wenyuxu commented on Feb 24, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress-random 20250222.1

    Failed tests:

    net10.0-windows-Release-x64-jitstress_random_2-Windows.10.Amd64.Open
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  12. v-wenyuxu commented on Mar 24, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr libraries-jitstress-random 20250322.1

    Failed tests:

    net10.0-windows-Release-x64-jitstress_random_2-Windows.10.Amd64.Open
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  13. SakeTao commented on Mar 31, 2025

    @SakeTao

    Failed in: runtime-coreclr libraries-jitstress-random 20250329.1

    Failed tests:

    net10.0-linux-Release-arm64-jitstress_random_2-(Ubuntu.2404.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-24.04-helix-arm64v8
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  14. SakeTao commented on Jun 30, 2025

    @SakeTao

    Failed in: runtime-coreclr libraries-jitstress-random 20250628.1

    Failed tests:

    net10.0-windows-Release-arm64-jitstress_random_2-Windows.11.Arm64.Open
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

     Cancellation in Main thread
    

    Stack trace:

       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  15. modified the milestones: 10.0.0, Future on Jul 26, 2025
  16. SakeTao commented on Aug 18, 2025

    @SakeTao

    Failed in: runtime-coreclr libraries-jitstress-random 20250816.1

    Failed tests:

    net10.0-linux-Release-arm-jitstress_random_1-(Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

    Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  17. SakeTao commented on Sep 28, 2025

    @SakeTao

    Failed in: runtime-coreclr libraries-jitstress-random 20250927.1

    Failed tests:

    net10.0-windows-Release-x64-jitstress_random_1-Windows.10.Amd64.Open
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

    Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  18. JulieLeeMSFT commented on Sep 29, 2025

    @JulieLeeMSFT
    Member

    cc @jakobbotsch if this failure is related to Async2.

  19. SakeTao commented on Nov 3, 2025

    @SakeTao

    Failed in: runtime-coreclr libraries-jitstress-random 20251101.1

    Failed tests:

    net10.0-linux-Release-arm64-jitstress_random_1-(AzureLinux.3.0.ArmArch.Open)[email protected]/dotnet-buildtools/prereqs:azurelinux-3.0-helix-arm64v8
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

    Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  20. SakeTao commented on Dec 8, 2025

    @SakeTao

    Failed in: runtime-coreclr libraries-jitstress-random 20251206.1

    Failed tests:

    net10.0-linux-Release-arm-jitstress_random_1-(Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

    Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  21. SakeTao commented on Jan 12, 2026

    @SakeTao

    Failed in: runtime-coreclr libraries-jitstress-random 20260110.1

    Failed tests:

    net11.0-windows-Release-x86-jitstress_random_2-Windows.10.Amd64.Open
        - System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync
    

    Error message:

    Cancellation in Main thread
    

    Stack trace:

       at System.ComponentModel.EventBasedAsync.Tests.BackgroundWorkerTests.TestCancelAsync() in /_/src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs:line 126
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    
  22. jakobbotsch commented on Jul 15, 2026

    @jakobbotsch
    Member

    Don't see recent occurrences.

  23. locked and limited conversation to collaborators on Aug 15, 2026
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

    JitStressarch-x64area-System.ComponentModelblocking-clean-ci-optionalos-windows

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions