Skip to content

azure-pipelines: install libyang3 instead of libyang1#377

Open
bhouse-nexthop wants to merge 1 commit into
sonic-net:masterfrom
bhouse-nexthop:bhouse.libyang3-debs
Open

azure-pipelines: install libyang3 instead of libyang1#377
bhouse-nexthop wants to merge 1 commit into
sonic-net:masterfrom
bhouse-nexthop:bhouse.libyang3-debs

Conversation

@bhouse-nexthop

@bhouse-nexthop bhouse-nexthop commented May 31, 2026

Copy link
Copy Markdown

- What I did

Updated azure-pipelines.yml to 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-buildimage now builds only libyang3, so the libyang_1.0.73_amd64.deb token in the brace-expanded dpkg -i {...} list was replaced with the versionless glob libyang3_*.deb (consistent with the existing libpcre3_*.deb / libnl-*_*.deb globs 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-buildimage master; a re-grep shows the only libyang reference is now libyang3_*.deb.

- Description for the changelog

azure-pipelines: install libyang3 instead of libyang1.

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>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@rookie-who

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 377 in repo sonic-net/sonic-snmpagent

@rookie-who rookie-who left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — straightforward libyang1 → libyang3 deb swap.

@vaibhavhd

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@vaibhavhd

Copy link
Copy Markdown

@bhouse-nexthop please check CI failures here and on some of the other CI PRs. This looks like some sequencing issue?

Setting up libyang3:amd64 (3.12.2-1) ...
dpkg: dependency problems prevent configuration of libswsscommon:
 libswsscommon depends on libyang; however:
  Package libyang is not installed.

dpkg: error processing package libswsscommon (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-swsscommon:
 python3-swsscommon depends on libswsscommon (>= 1.0.0); however:
  Package libswsscommon is not configured yet.

dpkg: error processing package python3-swsscommon (--install):

@bhouse-nexthop

Copy link
Copy Markdown
Author

/azpw run

@mssonicbld

Copy link
Copy Markdown
Collaborator

⚠️ Notice: /azpw run only runs failed jobs now. If you want to trigger a whole pipline run, please rebase your branch or close and reopen the PR.
💡 Tip: You can also use /azpw retry to retry failed jobs directly.

Retrying failed(or canceled) jobs...

@mssonicbld

Copy link
Copy Markdown
Collaborator

Retrying failed(or canceled) stages in build 1129406:

✅Stage Build:

  • Job build: retried.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants