Skip to content

[WIP] use generic watchResource with retry logic#1048

Closed
ricky-rav wants to merge 1 commit intoopenshift:masterfrom
ricky-rav:genericretrydownstream
Closed

[WIP] use generic watchResource with retry logic#1048
ricky-rav wants to merge 1 commit intoopenshift:masterfrom
ricky-rav:genericretrydownstream

Conversation

@ricky-rav
Copy link
Contributor

[downstream PR for scale testing]

watchResource() incorporates the whole retry logic seen for network policies and pods and can easily be instantiated for any resource type.

Applied it to pods, nodes, network policies and network policy dynamic handlers.

Signed-off-by: Riccardo Ravaioli rravaiol@redhat.com
(cherry picked from commit 24a503a7c76fd4d4552a06858d03a55d4568a975)

@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 Apr 21, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 21, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ricky-rav
To complete the pull request process, please assign squeed after the PR has been reviewed.
You can assign the PR to them by writing /assign @squeed in a comment when ready.

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

Details 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

watchResource() incorporates the whole retry logic seen for network policies and pods and can easily be instantiated for any resource type.

Applied it to pods, nodes, network policies and network policy dynamic handlers.

Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
(cherry picked from commit 24a503a7c76fd4d4552a06858d03a55d4568a975)
@ricky-rav ricky-rav force-pushed the genericretrydownstream branch from 4b3b13f to 200eaf5 Compare April 21, 2022 14:40
@ricky-rav
Copy link
Contributor Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 22, 2022

@ricky-rav: 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/prow/e2e-vsphere-windows 200eaf5 link false /test e2e-vsphere-windows
ci/prow/e2e-ovn-hybrid-step-registry 200eaf5 link false /test e2e-ovn-hybrid-step-registry
ci/prow/4.11-upgrade-from-stable-4.10-e2e-aws-ovn-upgrade 200eaf5 link true /test 4.11-upgrade-from-stable-4.10-e2e-aws-ovn-upgrade
ci/prow/e2e-aws-ovn-upgrade 200eaf5 link true /test e2e-aws-ovn-upgrade
ci/prow/e2e-aws-ovn-local-gateway 200eaf5 link true /test e2e-aws-ovn-local-gateway
ci/prow/e2e-azure-ovn 200eaf5 link false /test e2e-azure-ovn
ci/prow/okd-e2e-gcp-ovn 200eaf5 link false /test okd-e2e-gcp-ovn
ci/prow/e2e-aws-ovn-windows 200eaf5 link true /test e2e-aws-ovn-windows
ci/prow/e2e-vsphere-ovn 200eaf5 link false /test e2e-vsphere-ovn
ci/prow/e2e-aws-ovn 200eaf5 link true /test e2e-aws-ovn
ci/prow/e2e-aws-ovn-shared-to-local-gateway-mode-migration 200eaf5 link true /test e2e-aws-ovn-shared-to-local-gateway-mode-migration
ci/prow/e2e-aws-ovn-local-to-shared-gateway-mode-migration 200eaf5 link true /test e2e-aws-ovn-local-to-shared-gateway-mode-migration
ci/prow/e2e-openstack-ovn 200eaf5 link false /test e2e-openstack-ovn
ci/prow/e2e-gcp-ovn 200eaf5 link true /test e2e-gcp-ovn
ci/prow/e2e-metal-ipi-ovn-ipv6 200eaf5 link false /test e2e-metal-ipi-ovn-ipv6
ci/prow/e2e-aws-ovn-upgrade-local-gateway 200eaf5 link true /test e2e-aws-ovn-upgrade-local-gateway
ci/prow/4.11-upgrade-from-stable-4.10-local-gateway-e2e-aws-ovn-upgrade 200eaf5 link false /test 4.11-upgrade-from-stable-4.10-local-gateway-e2e-aws-ovn-upgrade
ci/prow/e2e-metal-ipi-ovn-dualstack 200eaf5 link true /test e2e-metal-ipi-ovn-dualstack

Full PR test history. Your PR dashboard.

Details

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.

@ricky-rav ricky-rav closed this Apr 22, 2022
@ricky-rav ricky-rav deleted the genericretrydownstream branch April 22, 2022 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant