Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elliott: A new approach to check for shipped rpms with product version awareness #1085

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vfreex
Copy link
Contributor

@vfreex vfreex commented Oct 24, 2024

Currently, we consider an rpm shipped if it has *-released Brew tag.
Released rpms will be excluded from find-builds so they will not be
attached to Errata.

This has caused a few issues: Some external rpms (e.g. python-zipp) are
tagged into both rhaos-4.17-ironic-rhel-9-candidate and rhaos-4.16-ironic-rhel-9-candidate.
Once the rpm is shipped to 4.17, we will not be able to ship it to 4.16.

With the new approach, we read all candidate tags for an OCP minor
version from ocp-build-data erratatool.yml, they consider a rpm is
shipped if it has a tag without the -candidate suffix.

The feature is not enabled by default unless group config option
feature_gates.product_version_aware_rpm_sweep is enabled.

@vfreex
Copy link
Contributor Author

vfreex commented Oct 24, 2024

/hold we have a lot of redundant rpms in our -candidate tag that nobody took very close at them. We should re-evaluable this before getting this fixed.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 24, 2024
vfreex added a commit to vfreex/ocp-build-data that referenced this pull request Dec 20, 2024
@vfreex vfreex force-pushed the elliott-new-find-shipped-logic branch from 4267ba4 to f08fc1e Compare December 20, 2024 08:35
Copy link
Contributor

openshift-ci bot commented Dec 20, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from vfreex. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

vfreex added a commit to vfreex/ocp-build-data that referenced this pull request Dec 20, 2024
@vfreex
Copy link
Contributor Author

vfreex commented Dec 20, 2024

/hold cancel

Would like to use a group config option to control whether this new approach should be used.

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 20, 2024
@vfreex vfreex changed the title Elliott: A new approach to check for shipped rpms Elliott: A new approach to check for shipped rpms with product version awareness Dec 20, 2024
Currently, we consider an rpm shipped if it has `*-released` Brew tag.
Released rpms will be excluded from `find-builds` so they will not be
attached to Errata.

This has caused a few issues: Some external rpms (e.g. python-zipp) are
tagged into both rhaos-4.17-ironic-rhel-9-candidate and rhaos-4.16-ironic-rhel-9-candidate.
Once the rpm is shipped to 4.17, we will not be able to ship it to 4.16.

With the new approach, we read all candidate tags for an OCP minor
version from ocp-build-data erratatool.yml, they consider a rpm is
shipped if it has a tag without the -candidate suffix.

The feature is not enabled by default unless group config option
`feature_gates.product_version_aware_rpm_sweep` is enabled.
@vfreex vfreex force-pushed the elliott-new-find-shipped-logic branch from f08fc1e to fa688d1 Compare December 20, 2024 09:26
Copy link
Contributor

openshift-ci bot commented Dec 20, 2024

@vfreex: The following test 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/security fa688d1 link false /test security

Full PR test history. Your PR dashboard.

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.

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.

1 participant