Skip to content

Conversation

@Miciah
Copy link
Contributor

@Miciah Miciah commented Oct 17, 2025

Instead of using the OperatorsV1 client from the github.com/operator-framework/operator-lifecycle-manager package, use the dynamic client, and drop the import for this package. Vendoring this package necessitated adding a replace stanza for openshift/api in go.mod; this stanza can now be dropped.

The replace stanza was causing problems to people who wanted to import openshift/origin to use the OpenShift Tests Extensions framework.

Follow-up to 407d63b.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 17, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 17, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@Miciah
Copy link
Contributor Author

Miciah commented Oct 17, 2025

/test ci/prow/e2e-gcp-ovn

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 17, 2025

@Miciah: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test e2e-aws-csi
/test e2e-aws-jenkins
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-image-registry
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-builds
/test e2e-gcp-ovn-image-ecosystem
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi
/test go-verify-deps
/test images
/test lint
/test okd-scos-images
/test unit
/test verify
/test verify-deps

The following commands are available to trigger optional jobs:

/test e2e-agnostic-ovn-cmd
/test e2e-aws-disruptive
/test e2e-aws-etcd-certrotation
/test e2e-aws-etcd-recovery
/test e2e-aws-ovn
/test e2e-aws-ovn-cgroupsv2
/test e2e-aws-ovn-edge-zones
/test e2e-aws-ovn-etcd-scaling
/test e2e-aws-ovn-kube-apiserver-rollout
/test e2e-aws-ovn-kubevirt
/test e2e-aws-ovn-serial-fast
/test e2e-aws-ovn-serial-ipsec
/test e2e-aws-ovn-serial-publicnet-1of2
/test e2e-aws-ovn-serial-publicnet-2of2
/test e2e-aws-ovn-single-node
/test e2e-aws-ovn-single-node-serial
/test e2e-aws-ovn-single-node-techpreview
/test e2e-aws-ovn-single-node-techpreview-serial
/test e2e-aws-ovn-single-node-upgrade
/test e2e-aws-ovn-upgrade
/test e2e-aws-ovn-upgrade-rollback
/test e2e-aws-ovn-upi
/test e2e-aws-proxy
/test e2e-azure
/test e2e-azure-ovn-etcd-scaling
/test e2e-azure-ovn-upgrade
/test e2e-baremetalds-kubevirt
/test e2e-external-aws
/test e2e-external-aws-ccm
/test e2e-external-vsphere-ccm
/test e2e-gcp-disruptive
/test e2e-gcp-fips-serial-1of2
/test e2e-gcp-fips-serial-2of2
/test e2e-gcp-ovn-etcd-scaling
/test e2e-gcp-ovn-rt-upgrade
/test e2e-gcp-ovn-techpreview
/test e2e-gcp-ovn-techpreview-serial-1of2
/test e2e-gcp-ovn-techpreview-serial-2of2
/test e2e-gcp-ovn-usernamespace
/test e2e-hypershift-conformance
/test e2e-metal-ipi-ovn
/test e2e-metal-ipi-ovn-bgp-virt-dualstack
/test e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview
/test e2e-metal-ipi-ovn-dualstack
/test e2e-metal-ipi-ovn-dualstack-bgp
/test e2e-metal-ipi-ovn-dualstack-bgp-local-gw
/test e2e-metal-ipi-ovn-dualstack-local-gateway
/test e2e-metal-ipi-ovn-kube-apiserver-rollout
/test e2e-metal-ipi-serial-1of2
/test e2e-metal-ipi-serial-2of2
/test e2e-metal-ipi-serial-ovn-ipv6-1of2
/test e2e-metal-ipi-serial-ovn-ipv6-2of2
/test e2e-metal-ipi-virtualmedia
/test e2e-metal-ovn-single-node-live-iso
/test e2e-metal-ovn-single-node-with-worker-live-iso
/test e2e-metal-ovn-two-node-arbiter
/test e2e-metal-ovn-two-node-fencing
/test e2e-openstack-ovn
/test e2e-openstack-serial
/test e2e-test-image-stream-import-mode-techpreview
/test e2e-vsphere-ovn-dualstack-primaryv6
/test e2e-vsphere-ovn-etcd-scaling
/test okd-scos-e2e-aws-ovn

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-origin-main-e2e-aws-csi
pull-ci-openshift-origin-main-e2e-aws-ovn-fips
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift-serial
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-1of2
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-2of2
pull-ci-openshift-origin-main-e2e-gcp-csi
pull-ci-openshift-origin-main-e2e-gcp-ovn
pull-ci-openshift-origin-main-e2e-gcp-ovn-upgrade
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-ipv6
pull-ci-openshift-origin-main-e2e-vsphere-ovn
pull-ci-openshift-origin-main-e2e-vsphere-ovn-upi
pull-ci-openshift-origin-main-go-verify-deps
pull-ci-openshift-origin-main-images
pull-ci-openshift-origin-main-lint
pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn
pull-ci-openshift-origin-main-okd-scos-images
pull-ci-openshift-origin-main-unit
pull-ci-openshift-origin-main-verify
pull-ci-openshift-origin-main-verify-deps

