Skip to content

[Known Build Error] ASP.NET Core formatter fixture bootstrap fails on native sources and reference pack #57034

Open

Description

@dtivel

Build Information

Pull request: #57022
Build: 1673312
Affected job: Dotnet-Format Integration Tests: aspnetcore.

The external ASP.NET Core formatter fixture fails during bootstrap/restore:

  • Preparation log: missing GoogleTest/GoogleMock native sources (C1083) and an unresolved Microsoft.AspNetCore.App.Ref package (NU1102).
  • Formatting task log: the missing GoogleTest/GoogleMock sources recur when the verifier invokes the fixture bootstrap again.

Failure

The compiler cannot open gmock-all.cc and gtest-all.cc under src\submodules\googletest. The preparation log also reports:

error NU1102: Unable to find package Microsoft.AspNetCore.App.Ref with version ...

This issue tracks the fixture's setup failures together; it does not assume that the missing native sources and unresolved reference pack have a single underlying cause.

The fixture checkout fetches/checks out the configured commit but does not initialize submodules. The verifier then invokes the fixture's build script with -restore. The pipeline selects the ASP.NET Core fixture.

Failure to initialize the fixture's submodules is consistent with the missing native files. The logs show that the requested reference pack cannot be resolved from the configured sources, but do not establish whether the correct fix is a fixture update, package preparation, or feed configuration.

These are external-fixture setup failures, separate from the ILCompiler audit failure in #57002 and its downstream missing formatter output. The closed formatter-output issue #56982 explicitly left external-repository setup failures unresolved.

Suggested fix: use a supported, reproducibly restorable fixture; initialize its required submodules and arrange for its required reference pack before workspace formatting. Propagate bootstrap failures rather than continuing to formatting.

Error Message

The alternatives match either specific ASP.NET Core fixture setup diagnostic. The signature contains no SDK/package version, machine path, or agent identifier. Automatic retries are disabled.

{
  "ErrorPattern": "error (?:C1083: Cannot open source file: .*[/\\\\]submodules[/\\\\]googletest[/\\\\].*(?:gmock-all|gtest-all)\\.cc|NU1102: Unable to find package Microsoft\\.AspNetCore\\.App\\.Ref with version.*\\[.*[/\\\\]aspnetcore[/\\\\])",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1673312
Error message validated: [error (?:C1083: Cannot open source file: .*[/\\]submodules[/\\]googletest[/\\].*(?:gmock-all|gtest-all)\.cc|NU1102: Unable to find package Microsoft\.AspNetCore\.App\.Ref with version.*\[.*[/\\]aspnetcore[/\\])]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/10/2026 7:25:44 PM UTC

Report

Build Repository Step Name Console log Pull Request
1686441 dotnet/sdk 🟣 Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57180
1686180 dotnet/sdk 🟣 Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57180
1686072 dotnet/sdk 🟣 Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57176
1680830 dotnet/sdk 🟣 Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57019
3134732 dotnet-sdk Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #67569
1678232 dotnet/sdk 🟣 Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #56869
1675542 dotnet/sdk 🟣 Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57067
1674159 dotnet/sdk 🟣 Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57049
1674128 dotnet/sdk Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57047
1674127 dotnet/sdk Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57046
1673312 dotnet/sdk 🟣 Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #57022

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 3 11

Activity

  1. locked and limited conversation to collaborators on Nov 10, 2026
  2. unlocked this conversation on Nov 10, 2026
  3. github-actions commented on Nov 10, 2026

    @github-actions
    Contributor

    🎯 Agentic Issue Triage

    Triage Assessment:

    • 🏷️ Labels: Area-Format Bug cookie Issue Monster Loves Cookies! Known Build Error
    • 💻 Assignment: @JoeRobich | @dotnet/roslyn-ide
    • 🟨 Confidence: medium - The dotnet-format integration fixture maps to Area-Format, but Area-Infrastructure is also plausible for CI setup failures.

    ➡️ Summary: The dotnet-format integration job for the ASP.NET Core fixture fails because googletest submodules are missing and Microsoft.AspNetCore.App.Ref cannot be restored. Initialize submodules in the verifier and fix reference pack resolution, failing early on bootstrap errors.

    Generated by 🏷️ Issue Triage for #57034 · copilot · auto · ~13 AIC · ⌖ ~1 AIC · ⊞ 14.6K · ◷

  4. added
    cookie
    on Nov 10, 2026
  5. added
    untriaged
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-FormatBugKnown Build Errorcookieuntriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions