Skip to content

fix(build): patch Scanner 2.39 image RPMs - #4278

Open
vikin91 wants to merge 3 commits into
release-2.39from
piotr/scanner-2.39-conforma-rpm-fixes
Open

vikin91 wants to merge 3 commits into
release-2.39from
piotr/scanner-2.39-conforma-rpm-fixes

Conversation

@vikin91

@vikin91 vikin91 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Description

Conforma flagged fixable Kerberos CVEs in Scanner Slim and SQLite CVEs in both Scanner DB variants. Refresh the UBI 8 base to pick up the fixed krb5-libs and json-glib builds in Scanner and Scanner Slim. Prefetch the fixed krb5-libs, sqlite-libs, and json-glib binary and source RPMs for both Scanner DB variants so the builds can install the updates offline.

Kerberos advisory · SQLite advisory · json-glib advisory

Validation

Verified the UBI RPM inventory and checked the DB lockfile against Red Hat's advisory checksums on all four build architectures. Installed the signed SQLite update offline in the pinned arm64 PostgreSQL base and verified the RPM version and postgres --version.

AI-Assisted: Codex, prepared the patch and ran local validation.

Refresh the UBI 8 base and prefetch the fixed json-glib, krb5-libs, and sqlite-libs RPMs for both PostgreSQL image variants.
@vikin91
vikin91 requested review from a team and rhacs-bot as code owners December 1, 2026 12:07
@rhacs-bot
rhacs-bot requested a review from a team December 1, 2026 12:07
@vikin91
vikin91 requested a review from vjwilson December 1, 2026 12:37
Install the signed PostgreSQL 15.20 and emacs-filesystem fixes from the prefetched RPM repositories for both Scanner DB variants.

@tommartensen tommartensen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These are not critical CVE updates, so I am going to block this.
See https://redhat-internal.slack.com/archives/C0AB40QSUDS/p1796131381335589?thread_ts=1796127166.223899&cid=C0AB40QSUDS

Conforma for the release will not require these CVEs to be resolved. This PR delays the release.

Besides, there are obvious differences compared to how we setup and maintain the .repo files in our other repositories: https://redhat.atlassian.net/wiki/spaces/StackRox/pages/309337671/How+to+prefetch+RPMs+for+ACS+Konflux+builds

Retry transient download failures with bounded timeouts and report HTTP errors. Publish the ZIP only after the download succeeds, and keep directory timestamp changes from invalidating the archive.
@vikin91

vikin91 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

@tommartensen , I don't understand why you block this PR. If you don't want to have it included in the current release, you can state this. If you think that the patch is wrong and it should be done differently, then I would expect a constructive feedback about this. I understand that setup and maintenance of the .repo files may be different to the one in this PR, but the information about that is insufficient - the demonstrative PR has zero description and explanation why things are done the way they are.

If you want that only specific group of people would like to be doing the patches, then we can agree on that. But if all of us should contribute, then such PR blocks are not the way to go.

@vikin91
vikin91 requested a review from a team as a code owner December 1, 2026 13:52
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

/konflux-retest scanner-on-push

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

/konflux-retest scanner-slim-on-push

@vikin91 vikin91 added the disable-konflux-auto-retest Disable automatic Konflux pipeline re-runs label Dec 1, 2026
@openshift-ci

openshift-ci Bot commented Dec 1, 2026

Copy link
Copy Markdown

@vikin91: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/slim-e2e-tests f40caaa link false /test slim-e2e-tests
ci/prow/e2e-tests f40caaa link false /test e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci

openshift-ci Bot commented Dec 6, 2026

Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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

Labels

disable-konflux-auto-retest Disable automatic Konflux pipeline re-runs needs-rebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants