Skip to content

[CI Postmortem] BuildFatMonoTouchTest failing on iOS, MacCatalyst, MacOSX #25386

Closed

Description

@rolfbjarne

Shared Regression Report (automated)

Tests:

  • Xamarin.Tests.DotNetProjectTest.BuildFatMonoTouchTest(iOS,"iossimulator-x64;iossimulator-arm64")
  • Xamarin.Tests.DotNetProjectTest.BuildFatMonoTouchTest(MacCatalyst,"maccatalyst-arm64;maccatalyst-x64")
  • Xamarin.Tests.DotNetProjectTest.BuildFatMonoTouchTest(MacOSX,"osx-arm64;osx-x64")

Platform: dotnet tests
Period: May 4–11, 2026
Category: Shared Regression (consistent failure across 3 PRs)

Occurrence Summary

All 3 platform variants fail in the same builds:

PR Build Platforms Failed Bot (iOS) Direct Link (iOS)
#25292 14015529 iOS, MacCatalyst, MacOSX VSCXSDKs-MINI-007 Run tests
#25308 14017033 iOS, MacCatalyst, MacOSX VSCXSDKs-MINI-060 Run tests
#25374 14048296 iOS, MacCatalyst, MacOSX VSCXSDKs-MINI-028 Run tests
#25374 14048253 iOS, MacCatalyst, MacOSX VSCXSDKs-MINI-005 Run tests

Total: Failed in 4 builds across 3 PRs (12 test failures total: 3 platforms × 4 builds)

Error Details

'dotnet build' failed with exit code 1
Full command: .../dotnet build .../monotouch-test.csproj /p:_BundlerVerbosity=1
  "/p:RuntimeIdentifiers=\"<platform-rids>\"" /p:UseFloatingTargetPlatformVersion=true ...

The dotnet build command fails before tests can run. This affects all fat (multi-architecture) builds of monotouch-test.

Classification

This is a shared regression — the same 3 PRs all fail consistently. The failure is in the build step, not in any test execution.


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

Activity

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

    @rolfbjarne
    MemberAuthor

    Build Error Analysis

    The dotnet build failure is caused by 16,766 CS0411 compilation errors across 5 source files in monotouch-test:

    Root Cause

    error CS0411: The type arguments for method 'Is.InstanceOf<TExpected>()' cannot be inferred from the usage.
    Try specifying the type arguments explicitly.
    

    All errors are the same: Is.InstanceOf<TExpected>() type inference failures. The fat (multi-arch) build compiles for both iossimulator-x64 and iossimulator-arm64, so errors are duplicated across RIDs.

    Affected Files (from binlog analysis)

    File Error Count
    tests/monotouch-test/Intents/INIntentResolutionResultTests.cs 93
    tests/monotouch-test/MediaPlayer/NowPlayingInfoCenterTest.cs 28
    tests/monotouch-test/Foundation/DimensionTest.cs 21
    tests/monotouch-test/Foundation/UrlSessionTaskTest.cs 13
    tests/monotouch-test/System.Net.Http/MessageHandlers.cs 9

    Sample Errors (first 5 of 164 unique locations)

    tests/monotouch-test/System.Net.Http/MessageHandlers.cs(68,51): error CS0411
    tests/monotouch-test/System.Net.Http/MessageHandlers.cs(538,52): error CS0411
    tests/monotouch-test/System.Net.Http/MessageHandlers.cs(540,44): error CS0411
    tests/monotouch-test/System.Net.Http/MessageHandlers.cs(671,52): error CS0411
    tests/monotouch-test/System.Net.Http/MessageHandlers.cs(673,52): error CS0411
    

    Binlogs

    The binlog for the iOS monotouch-test build from build 14048296 (PR #25374) is available as artifact all-binlogs-test-simulator_testsdotnettests_ios-14048296-1-1. The specific binlog file is at:

    macios/tests/monotouch-test/dotnet/iOS/log-build-20260508_070625.binlog

    Analysis

    Direct Links to Failing Steps

    Build 14048296 (PR #25374):

    Build 14017033 (PR #25308):


    Updated with detailed build error analysis (binlog + NUnit XML) by CI post-mortem.

  3. rolfbjarne commented on May 13, 2026

    @rolfbjarne
    MemberAuthor

    This should be fixed now.

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