Skip to content

azure-pipelines: migrate libyang1 deb install to libyang3#341

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

azure-pipelines: migrate libyang1 deb install to libyang3#341
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

Description of PR

Summary:
sonic-buildimage no longer builds the legacy libyang1 deb (libyang_1.0.73); it now builds only libyang3. Updated the three DownloadPipelineArtifact filter patterns in azure-pipelines.yml from target/debs/bookworm/libyang_*.deb to target/debs/bookworm/libyang3_*.deb so CI pulls the libyang3 deb. The install steps use a generic dpkg -i $(find ./download -name *.deb), so no install-command change was needed.

Part of sonic-net/sonic-buildimage#22385.

Fixes # (N/A — tracked under sonic-net/sonic-buildimage#22385)

Type of change

  • Bug fix
  • New feature
  • Doc/Design
  • Unit test

Approach

What is the motivation for this PR?

Once libyang1 is removed from sonic-buildimage, the old libyang_*.deb download filter matches nothing and CI fails to install libyang.

Work item tracking
  • Microsoft ADO (number only):

How did you do it?

Replaced libyang_*.deb with libyang3_*.deb in all three artifact-download filters (amd64 / arm64 / armhf common-lib).

How did you verify/test it?

Re-grepped for libyang1 references — none remain except the CodeQL/LGTM distro-apt libyang-dev entries (not sourced from sonic-buildimage artifacts), which were intentionally left unchanged.

Any platform specific information?

None.

Documentation

No documentation changes required.

sonic-buildimage no longer builds the libyang1 debs (libyang_1.0.73,
libyang-cpp, python3-yang); the common_libs pipeline now produces only
libyang3. Update the common-lib artifact download patterns to fetch the
libyang3 deb instead of the removed libyang_*.deb, using a versionless
glob. The install step uses a generic find for *.deb and needs no change.

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 341 in repo sonic-net/sonic-linkmgrd

@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 — download patterns correctly updated across all three arch targets.

@vaibhavhd

Copy link
Copy Markdown

/azp run

@azure-pipelines

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

@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

No failed(or canceled) stages or jobs found in the most recent build 1129408.

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