Skip to content

[ci-scan] Test failure: InvokeWithRefLikeArgs.MethodTakesRefToRefStructAsArg_ThrowsNSE on iossimulator #129358

@github-actions

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1458940
Build error leg or test failing: iossimulator-arm64 Release AllSubsets_CoreCLR - System.Runtime.ReflectionInvokeEmit.Tests / System.Runtime.ReflectionInvokeInterpreted.Tests

Error Details

System.Reflection.Tests.InvokeWithRefLikeArgs.MethodTakesRefToRefStructAsArg_ThrowsNSE fails on iossimulator-arm64 (CoreCLR) in both the Emit and Interpreted reflection invoke test assemblies. The test expects NotSupportedException when passing a ref-to-ref-struct argument but receives IndexOutOfRangeException instead.

[FAIL] System.Reflection.Tests.InvokeWithRefLikeArgs.MethodTakesRefToRefStructAsArg_ThrowsNSE
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.NotSupportedException)
Actual:   typeof(System.IndexOutOfRangeException)
---- System.IndexOutOfRangeException : Index was outside the bounds of the array.
   at System.Reflection.Tests.InvokeWithRefLikeArgs.MethodTakesRefToRefStructAsArg_ThrowsNSE()
   at InvokeStub_InvokeWithRefLikeArgs.MethodTakesRefToRefStructAsArg_ThrowsNSE(Object, Object, IntPtr*)

Error Message

true only for clear infra flakes. ExcludeConsoleLog skips helix log scanning. -->

{
  "ErrorMessage": [
    "[FAIL] System.Reflection.Tests.InvokeWithRefLikeArgs.MethodTakesRefToRefStructAsArg_ThrowsNSE",
    "Assert.Throws() Failure: Exception type was not an exact match"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Impact on platforms

  • runtime-extra-platforms (def 154) / iossimulator-arm64 Release AllSubsets_CoreCLR / exit code: non-zero (test failure)
  • Affects both System.Runtime.ReflectionInvokeEmit.Tests and System.Runtime.ReflectionInvokeInterpreted.Tests

First build it occurred

Related: #129149 (same platform, different test in same assembly)


Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.

Note

🔒 Integrity filter blocked 2 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #98964 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #104825 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 38.2M ·

Report

Build Repository Test Pull Request
1462616 dotnet/runtime System.Runtime.ReflectionInvokeInterpreted.Tests.WorkItemExecution

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions