[Core] Fix #33282: az: Support Ubuntu 26.04 LTS (resolute) in deb install script - #33970
Conversation
…deb install script * Initial plan * [Core] Fix Azure#33282: `az`: Support Ubuntu 26.04 LTS (resolute) in deb install script Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com> * Cache dists response to avoid redundant curl calls in Ubuntu fallback loop Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>
|
Hi Aditya Pujara (@a0x1ab), |
Live test skipped⏭️ Skipping the live test for this revision because no changed test file was found ( The live-test pipeline runs only the test files a PR changes, so there is nothing to execute for this commit. A skipped live test is not a passing test result. The Agent review separately checks whether the affected command module includes focused regression tests or updated recordings. If a test file is changed in a later commit, the live test will run automatically. |
There was a problem hiding this comment.
Yu Chen (@jsntcy), ### Upstream CI
Azure.azure-cli
- Result: failure
- Failure details:
- Integration Test against Profiles Python312 (Not PR-related)
- Evidence: The job running on agent pool-ubuntu-2204 9 ran longer than the maximum time of 20 minutes.
- This is a pipeline agent timeout unrelated to the PR's source changes (a shell-script fallback for Ubuntu LTS codename detection). No source change is requested for this failure; recommend rerunning/escalating the timed-out job to the pipeline owner.
- Integration Test against Profiles Python312 (Not PR-related)
Test validation
- Live test: Skipped: PR changes no test files (tests/**/test_*.py)
- Regression coverage: Not applicable to the changed files.
No review-skill findings.
Risk assessment
1/100 · Low · Low confidence
No additional owning-squad review signal was detected. Main signals: small, isolated diff.
|
Core |
There was a problem hiding this comment.
Upstream CI
Azure.azure-cli
- Result: failure
- Failure details:
- Integration Test against Profiles Python312 (Not PR-related)
- Evidence: The job running on agent pool-ubuntu-2204 9 ran longer than the maximum time of 20 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134
- Next action: Re-run the timed-out job. If it times out again at the same setup or checkout step, escalate to the pipeline owner instead of changing unrelated PR source.
- Verify: Re-run
Integration Test against Profiles Python312and confirm the job completes within its limit.
- Integration Test against Profiles Python312 (Not PR-related)
Test validation
- Live test: Skipped: no runnable changed test files were found.
- Regression coverage: Not applicable to the changed files.
Summary
The single CI failure is a job-level timeout on Integration Test against Profiles Python312, unrelated to this PR's change (a two-line addition to the Debian install script's supported-release list plus a matching test-script tweak). No source change is requested for this failure; recommend rerunning the timed-out job, and escalating to the pipeline owner if it continues to time out.
No review-skill findings were confirmed: the diff is scoped exactly to scripts/release/debian/deb_install.sh and scripts/release/debian/test_deb_install.sh, consistent with the PR title and description.
Risk assessment
1/100 · Low · Low confidence
No additional owning-squad review signal was detected. Main signals: small, isolated diff.
|
🔔 Routing this PR to @Azure/act-platform-engineering-squad. |
There was a problem hiding this comment.
Upstream CI
Azure.azure-cli
- Result: failure
- Failure details:
- Integration Test against Profiles Python312 (Not PR-related)
- Evidence: The job running on agent pool-ubuntu-2204 9 ran longer than the maximum time of 20 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134
- Next action: Re-run the timed-out job. If it times out again at the same setup or checkout step, escalate to the pipeline owner instead of changing unrelated PR source.
- Verify: Re-run
Integration Test against Profiles Python312and confirm the job completes within its limit.
- Integration Test against Profiles Python312 (Not PR-related)
Test validation
- Live test: Skipped: no runnable changed test files were found.
- Regression coverage: Not applicable to the changed files.
No review-skill findings were identified for this change.
The only failing check is a job timeout (Integration Test against Profiles Python312 exceeded its 20-minute limit) unrelated to the two shell script files this PR touches. No source change is requested for this failure; recommend re-running or escalating the timed-out job to the pipeline owner.
Risk assessment
1/100 · Low · Low confidence
The Low rating reflects the detected change scope with no elevated security, reliability, customer, operational, dependency, sovereign-cloud, generated-output, or cross-component signal.
- Change scope: 2 changed files, 17 changed lines (
+14/-3), including 0 production files. - Affected components: No production component was identified.
- Risk drivers: No elevated risk signal was detected.
- Regression evidence: No production-code regression-test signal applies.
- Confidence: Low because no production changed-line evidence was available.
- Required review: No additional owning-squad review signal was detected.
🤖 PR Validation — ️✔️ All clear
Description
Fixes #33282.
deb_install.shhardcodedCLI_REPO="jammy"as the Ubuntu fallback, so Ubuntu 26.04 (resolute) — and any future Ubuntu release without its own package suite — silently installed from a 22.04 repo instead of the most recent supported LTS.Changes
scripts/release/debian/deb_install.shcurlresponse frompackages.microsoft.com/repos/azure-cli/dists/once intoAZURE_CLI_DISTS(avoids redundant network calls)CLI_REPO="jammy"with a loop overnoble jammy focal(newest-first); picks the first codename present in the repo; exits with the existing error if none matchscripts/release/debian/test_deb_install.shubuntu:nobleto thebase_imagestest arrayTesting Guide
Run
deb_install.shon an Ubuntu 26.04 host (or simulate by settinglsb_release -csto return an unknown codename on an Ubuntu distro). The script should resolve tonoble(orjammy/focalifnobleis absent from the repo) rather than silently usingjammy.History Notes
[Core]
az: Support Ubuntu 26.04 LTS (resolute) in deb install script — fall back to newest available LTS instead of hardcodedjammy