Skip to content

[ci-scan] Skip ExpressionDebuggerTypeProxyTests.ThrowOnNullToCtor on Android (refs #122617)#128585

Draft
github-actions[bot] wants to merge 2 commits into
mainfrom
ci-scan/skip-debugger-proxy-android-122617-43c99baa8f19dcb5
Draft

[ci-scan] Skip ExpressionDebuggerTypeProxyTests.ThrowOnNullToCtor on Android (refs #122617)#128585
github-actions[bot] wants to merge 2 commits into
mainfrom
ci-scan/skip-debugger-proxy-android-122617-43c99baa8f19dcb5

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Reasoning

On Android NativeAOT, DebuggerTypeProxyAttribute is stripped by the trimmer, causing GetDebugViewType to return null. The test attempts to throw SkipTestException but a subsequent NullReferenceException causes an AggregateException that is reported as a test failure rather than a skip. The [ActiveIssue] annotation scoped to TestPlatforms.Android disables this test on Android where NativeAOT trims the attribute.

Linked KBE: #122617

Match verification (from Step 4.8):

  1. Same test/family: yes — ExpressionDebuggerTypeProxyTests.ThrowOnNullToCtor matches exactly
  2. Same failure signature: yes — AggregateException (SkipTestException + NullReferenceException) in both KBE title and current log
  3. Same OS: yes — Android (android_x64) in both
  4. Same architecture: yes — x64 in both (KBE tracks android_x64)

Impact on platforms

  • runtime-extra-platforms / android-x64 Release NativeAOT @ Windows.11.Amd64.Android.Open — exit code 1
  • runtime-extra-platforms / android-arm64 Release NativeAOT @ Windows.11.Amd64.Android.Open — exit code 1

Errors log

[FAIL] System.Linq.Expressions.Tests.ExpressionDebuggerTypeProxyTests.ThrowOnNullToCtor(sourceObject: { ... })
System.AggregateException : One or more errors occurred. (Didn't find DebuggerTypeProxyAttribute on System.Linq.Expressions.ScopeWithType.) (Object reference not set to an instance of an object.)
---- Microsoft.DotNet.XUnitExtensions.SkipTestException : Didn't find DebuggerTypeProxyAttribute on System.Linq.Expressions.ScopeWithType.
---- System.NullReferenceException : Object reference not set to an instance of an object.

First build it occurred

Linked issue

#122617

Note

🔒 Integrity filter blocked 3 items

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

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 · ● 47.1M ·

…efs #122617)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants