Skip to content

Disable attribute trimming android 124958#125863

Merged
vitek-karas merged 2 commits intodotnet:mainfrom
vitek-karas:disable-attribute-trimming-android-124958
Mar 21, 2026
Merged

Disable attribute trimming android 124958#125863
vitek-karas merged 2 commits intodotnet:mainfrom
vitek-karas:disable-attribute-trimming-android-124958

Conversation

@vitek-karas
Copy link
Copy Markdown
Member

Disable AttributeTrimming test on Android.

The test is very sensitive to specific trimming behavior, but running it on Android adds a lot of code from the Android hosting/interop which influences trimming and thus makes the test unpredictable.

Fixes #124958

vitek-karas and others added 2 commits March 20, 2026 12:42
Temporarily disable the NativeAOT smoke test on Android while issue dotnet#124958 is investigated.

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

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Disables the NativeAOT AttributeTrimming smoke test when targeting Android to avoid intermittent/unpredictable trimming outcomes caused by additional Android hosting/interop code influencing the linker, aligning with the failure described in #124958.

Changes:

  • Mark AttributeTrimming as unsupported on Android via CLRTestTargetUnsupported.
  • Add an explanatory comment documenting why Android is excluded.

@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.

@vitek-karas vitek-karas merged commit 03b08f5 into dotnet:main Mar 21, 2026
88 checks passed
@vitek-karas vitek-karas deleted the disable-attribute-trimming-android-124958 branch March 21, 2026 13:55
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android emulator app crash (SIGABRT) during AttributeTrimming.WorkItemExecution (XHarness APP_CRASH)

3 participants