Repository navigation
Description
Android framework version
Other: CI tool installation, before Android tests run. Observed on a main-targeting PR; no application framework is implicated.
Affected platform version
Public dotnet-android Azure DevOps pipeline, dnceng-public / public, definition 333. Stage Package Tests (smoke_tests), job macOS > Tests > APKs 1, attempt 1, task install apkdiff 0.0.17 (DotNetCoreCLI@2, task version 2.281.1). Hosted-agent display name: Azure Pipelines 144 (not a persistent machine identity).
Description
The pinned apkdiff tool could not be installed because DNS resolution of pkgs.dev.azure.com:443 failed on all three observed NuGet request attempts. This fails the lane during setup, before its tests run; it is not an APK comparison assertion or an apkdiff execution timeout.
Observed in PR #13734, head cc698d901fe2b573ed4171fa8a0214d9bb6e93ff, build 1699161. The build uses refs/pull/13734/merge, merge SHA 0d80b54461abee48cfc91413b725b11655d52500.
- Failed task, full task log 871: 2026-11-25 14:02:34–14:04:12 UTC.
- Fingerprint:
azure-artifacts|pkgs.dev.azure.com|dns-nodename-nor-servname|dotnet-tool-install-apkdiff|macos. - Classification: transient-infrastructure, high confidence. At the inspected timeline snapshot, 20 other apkdiff installation tasks succeeded and this one failed. A macOS > Tests > MSBuild 2 install fetched the same package registration and installed version 0.0.17 successfully at 14:03:58 UTC, during the failing job's retries. That sibling used a different agent/pool; it is not a successful retry of the failed task.
- The PR does not change the installer template or package-source configuration. Its repository build-property changes enable memory-safety/compiler language rules; there is no evidence connecting those changes to this DNS failure.
- The logs establish name-resolution failure, not which resolver, agent networking component, or provider caused it. No package-not-found response, authentication error, or Azure Artifacts HTTP 5xx is shown.
The installer at the actual build revision uses the approved dotnet-public feed and has no task-level retry. NuGet already retried the registration request twice.
Existing tracking / fix search: searched open and closed issues and PRs for apkdiff, the exact nodename nor servname error, pkgs.dev.azure.com with DNS/installation terms, and install-dotnet-tool with retry terms; inspected the CI inventories and installer history. No exact installation-DNS tracker or fix PR was found.
- CI flakiness inventory: Nov 9-23, 2026 (follow-up to #13429) #13716 (open) records broader macOS/Azure DevOps DNS incidents. CI flakiness inventory: Nov 4-9, 2026 (follow-up to #13278) #13429 (closed/superseded) also records
pkgs.dev.azure.comDNS failures in Gradle dependency downloads. These are related infrastructure history, not this tool-installation signature. - [tests] Improve apkdiff invocation reliability #12361 is merged: it improves apkdiff invocation/lifetime diagnostics and clean installation/PATH handling, not DNS recovery.
- [ci] Fix network isolation requirements #11701 is merged, with [release/10.0.1xx] Use approved feed for .NET tools #12420 its merged release-branch backport: they select the approved feed. This occurrence already uses that feed.
- [build] Use dotnetup and standard solution build entrypoints #13430 is open: its installer change switches to
dotnetupbut retains the same package source and adds no installation retry/DNS mitigation; it is not an established fix for this signature. - [tests] Report InstallAndroidDependenciesTest network outages as inconclusive #13701 is open (draft): it handles network errors inside
InstallAndroidDependenciesTest, not the pipeline's apkdiff installation task.
Steps to Reproduce
-
Inspect the linked occurrence in build 1699161, Package Tests / macOS > Tests > APKs 1, attempt 1.
-
The pipeline invokes:
dotnet tool install apkdiff -v:diag --tool-path /Users/runner/hostedtoolcache --version 0.0.17 --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json
-
The registration request fails name resolution three times, then the process exits with code 1 and setup fails.
This is one verified occurrence of the exact signature; no deterministic local reproduction or same-job retry recovery is claimed.
Did you find any workaround?
None verified. No CI retry was requested or performed during this investigation. Same-build sibling installation success shows that the package/feed was reachable from other agents, not that retrying this failed job has been validated.
Relevant log output
2026-11-25T14:02:36.2953180Z [NuGet Manager] [Info] GET https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/registrations2-semver2/apkdiff/index.json
2026-11-25T14:03:06.3842260Z nodename nor servname provided, or not known (pkgs.dev.azure.com:443)
2026-11-25T14:03:38.7242000Z nodename nor servname provided, or not known (pkgs.dev.azure.com:443)
2026-11-25T14:04:12.9344660Z Unhandled exception: nodename nor servname provided, or not known (pkgs.dev.azure.com:443)
2026-11-25T14:04:12.9865310Z ##[error]Error: The process '/Users/runner/work/_temp/dotnet-bootstrap/dotnet' failed with exit code 1
The timeline's telemetry-publication timeout is not the root installation error. The separate CI analyzer failure (gh pr diff HTTP 406, diff over 20,000 lines) only limited automated classification and did not cause this Azure task failure. This issue makes no verdict about other lanes or the final build result.
By opening this issue I agree to follow this project's Code of Conduct.
Activity