OCPBUGS-60302: e2e - Reduce flakiness in testGatewayAPIResourcesProtection#1265
Conversation
CVO is scaled up and down to allow removing and re-creating the VAP for Gateway API CRDs. Sometimes scaling CVO up takes longer than the previous 30 seconds timeout, so this is increased to 2 minutes. VAP creation after scaling up CVO can also take longer than expected; the previous 1 minute timeout was too short and caused flakiness.
Add logic to detect network errors during the creation of Gateway API CRDs in the `testGatewayAPIResourcesProtection` test, and retry the operation. This helps reduce flakiness caused by temporary API server network hiccups.
|
@alebedev87: This pull request references Jira Issue OCPBUGS-60302, 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. |
|
This failure should be mitigated by the usage of ReplicaSet. /test e2e-gcp-operator |
|
@alebedev87: The following test 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. |
|
/jira refresh |
|
@alebedev87: This pull request references Jira Issue OCPBUGS-60302, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
/assign |
|
/lgtm |
|
/hold |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rikatz 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 |
|
/assign |
|
We're adding up to 6 minutes on this test, which runs serially, so it's not great. If it turns into a problem we can address later. |
afb2160
into
openshift:master
|
@alebedev87: Jira Issue OCPBUGS-60302: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-60302 has been moved to the MODIFIED state. 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. |
|
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-ingress-operator |
This PR reduces flakiness in the
TestGatewayAPI/testGatewayAPIResourcesProtectione2e test by:These changes help mitigate failures caused by temporary API server network issues and slow CVO reconciliation.