Skip to content

AZP: Dry-run install of built packages to catch packaging regressions - v1.21.x#11404

Merged
yosefe merged 2 commits intoopenucx:v1.21.xfrom
Alexey-Rivkin:build_check_v1.21.x
May 5, 2026
Merged

AZP: Dry-run install of built packages to catch packaging regressions - v1.21.x#11404
yosefe merged 2 commits intoopenucx:v1.21.xfrom
Alexey-Rivkin:build_check_v1.21.x

Conversation

@Alexey-Rivkin
Copy link
Copy Markdown
Contributor

@Alexey-Rivkin Alexey-Rivkin commented May 4, 2026

What?

Porting #11382 to v1.21.x.
Run install dry-run on freshly built DEB/RPM in build_release_pkg (same container).

Why?

The Build stage produced packages but never validated they could be installed. We hit a regression where artifacts failed to install on the same OS they were built on - this catches it in PR CI.

How?

  • DEB: apt-get install -s -y ./*.deb
  • RPM: rpm -Uvh --test rpm-dist/*/*.rpm (skipped on euleros/kylin where the rpm db isn't readable as non-root)

Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
@Alexey-Rivkin Alexey-Rivkin changed the base branch from master to v1.21.x May 4, 2026 08:18
@Alexey-Rivkin Alexey-Rivkin requested a review from ofirfarjun7 May 4, 2026 08:19
On euleros2sp12 and kylin10sp3 the system rpm db at /var/lib/rpm is
locked down for non-root, so 'rpm -Uvh --test' fails when opening the
db before it can validate the package. Probe with 'rpm -q rpm' and
skip the install test when the db is unreadable, so the check still
runs everywhere it can without hard-failing the build on those two
distros. Also mark the task as SucceededWithIssues so the skip
surfaces as a yellow row in the build summary instead of hiding
behind a green pass.

Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
@Alexey-Rivkin Alexey-Rivkin force-pushed the build_check_v1.21.x branch from 25f0c72 to 8a22823 Compare May 4, 2026 08:25
@yosefe
Copy link
Copy Markdown
Member

yosefe commented May 4, 2026

/azp run UCX PR

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yosefe yosefe merged commit d395e17 into openucx:v1.21.x May 5, 2026
152 checks passed
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.

2 participants