[azp] Only grab libyang v1 libs for AZP jobs#1031
Merged
qiluo-msft merged 3 commits intosonic-net:masterfrom Jul 8, 2025
Merged
[azp] Only grab libyang v1 libs for AZP jobs#1031qiluo-msft merged 3 commits intosonic-net:masterfrom
qiluo-msft merged 3 commits intosonic-net:masterfrom
Conversation
Signed-off-by: Lawrence Lee <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Lawrence Lee <[email protected]>
Signed-off-by: Lawrence Lee <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
qiluo-msft
approved these changes
Jun 30, 2025
saiarcot895
approved these changes
Jun 30, 2025
Contributor
|
Since this PR only fix build steps, the vstest failure is not relevant, and tracked by below items: This PR is needed in the DVS image to fix the test issue: [trim]: Add Packet Trimming Asym DSCP to VS lib by nazariig · Pull Request #1610 · sonic-net/sonic-sairedis However, the sairedis submodule update was blocked until a few minutes ago ([submodule][master] Update submodule sonic-sairedis to the latest HEAD automatically by mssonicbld · Pull Request #23215 · sonic-net/sonic-buildimage). I will merge this PR. |
Collaborator
|
Cherry-pick PR to msft-202506: Azure/sonic-swss-common.msft#46 |
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.
Limit grabbed libyang libraries to only v1.
Upgrading to libyang v3 (sonic-net/sonic-buildimage#21679) is causing the swss-common pipeline build to fail. The pipeline assumes that any package starting with
libyang_orlibyang-is a libyang v1 package and tries to install it. However, the dev header package for libyang v3 starts withlibyang-, so the pipeline tries to download/install it as well, which causes the build to fail since it depends on the base libyang v3 package which is not grabbed because it starts withlibyang3.