Skip to content

Microsoft.NET.Build.Containers.IntegrationTests RegistryTests.CanReadManifestFromRegistry: flaky failure - CONTAINER1014 Manifest pull failed (external registry BadRequest) #55495

Closed as not planned

Description

@MichaelSimons

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1528841
Build error leg or test failing: Microsoft.NET.Build.Containers.IntegrationTests work item Microsoft.NET.Build.Containers.IntegrationTests.dll — test RegistryTests.CanReadManifestFromRegistry
Pull request: #55461

Description

Microsoft.NET.Build.Containers.IntegrationTests.RegistryTests.CanReadManifestFromRegistry("quay.io/centos/centos") intermittently fails when the external registry / CDN returns a transient error while pulling a manifest blob. In the observed occurrence, quay.io's S3/Akamai CDN returned HTTP status code: BadRequest for a presigned blob URL, and the test threw:

Microsoft.NET.Build.Containers.ContainerHttpException: Containerize: error CONTAINER004: CONTAINER1014: Manifest pull failed.
HTTP status code: BadRequest
   at Microsoft.NET.Build.Containers.DefaultBlobOperations.LogAndThrowContainerHttpException[T](...)
   at Microsoft.NET.Build.Containers.IntegrationTests.RegistryTests.CanReadManifestFromRegistry(String fullyQualifiedContainerName) in /_/test/Microsoft.NET.Build.Containers.IntegrationTests/RegistryTests.cs:41

The work item exits with code 2 (1 failed / 129 passed / 41 skipped) and fails the Monitor Helix Jobs step, turning the build red. Because it depends on a live external registry, the failure is transient and passes on retry, so it is tracked with BuildRetry: true.

The failure is unrelated to the PR where it was observed (#55461 "Fix dotnet publish -o . excluding all source files (CS5001)"), which does not touch containers.

Related but distinct: #49502 ("Containers integration tests are flaky when the network fails to load the registry") was auto-closed as stale (0 hits) and tracked a different error signature (The registry was not loaded after N retries, a local test-registry startup failure). This issue tracks the CONTAINER1014: Manifest pull failed external-registry read failure specifically.

Error Message

{
  "ErrorMessage": [
    "CanReadManifestFromRegistry",
    "CONTAINER1014: Manifest pull failed"
  ],
  "BuildRetry": true,
  "ExcludeConsoleLog": false
}

The pattern requires both the specific test name CanReadManifestFromRegistry and the CONTAINER1014: Manifest pull failed error code, so it identifies this external-registry read flake without matching unrelated container build/push failures or generic exit-code-2 test failures. ExcludeConsoleLog is false because the exception text appears only in the Helix work-item console log.

Example occurrence

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1528841
Error message validated: [CanReadManifestFromRegistry CONTAINER1014: Manifest pull failed]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/28/2026 1:48:48 PM UTC

Report

Summary

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

Activity

  1. added
    untriaged
    on Jul 28, 2026
  2. locked and limited conversation to collaborators on Jul 28, 2026
  3. unlocked this conversation on Jul 28, 2026
  4. added
    Area-Containers
    and removed
    untriaged
    on Jul 28, 2026
  5. github-actions commented on Jul 28, 2026

    @github-actions
    Contributor

    🎯 Agentic Issue Triage

    Triage Assessment:

    • 🏷️ Labels: Area-Containers Related to dotnet SDK containers functionality Bug Test Debt
    • 💻 Assignment: @baronfel | @dotnet/sdk-container-builds-maintainers
    • 🟩 Confidence: high - Issue directly identifies the container integration test area and the CODEOWNERS section is unambiguous.

    ➡️ Summary: The CanReadManifestFromRegistry integration test intermittently fails with CONTAINER1014 due to transient external registry CDN errors. Consider adding retry logic within the test or marking it resilient to transient network failures.

    Generated by 🏷️ Issue Triage for #55495 · 29.8 AIC · ⌖ 3.91 AIC · ⊞ 10K · ◷

  6. added theissue type on Aug 12, 2026
  7. github-actions commented on Aug 27, 2026

    @github-actions
    Contributor

    This Known Build Error has had 0 hits in the past month and has been labeled stale. It will be auto-closed in 7 days if the hit count remains at 0. Add the keep-open label to prevent auto-closure.

  8. github-actions commented on Sep 3, 2026

    @github-actions
    Contributor

    Closed automatically — this Known Build Error has had 0 hits for over a month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-ContainersKnown Build ErrorTest Debtstale

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions