Skip to content

[CI Postmortem] Flaky: Xamarin.Mac tests — DerivedEventTest, EveryFrameworkSmokeTests, NSViewTests #25445

Closed as not planned

Description

@rolfbjarne

Flaky Test Report (automated)

Tests:

  • Xamarin.Mac.Tests.DerivedEventTest.DerivedEvents_OverwriteThrows
  • Xamarin.Mac.Tests.EveryFrameworkSmokeTests.ExpectedLibrariesAreLoaded
  • Xamarin.Mac.Tests.NSViewTests.AllItemsWithNSMenuShouldAllowNull

Platform: macOS (Tahoe)
Period: May 11–18, 2026
Category: Flaky — appears across unrelated PRs on different bots

Occurrence Details

PR Build Bot Direct Link
#25318 14086348 VSCXSDKs-MINI-015.Tahoe.arm64 dotnettests_macos → Run tests
#25434 14099281 VSCXSDKs-MINI-051.Tahoe.arm64 monotouch_macos → Run tests

Total: Failed in 2 builds across 2 unrelated PRs on different bots and different dates.

Error Details

DerivedEventTest.DerivedEvents_OverwriteThrows

TestOverrideThrow (False, True) did not have expected thrown status

EveryFrameworkSmokeTests.ExpectedLibrariesAreLoaded

IntentsUILibrary (/System/Library/Frameworks/IntentsUI.framework/IntentsUI) failed to load but this was not expected
MailKitLibrary (/System/Library/Frameworks/MailKit.framework/MailKit) failed to load but this was not expected
MetricKitLibrary (/System/Library/Frameworks/MetricKit.framework/MetricKit) failed to load but this was not expected

This suggests certain frameworks may not be available or loadable on all Tahoe bots, possibly due to OS configuration differences.

NSViewTests.AllItemsWithNSMenuShouldAllowNull

System.NullReferenceException : Arg_NullReferenceException

Analysis

All three tests co-occur (fail together in the same builds), suggesting a shared root cause. The EveryFrameworkSmokeTests failure — which shows framework libraries failing to load — may be the underlying cause: if frameworks like IntentsUI aren't loaded, downstream tests that depend on those frameworks may encounter null references or unexpected behavior.

The failures occur on different bots (MINI-015 and MINI-051) and different dates (May 13 and May 14), ruling out a single bad machine.


This issue was automatically generated by CI post-mortem analysis.

Activity

  1. added
    bug
    ci-postmortem
    on May 18, 2026
  2. rolfbjarne commented on May 18, 2026

    @rolfbjarne
    MemberAuthor

    These two pull requests are related (a change in one of them was pulled out to create another pull request, and that's causing the same problem in both), so this is not a CI issue.

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

    bugci-postmortemcopilot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions