fix: Add Azurelinx 4.0 Package Dependencies - #4651
Open
Madhur Aggarwal (MadhurAggarwal) wants to merge 1 commit into
Open
fix: Add Azurelinx 4.0 Package Dependencies#4651Madhur Aggarwal (MadhurAggarwal) wants to merge 1 commit into
Madhur Aggarwal (MadhurAggarwal) wants to merge 1 commit into
Conversation
Madhur Aggarwal (MadhurAggarwal)
requested review from
LiliDeng,
Johnson (johnsongeorge-w),
paxue and
Shekhar Sorot ( MSFT ) (shekharsorot)
as code owners
August 12, 2026 09:06
Copilot started reviewing on behalf of
Madhur Aggarwal (MadhurAggarwal)
August 12, 2026 09:06
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates package installation logic across multiple tools, features, and transformers to support Azure Linux (CBL-Mariner) 4.0, accounting for removed/renamed packages (e.g., no build-essential, zlib-devel → zlib-ng-compat-devel, kernel-tools → perf, Docker CLI packaging changes).
Changes:
- Add Azure Linux 4.0–specific dependency sets where
build-essentialis unavailable (installinggcc,make, and related -devel packages explicitly). - Handle package renames/splits on Azure Linux 4.0 (e.g.,
perf,zlib-ng-compat-devel, Docker CLI dependency behavior). - Update multiple test/tool dependency installers to branch on
CBLMarinerversion>= 4.0.0.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| lisa/transformers/kernel_source_installer.py | Adjust Mariner build-tool dependencies for 4.0 where build-essential isn’t available. |
| lisa/tools/sockperf.py | Update Mariner dependency installation for 4.0 by adding explicit header/-devel packages. |
| lisa/tools/perf.py | Install perf directly on Azure Linux 4.0 instead of kernel-tools. |
| lisa/tools/ntttcp.py | Switch Mariner zlib devel dependency based on 4.0 rename (zlib-ng-compat-devel). |
| lisa/tools/gpu_drivers.py | Replace build-essential with explicit compiler + libc-devel deps on Mariner 4.0. |
| lisa/tools/fio.py | Handle Mariner 4.0 zlib rename and add make where build-essential was used. |
| lisa/tools/docker.py | Adjust Mariner 4.0 Docker install to rely on moby-engine pulling CLI dependencies. |
| lisa/tools/cargo.py | Install explicit build toolchain packages on Mariner 4.0 instead of build-essential. |
| lisa/microsoft/testsuites/xfstests/xfstests.py | Add Mariner 4.0 dependency list and install path using repo-availability filtering. |
| lisa/microsoft/testsuites/ltp/ltp.py | Update Mariner dependency list for 4.0 (incl. pkgconfig/zlib changes). |
| lisa/microsoft/testsuites/kselftest/kselftest.py | Replace build-essential usage on Mariner 4.0 with explicit gcc/make. |
| lisa/features/infiniband.py | Update Mariner dependency installation for 4.0 to avoid build-essential. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Collaborator
|
Madhur Aggarwal (@MadhurAggarwal) please resolve the conflicts and provide the results against both mariner 3 and 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for installing AzureLinux 4.0 Package Dependencies in multiple files. There are some missing packages like build-essential, renamed packages like zlib-devel and some new packages like perf. This PR handles all these cases by installing the correct dependencies for 4.0 for each test suite.
Related Issue
Type of Change
Checklist
Test Validation
Key Test Cases:
Impacted LISA Features:
Tested Azure Marketplace Images:
Test Results