-
Notifications
You must be signed in to change notification settings - Fork 599
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
Remove the webhook retry hack. #3681
Comments
Recently we added a workaround for EOF errors: knative#3681 and some test seems to be flaky because we try to create a subscription multiple times when it already exists. Some test runs show errors like this: ``` creation.go:175: Creating v1 subscription creation.go:180: Failed to create subscription "<name>": conversion webhook for messaging.knative.dev/v1beta1, Kind=Subscription failed: Post https://eventing-webhook.knative-eventing-aw90d392a6.svc:443/resource-conversion?timeout=30s: EOF creation.go:175: Creating v1 subscription <name> for channel &TypeMeta{Kind:InMemoryChannel,APIVersion:messaging.knative.dev/v1,}-e2e-singleevent-channel-structured creation.go:180: Failed to create subscription "<name>": subscriptions.messaging.knative.dev "e2e-singleevent-subscription-structured" already exists creation.go:185: Failed to create subscription "<name>": subscriptions.messaging.knative.dev "e2e-singleevent-subscription-structured" already exists ``` So, this PR adds a check for arleady exists errors to avoid failing tests in those cases. Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Blocked by knative/pkg#1509. |
This issue is stale because it has been open for 90 days with no |
/reopen |
@pierDipi: Reopened this issue. In 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 kubernetes/test-infra repository. |
/remove-lifecycle stale |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
This issue is stale because it has been open for 90 days with no |
/triage accepted |
Describe the bug
As a workaround for
knative/pkg#1509
Added a retry for webhook failures. Once that's been fixed, remove the hackity hack.
The text was updated successfully, but these errors were encountered: