Skip to content

Test failure: System.Runtime.CompilerServices.UnsafeTests.DangerousAs #129678

Closed

Description

@VincentBu

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

Failed tests:

net11.0-linux-Release-arm-jitstress_random_2-(Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:7cd2e25705d98e003a2d4f2e10cbf27847f573d9548e06a72062028ed74f43a6
- System.Runtime.CompilerServices.UnsafeTests.DangerousAs

Error message:

Assert.IsType() Failure: Value is not the exact type
Expected: typeof(object)
Actual:   typeof(string)

Stack trace:

   at System.Runtime.CompilerServices.UnsafeTests.DangerousAs() in /_/src/libraries/System.Runtime/tests/System.Runtime.CompilerServices.Unsafe.Tests/UnsafeTests.cs:line 456
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 37
   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 Jun 22, 2026
  2. added
    untriaged
    on Jun 22, 2026
  3. added
    area-CodeGen-coreclr
    on Jun 22, 2026
  4. dotnet-policy-service commented on Jun 22, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  5. added this to the 11.0.0 milestone on Jun 23, 2026
  6. removed
    untriaged
    on Jun 23, 2026
  7. added a commit that references this issue on Jun 26, 2026
    5ae5630
  8. added a commit that references this issue on Jul 15, 2026
    a50d415
  9. locked and limited conversation to collaborators on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

JitStressarea-CodeGen-coreclrblocking-clean-ci-optional

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions