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

OPRUN-3082: Remove verify-commits-shared test #45270

Merged

Conversation

awgreene
Copy link
Contributor

@awgreene awgreene commented Nov 3, 2023

The operator framework portfolio consists of a number of projects that have an upstream project. The verify-commits makefile target had been introduced in each of the downstream projects to assist with the downstreaming efforts. The commit checking logic was eventually moved into a container and was rolled out as the verify-commits-shared test, which ran alongside the verify-commits test to ensure that it worked as expected.

We are now confident that the verify-commits-shared test is running as expected, and can replace the logic used in the verify-commits test with that of the verify-commits-shared test, which will allow us to remove the verify-commits Makefile targets from each of the repos, simplifying the code base and reducing duplication of code.

The operator framework portfolio consists of a number of projects that
have an upstream project. The verify-commits makefile target had been
introduced in each of the downstream  projects to assist with the
downstreaming efforts. The commit checking logic was eventually moved
into a container and was rolled out as the verify-commits-shared test,
which ran alongside the verify-commits test to ensure that it worked
as expected.

We are now confident that the verify-commits-shared test is running as
expected, and can replace the logic used in the verify-commits test with
that of the verify-commits-shared test, which will allow us to remove
the verify-commits Makefile targets from each of the repos, simplifying
the code base and reducing duplication of code.

Signed-off-by: Alexander Greene <greene.al1991@gmail.com>
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@awgreene: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-operator-framework-catalogd-main-verify-commits openshift/operator-framework-catalogd presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-catalogd-release-4.14-verify-commits openshift/operator-framework-catalogd presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-catalogd-release-4.16-verify-commits openshift/operator-framework-catalogd presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-catalogd-release-4.15-verify-commits openshift/operator-framework-catalogd presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-operator-controller-release-4.14-verify-commits openshift/operator-framework-operator-controller presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-operator-controller-release-4.15-verify-commits openshift/operator-framework-operator-controller presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-operator-controller-release-4.16-verify-commits openshift/operator-framework-operator-controller presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-operator-controller-main-verify-commits openshift/operator-framework-operator-controller presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-rukpak-release-4.15-verify-commits openshift/operator-framework-rukpak presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-rukpak-release-4.16-verify-commits openshift/operator-framework-rukpak presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-rukpak-release-4.14-verify-commits openshift/operator-framework-rukpak presubmit Ci-operator config changed
pull-ci-openshift-operator-framework-rukpak-main-verify-commits openshift/operator-framework-rukpak presubmit Ci-operator config changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 10 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 20 rehearsals
Comment: /pj-rehearse max to run up to 35 rehearsals
Comment: /pj-rehearse auto-ack to run up to 10 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Copy link
Contributor

openshift-ci bot commented Nov 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awgreene, ncdc

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

The pull request process is described 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

@openshift-ci openshift-ci bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Nov 3, 2023
@awgreene
Copy link
Contributor Author

awgreene commented Nov 3, 2023

/pj-rehearse max

@awgreene
Copy link
Contributor Author

awgreene commented Nov 3, 2023

/retest

@ncdc
Copy link
Contributor

ncdc commented Nov 3, 2023

Rehearsals on verify-commits jobs will never pass because the commit they use is coming from this repo/PR, not from the target repo.

/pj-rehearse ack

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Nov 3, 2023
@openshift-ci openshift-ci bot merged commit f362fd2 into openshift:master Nov 3, 2023
15 of 28 checks passed
Copy link
Contributor

openshift-ci bot commented Nov 3, 2023

@awgreene: 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/rehearse/openshift/operator-framework-rukpak/release-4.16/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-rukpak-release-4.16-verify-commits
ci/rehearse/openshift/operator-framework-operator-controller/release-4.14/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-operator-controller-release-4.14-verify-commits
ci/rehearse/openshift/operator-framework-catalogd/release-4.14/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-catalogd-release-4.14-verify-commits
ci/rehearse/openshift/operator-framework-catalogd/main/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-catalogd-main-verify-commits
ci/rehearse/openshift/operator-framework-catalogd/release-4.15/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-catalogd-release-4.15-verify-commits
ci/rehearse/openshift/operator-framework-operator-controller/main/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-operator-controller-main-verify-commits
ci/rehearse/openshift/operator-framework-operator-controller/release-4.16/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-operator-controller-release-4.16-verify-commits
ci/rehearse/openshift/operator-framework-rukpak/release-4.15/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-rukpak-release-4.15-verify-commits
ci/rehearse/openshift/operator-framework-rukpak/release-4.14/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-rukpak-release-4.14-verify-commits
ci/rehearse/openshift/operator-framework-operator-controller/release-4.15/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-operator-controller-release-4.15-verify-commits
ci/rehearse/openshift/operator-framework-rukpak/main/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-rukpak-main-verify-commits
ci/rehearse/openshift/operator-framework-catalogd/release-4.16/verify-commits d2564ab link unknown /pj-rehearse pull-ci-openshift-operator-framework-catalogd-release-4.16-verify-commits

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/test-infra repository. I understand the commands that are listed here.

@awgreene awgreene changed the title Remove verify-commits-shared test OPRUN-3082: Remove verify-commits-shared test Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged
Projects
None yet
3 participants