azure-pipelines: install libyang3 instead of libyang1#377
Open
bhouse-nexthop wants to merge 1 commit into
Open
azure-pipelines: install libyang3 instead of libyang1#377bhouse-nexthop wants to merge 1 commit into
bhouse-nexthop wants to merge 1 commit into
Conversation
sonic-buildimage no longer builds the libyang1 debs (libyang_1.0.73, libyang-cpp, python3-yang); it now builds only libyang3. Switch the CI dpkg install to the libyang3 deb using a versionless glob. Part of sonic-net/sonic-buildimage#22385. Signed-off-by: Brad House <bhouse@nexthop.ai>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This was referenced May 31, 2026
|
/azp run |
|
Commenter does not have sufficient privileges for PR 377 in repo sonic-net/sonic-snmpagent |
rookie-who
approved these changes
Jun 3, 2026
rookie-who
left a comment
There was a problem hiding this comment.
LGTM — straightforward libyang1 → libyang3 deb swap.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
vaibhavhd
approved these changes
Jun 3, 2026
|
@bhouse-nexthop please check CI failures here and on some of the other CI PRs. This looks like some sequencing issue? |
Author
|
/azpw run |
Collaborator
|
Retrying failed(or canceled) jobs... |
Collaborator
|
Retrying failed(or canceled) stages in build 1129406: ✅Stage Build:
|
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.
- What I did
Updated
azure-pipelines.ymlto install the libyang3 deb (libyang3_*.deb) instead of the removed libyang1 deb (libyang_1.0.73_amd64.deb) in the dependency install step.- How I did it
sonic-buildimagenow builds only libyang3, so thelibyang_1.0.73_amd64.debtoken in the brace-expandeddpkg -i {...}list was replaced with the versionless globlibyang3_*.deb(consistent with the existinglibpcre3_*.deb/libnl-*_*.debglobs in the same list). Part of sonic-net/sonic-buildimage#22385.- How to verify it
The CI dependency install succeeds against the libyang3 debs produced by current
sonic-buildimagemaster; a re-grep shows the only libyang reference is nowlibyang3_*.deb.- Description for the changelog
azure-pipelines: install libyang3 instead of libyang1.