Skip to content

[9.0] SDK Diff tests failing — az devops extension pip install failure #5572

@ellahathaway

Description

@ellahathaway

Summary

The source-build-sdk-diff-tests pipeline (definition 1231) is failing on internal/release/9.0.1xx due to a pip failure when trying to install the azure-devops Azure CLI extension. All 6 legs (Fedora43, Ubuntu2404Arm64, AlmaLinux8, CentOSStream9, Alpine323, Ubuntu2404) fail identically in the "Find associated builds" step.

Build Link

https://dev.azure.com/dnceng/internal/_build/results?buildId=2964554&view=results

Error Output

WARNING: The command requires the extension azure-devops. It will be installed first.
ERROR: An error occurred. Pip failed with status code 1. Use --debug for more information.
Could not find a completed dotnet-dotnet build for branch 'refs/heads/internal/release/9.0.1xx'

Analysis

The "Find associated builds" step uses the az CLI to query for a completed upstream dotnet-dotnet build. The azure-devops extension is not pre-installed on the agent, and the dynamic install via pip fails with exit code 1. Because the extension never installs, the query never executes, and the step reports no build found.

This has been failing since at least April 30, 2026 (build 2964554). The pipeline has not had a successful run on this branch since then.

Suggested Fix

  • Pre-install the azure-devops az CLI extension in the pipeline YAML or agent image, rather than relying on dynamic install.
  • Alternatively, investigate why pip fails on these agents (possible network/proxy issue or Python environment mismatch).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testingImprovements in CI and testingops-monitorIssues created/handled by the source build monitor role

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions