OCPBUGS-83281: Wait for Gateway deletion before removing GatewayClass in test cleanup#31010
OCPBUGS-83281: Wait for Gateway deletion before removing GatewayClass in test cleanup#31010gcs278 wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@gcs278: This pull request references Jira Issue OCPBUGS-83281, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughReplaced inline polling that waited for Gateways to be removed with a new helper that waits for the associated Gateway deployment deletion. Added Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 9 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (9 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gcs278 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Scheduling required tests: |
|
Looks like there may be a gateway hanging out that @rhamini3 pointed out. /retest |
4cfb628 to
1441e6e
Compare
… in test cleanup The Gateway API test cleanup was deleting Gateways and immediately proceeding to delete the GatewayClass and istiod without waiting for the Gateway resources to be fully removed. Since the gateway deployment and pods have an owner reference to the Gateway, they are cascade-deleted by Kubernetes GC only after the Gateway is gone. If the GatewayClass and istiod are removed first, the gateway pods lose their control plane and crash-loop, generating pathological "Back-off restarting failed container" events that fail CI invariant monitors. Add a shared waitForGatewayDeletion helper that both the upgrade test Teardown and the controller test AfterEach use to ensure Gateways are fully deleted before proceeding with GatewayClass cleanup. https://redhat.atlassian.net/browse/OCPBUGS-83281 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1441e6e to
29cb6d7
Compare
|
@gcs278: This pull request references Jira Issue OCPBUGS-83281, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
DetailsIn response to this:
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. |
|
Scheduling required tests: |
|
@gcs278: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Summary
waitForGatewayDeletionhelper used by both the upgrade testTeardownand the controller testAfterEachto ensure proper cleanup orderingTest plan
e2e-aws-ovn-upgrade-fipsjob to confirm the regression is resolvedBug: https://redhat.atlassian.net/browse/OCPBUGS-83281
🤖 Generated with Claude Code
Summary by CodeRabbit