Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link

Description

@github-actions
Issue body 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
1502636 dotnet/runtime Microsoft.Extensions.Hosting.Unit.Tests.WorkItemExecution
1501158 dotnet/runtime Microsoft.Extensions.Hosting.Unit.Tests.WorkItemExecution #130402
1500869 dotnet/runtime Microsoft.Extensions.Hosting.Unit.Tests.WorkItemExecution #130340
1499654 dotnet/runtime Microsoft.Extensions.Hosting.Tests.HostTests.CreateDefaultBuilder_RegistersEventSourceLogger #130328
1500658 dotnet/runtime Microsoft.Extensions.Hosting.Unit.Tests.WorkItemExecution
1500276 dotnet/runtime Microsoft.Extensions.Hosting.Unit.Tests.WorkItemExecution #130269
1499832 dotnet/runtime Microsoft.Extensions.Hosting.Unit.Tests.WorkItemExecution #130341
1499581 dotnet/runtime Microsoft.Extensions.Hosting.Unit.Tests.WorkItemExecution #130360
1496784 dotnet/runtime Microsoft.Extensions.Hosting.Tests.HostTests.CreateDefaultBuilder_RegistersEventSourceLogger #130292

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 9
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.