In response to this:

/test ci/prow/e2e-gcp-ovn

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.

@openshift-ci openshift-ci bot added the vendor-update Touching vendor dir or related files label Oct 17, 2025
@Miciah
Copy link
Contributor Author

Miciah commented Oct 17, 2025

/test e2e-gcp-ovn

@Miciah Miciah force-pushed the gatewayapicontroller-use-dynamic-client-for-olm branch from b2f6c01 to a35d2a2 Compare October 18, 2025 00:46
@Miciah
Copy link
Contributor Author

Miciah commented Oct 18, 2025

e2e-gcp-ovn failed with fail [runtime/iface.go:275]: Test Panicked: interface conversion: interface {} is []interface {}, not []struct { *v1.ObjectReference }. I pushed https://github.com/openshift/origin/compare/b2f6c014b487cdb299d8509fa6714e96045caea3..a35d2a29f8b7e2768f5d544230d7ae8a5fbd0f1c in hopes of getting the type conversion to work.

@Miciah
Copy link
Contributor Author

Miciah commented Oct 18, 2025

/test e2e-gcp-ovn

@Miciah Miciah force-pushed the gatewayapicontroller-use-dynamic-client-for-olm branch from a35d2a2 to e099cf6 Compare October 18, 2025 04:54
@Miciah
Copy link
Contributor Author

Miciah commented Oct 18, 2025

https://github.com/openshift/origin/compare/a35d2a29f8b7e2768f5d544230d7ae8a5fbd0f1c..e099cf6ba75e5ed81f6120f351535e7f1df47c7d is a more sophisticated attempt at getting the unstructured conversion of the Operator CR status right. This push also adds logging for deletions as well as deletion of the Operator CR itself at the end of the cleanup.

/test e2e-gcp-ovn

@Miciah Miciah marked this pull request as ready for review October 18, 2025 13:58
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 18, 2025
@openshift-ci openshift-ci bot requested review from Thealisyed and sjenning October 18, 2025 13:58
@tmshort
Copy link
Contributor

tmshort commented Oct 18, 2025

/retest-required

1 similar comment
@tmshort
Copy link
Contributor

tmshort commented Oct 19, 2025

/retest-required

g.By("Deleting the OSSM Operator resources")

operator, err := operatorsv1.NewForConfigOrDie(oc.AsAdmin().UserConfig()).Operators().Get(context.Background(), serviceMeshOperatorName, metav1.GetOptions{})
client, err := dynamic.NewForConfig(oc.AdminConfig())
Copy link
Member

Choose a reason for hiding this comment

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

nit: the client already exists in oc.KubeFramework().DynamicClient (see line 186 below)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! https://github.com/openshift/origin/compare/e099cf6ba75e5ed81f6120f351535e7f1df47c7d..c5d2f04bbcbba4ce94abaf156d7df7673d013372 changes this logic to use the existing oc.KubeFramework().DynamicClient instead of creating a new client.

Instead of using the OperatorsV1 client from the
github.com/operator-framework/operator-lifecycle-manager package, use
the dynamic client, and drop the import for this package.  Vendoring
this package necessitated adding a replace stanza for openshift/api in
go.mod; this stanza can now be dropped.

The replace stanza was causing problems to people who wanted to import
openshift/origin to use the OpenShift Tests Extensions framework.

Follow-up to commit 407d63b.

