Skip to content

[CI] macios-dependencies feed denies ReadPackages across Azure and GitHub CI #26503

Closed

Description

@dalexsoto

Failure signature

CI restores that access the xamarin/public/macios-dependencies Azure Artifacts feed fail with an authorization error:

403 Forbidden: pipeline identity lacks ReadPackages
NU1301/NU1900: unable to load or retrieve packages from
https://pkgs.dev.azure.com/xamarin/public/_packaging/macios-dependencies/nuget/v3/index.json

The stable signature is feed403-readpackages. Request/activity IDs and individual package names vary and are not part of the signature.

Confirmed occurrences

PR #26424 — 05df6af71b28e59bb329e9dec07f68a77738ad73

Attempt 1:

  • Package build 15154006: Build packages / Build failed during workload restore.
  • API-diff build 15154011: prerequisite build failed; API comparison was skipped.
  • Simulator build 15154008: 23 setup/build jobs failed directly during tool or workload restore. Later, dotnettests_macos and dotnettests_ios reached tests but their nested builds failed with NU1900 against the same feed.

After the service index briefly returned HTTP 200, five stage retries were accepted at approximately 2026-08-31T19:40Z:

  • Build 15154006 build_packages attempt 2: failed with the same ReadPackages signature.
  • Build 15154011 generate_api_diff attempt 2: failed with the same signature; comparison remained skipped and change-detection.zip was absent.
  • Build 15154008 build_macos_tests attempt 2: failed with the same signature.
  • Build 15154008 full windows_integration attempt 2: failed during dependency installation before the test phase.
  • Build 15154008 simulator_tests attempt 2: 16 jobs have terminal same-signature failures; four jobs remained active at the latest observation.

PR #26502 — 74447db65c7b30f856b7309ae4d90778ee79fb47

Total: 49 confirmed ledger records across 2 distinct monitored PRs: 46 root job/task occurrences and 3 nested NUnit test records. First observed around 2026-08-31T17:01Z; latest evidence observed at 2026-08-31T20:07Z.

Classification and impact

CI infrastructure / feed authorization failure. The same feed permission error reproduces across unrelated heads, Azure DevOps and GitHub Actions, macOS/Linux/Windows setup paths, package builds, API-diff prerequisites, and test-local restores.

It blocks package production, API-diff evaluation, test setup, Windows remote tests, and autoformat. Successful access to only the service-index URL is not sufficient evidence of recovery because package-resource and tool-restore requests can still return 403.

API-diff guardrail

No API comparison completed in either #26424 API-diff attempt. The prerequisite build failed before baseline resolution or current-PR/stable comparison, and change-detection.zip was never produced. Missing-artifact errors are downstream cascades, not API compatibility findings; no binding or suppression-file change is indicated.

Retry accounting and outcomes

PR #26424 currently uses 5 PR-lifetime / 5 current-head retry requests. Four retried scopes have already reproduced the failure; the simulator retry remains active with multiple terminal failures. No additional retry is warranted while package-resource access remains unverified.

Investigation performed

Workaround

Repair the feed ACL or pipeline authentication and validate an actual package-resource/flat-container read using the same CI identity. Only then rerun affected stages. Any Windows retry must rerun the entire Windows Integration Tests stage.

Azure logs and artifacts are retention-limited.

Activity

  1. added
    ci-postmortem
    on Aug 31, 2026
  2. dalexsoto commented on Aug 31, 2026

    @dalexsoto
    MemberAuthor

    Final retry outcome for PR #26424 @ 05df6af71b28e59bb329e9dec07f68a77738ad73:

    • Attempt 2 of build_packages (15154006), generate_api_diff (15154011), build_macos_tests (15154008), and the full windows_integration stage (15154008) all reproduced the exact 403 ReadPackages signature. API comparison and Windows tests never ran.
    • The simulator_tests attempt-2 stage recorded 16 terminal jobs with the same signature, then build 15154008 was auto-canceled at 2026-08-31T21:03:22Z after replacement head f405da213809a39a7ae21ec5391237633659b77c superseded it. Azure metadata has pr.autoCancel=true.
    • Retry usage remains 5 PR-lifetime / 5 for the superseded head; the replacement head starts at 0 per-head retries. No further retry was submitted.

    The canonical count remains 49 confirmed records across 2 distinct monitored PRs; the cancellation adds a retry outcome, not another failure occurrence. Fresh CI is running on #26424 and on #26502 replacement head fbadeb7359417a45360cefd759d49962dda1ee02, which will establish whether package access has recovered.

    Issue-specific checklist: none; the issue body has no Additional info to collect section.

  3. dalexsoto commented on Aug 31, 2026

    @dalexsoto
    MemberAuthor

    Fresh-head recovery evidence for the feed403-readpackages signature:

    This is concrete evidence that package-resource access has recovered on both GitHub Actions and Azure DevOps. Simulator validation remains active on both PRs, so the issue stays open pending terminal outcomes. The canonical failure count remains 49 records across 2 distinct monitored PRs; this update records recovery, not a new failure occurrence.

    Issue-specific checklist: none; the issue body has no Additional info to collect section.

  4. dalexsoto commented on Sep 1, 2026

    @dalexsoto
    MemberAuthor

    Terminal recovery outcome for feed403-readpackages:

    • PR [xcode27.0] Merge main into xcode27.0 #26502 @ fbadeb7359417a45360cefd759d49962dda1ee02 completed with 52 successful and 3 skipped checks, including Autoformat, package restore/build, API diff, and the full simulator pipeline. It merged at 2026-09-01T00:05:40Z.
    • PR [net11.0] Merge main into net11.0. #26424 @ f405da213809a39a7ae21ec5391237633659b77c completed all package-resource paths without the feed signature: package/API builds and 48 simulator contexts succeeded. Its remaining failures are separately diagnosed test/source issues, not feed authorization.

    No 403 ReadPackages, NU1301, or feed-driven NU1900 occurrence appeared on either replacement head. The canonical count remains 49 failure records across 2 distinct monitored PRs. The issue remains open for repository owners to close according to policy; no additional retry was submitted.

    Issue-specific checklist: none; the issue body has no Additional info to collect section.

  5. rolfbjarne commented on Sep 1, 2026

    @rolfbjarne
    Member

    I think this was a temporary AzDo hiccup.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-postmortemcopilot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions