AZP: Dry-run install of built packages to catch packaging regressions - v1.21.x#11404
Merged
yosefe merged 2 commits intoopenucx:v1.21.xfrom May 5, 2026
Merged
Conversation
Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
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>
25f0c72 to
8a22823
Compare
Member
|
/azp run UCX PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yosefe
approved these changes
May 5, 2026
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?
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?
apt-get install -s -y ./*.debrpm -Uvh --test rpm-dist/*/*.rpm(skipped on euleros/kylin where the rpm db isn't readable as non-root)