-
Notifications
You must be signed in to change notification settings - Fork 600
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
enable broker chaos, add debug logging for tests for MT Broker. #3599
Conversation
monitoring didn't come up. |
/test pull-knative-eventing-integration-tests |
worked, retesting |
1 similar comment
worked, retesting |
The following is the coverage report on the affected files.
|
Latest run found an interesting failure (not related to chaos):
|
/test pull-knative-eventing-integration-tests |
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-knative-eventing-integration-tests:
|
r.kresourceTracker = duck.NewListableTracker(ctx, conditions.Get, impl.EnqueueKey, controller.GetTrackerLease(ctx)) | ||
r.uriResolver = resolver.NewURIResolver(ctx, impl.EnqueueKey) | ||
|
||
triggerInformer.Informer().AddEventHandler(controller.HandleAll(impl.Enqueue)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you will also need to watch for broker changes and enqueue yourself if the class match.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you make the trigger before you make the broker, you will have to wait an entire relist period for the trigger to go ready or even reconcile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, you are tracking brokers in the reconciler now. That works for all cases except where you create triggers first and the broker is not around yet.
t.Status.InitializeConditions() | ||
|
||
if t.DeletionTimestamp != nil { | ||
// Everything is cleaned up by the garbage collector. | ||
return nil | ||
} | ||
// Start tracking the broker | ||
r.trackBroker(ctx, t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh! I see, you are going to track the broker directly. That works too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you have a race condition for late bound triggers without any brokers in the cluster yet.
Channel creation failed with:
Fixed here: |
The following is the coverage report on the affected files.
|
worked, retesting |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: n3wscott, vaikas 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 |
Fixes #3591
Proposed Changes
Release Note
Docs