* go.mod: Drop github.com/operator-framework/operator-lifecycle-manager,
and drop the replace rule for openshift/api.
* go.sum: Regenerate.
* test/extended/router/gatewayapicontroller.go: Use the dynamic client.
* vendor/*: Regenerate.
Log each deleted object during post-test cleanup.

* test/extended/router/gatewayapicontroller.go: Add logging.
Delete the Operator CR for the Service Mesh operator during post-test
cleanup.

* test/extended/router/gatewayapicontroller.go: Add delete command.
@Miciah Miciah force-pushed the gatewayapicontroller-use-dynamic-client-for-olm branch from e099cf6 to c5d2f04 Compare October 20, 2025 13:51
@bertinatto
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 20, 2025
@bertinatto
Copy link
Member

/override ci/prow/e2e-aws-ovn-microshift
/override ci/prow/e2e-aws-ovn-microshift-serial

These jobs are failing due to the rebase of o/k and need manual action from the Microshift team. We're temporarily making them optional here until that's fixed: openshift/release#70458

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 20, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 20, 2025

@bertinatto: Overrode contexts on behalf of bertinatto: ci/prow/e2e-aws-ovn-microshift, ci/prow/e2e-aws-ovn-microshift-serial

In response to this:

/override ci/prow/e2e-aws-ovn-microshift
/override ci/prow/e2e-aws-ovn-microshift-serial

These jobs are failing due to the rebase of o/k and need manual action from the Microshift team. We're temporarily making them optional here until that's fixed: openshift/release#70458

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.

Copy link
Contributor

@tmshort tmshort left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 20, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bertinatto, Miciah, tmshort

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

@bertinatto
Copy link
Member

/retest-required

1 similar comment
@bertinatto
Copy link
Member

/retest-required

@bertinatto
Copy link
Member

/test e2e-aws-csi

@openshift-trt
Copy link

openshift-trt bot commented Oct 20, 2025

Job Failure Risk Analysis for sha: c5d2f04

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-csi IncompleteTests
Tests for this run (21) are below the historical average (1803): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (22) are below the historical average (3170): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-1of2 IncompleteTests
Tests for this run (21) are below the historical average (1831): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-2of2 IncompleteTests
Tests for this run (21) are below the historical average (1743): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-csi IncompleteTests
Tests for this run (22) are below the historical average (1851): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-ovn IncompleteTests
Tests for this run (22) are below the historical average (3230): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-ovn-upgrade IncompleteTests
Tests for this run (21) are below the historical average (1885): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-ipv6 IncompleteTests
Tests for this run (12) are below the historical average (2912): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@Miciah
Copy link
Contributor Author

Miciah commented Oct 20, 2025

ci/prow/images failed with the following error:

error: unable to read image quay-proxy.ci.openshift.org/openshift/ci@sha256:6ba7d1b8bbb82333c96e14bc0c83f189fd0bbe8af11c30c5b4fc684357072bbd: received unexpected HTTP status: 500 Internal Server Error

I expect this is a transient infrastructure error.

/test images

@Miciah Miciah changed the title gatewayapicontroller: Use dynamic client for OLM OCPBUGS-56281: gatewayapicontroller: Use dynamic client for OLM Oct 21, 2025
@openshift-ci-robot openshift-ci-robot added jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Oct 21, 2025
@openshift-ci-robot
Copy link

@Miciah: This pull request references Jira Issue OCPBUGS-56281, which is invalid:

  • expected the bug to target either version "4.21." or "openshift-4.21.", but it targets "4.20.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Instead of using the OperatorsV1 client from the github.com/operator-framework/operator-lifecycle-manager package, use the dynamic client, and drop the import for this package. Vendoring this package necessitated adding a replace stanza for openshift/api in go.mod; this stanza can now be dropped.

The replace stanza was causing problems to people who wanted to import openshift/origin to use the OpenShift Tests Extensions framework.

Follow-up to 407d63b.

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 openshift-eng/jira-lifecycle-plugin repository.

@Miciah
Copy link
Contributor Author

Miciah commented Oct 21, 2025

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Oct 21, 2025
@openshift-ci-robot
Copy link

@Miciah: This pull request references Jira Issue OCPBUGS-56281, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.21.0) matches configured target version for branch (4.21.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request.

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@kyrtapz
Copy link
Contributor

kyrtapz commented Oct 21, 2025

/retest-required
@Miciah the PR is missing the verified label

@bertinatto
Copy link
Member

/retest-required

@bertinatto
Copy link
Member

/verified by ci/prow/e2e-gcp-ovn

  1. Checked the job
  2. Searched for [sig-network-edge][OCPFeatureGate:GatewayAPIController][Feature:Router][apigroup:gateway.networking.k8s.io]
  3. Found several tests with that prefix, all of them passed

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Oct 21, 2025
@openshift-ci-robot
Copy link

@bertinatto: This PR has been marked as verified by ci/prow/e2e-gcp-ovn.

In response to this:

/verified by ci/prow/e2e-gcp-ovn

  1. Checked the job
  2. Searched for [sig-network-edge][OCPFeatureGate:GatewayAPIController][Feature:Router][apigroup:gateway.networking.k8s.io]
  3. Found several tests with that prefix, all of them passed

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 openshift-eng/jira-lifecycle-plugin repository.

@bertinatto
Copy link
Member

/override ci/prow/e2e-aws-ovn-serial-1of2

The test is not part of the serial test suite. Overriding to unblock merges.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 21, 2025

@bertinatto: Overrode contexts on behalf of bertinatto: ci/prow/e2e-aws-ovn-serial-1of2

In response to this:

/override ci/prow/e2e-aws-ovn-serial-1of2

The test is not part of the serial test suite. Overriding to unblock merges.

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.

@openshift-merge-bot openshift-merge-bot bot merged commit 2bc51b3 into openshift:main Oct 21, 2025
18 of 21 checks passed
@openshift-ci-robot
Copy link

@Miciah: Jira Issue Verification Checks: Jira Issue OCPBUGS-56281
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-56281 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

In response to this:

Instead of using the OperatorsV1 client from the github.com/operator-framework/operator-lifecycle-manager package, use the dynamic client, and drop the import for this package. Vendoring this package necessitated adding a replace stanza for openshift/api in go.mod; this stanza can now be dropped.

The replace stanza was causing problems to people who wanted to import openshift/origin to use the OpenShift Tests Extensions framework.

Follow-up to 407d63b.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 21, 2025

@Miciah: 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/okd-scos-e2e-aws-ovn c5d2f04 link false /test okd-scos-e2e-aws-ovn

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.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.21.0-0.nightly-2025-10-22-123727

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. jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. vendor-update Touching vendor dir or related files verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants