Skip to content

[ci-scan] Test failure: Microsoft.Extensions.Hosting.Tests.HostTests.CreateDefaultBuilder_RegistersEventSourceLogger on Apple Na [Content truncated due to length] #130254

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1494308
Build error leg or test failing: iossimulator-arm64 Release AllSubsets_NativeAOT - Microsoft.Extensions.Hosting.Unit.Tests

Error Details

On the Apple NativeAOT library-test legs (iossimulator / maccatalyst AllSubsets_NativeAOT), HostTests.CreateDefaultBuilder_RegistersEventSourceLogger fails its Assert.Contains check: the expected EventSourceLogger provider is not present among the registered logging providers under NativeAOT.

[FAIL] Microsoft.Extensions.Hosting.Tests.HostTests.CreateDefaultBuilder_RegistersEventSourceLogger
Assert.Contains() Failure: Filter not matched in collection

The harness runs and this individual test fails, so it is distinct from the harness-startup crash tracked by #130219 (mono_ios_set_summary MarshalDirectiveException on the tvos device leg). NativeAOT library tests on Apple mobile were newly enabled by #125437 (merged 2026-07-02).

Observed on source build 1494308 (State=Failed) and again on follow-up build 1494829; reproduces across the iossimulator and maccatalyst NativeAOT legs.

Related: #130219

Error Message

{
  "ErrorMessage": [
    "[FAIL] Microsoft.Extensions.Hosting.Tests.HostTests.CreateDefaultBuilder_RegistersEventSourceLogger",
    "Assert.Contains() Failure: Filter not matched in collection"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • dotnet.github.io

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "dotnet.github.io"

See Network Configuration for more information.

Note

🔒 Integrity filter blocked 28 items

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

  • #5158 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5984 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #7096 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5318 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #44158 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5101 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #129876 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #88361 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #129876 issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #130227 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #130105 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #129960 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #129959 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #70306 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #126819 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #123929 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • ... and 12 more items

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

Report

Build Repository Test Pull Request
1496784 dotnet/runtime Microsoft.Extensions.Hosting.Unit.Tests.WorkItemExecution #130292

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

    Fields

    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