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.
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.
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.
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.
| return nil | ||
| } | ||
| // Start tracking the broker | ||
| r.trackBroker(ctx, t) |
There was a problem hiding this comment.
oh! I see, you are going to track the broker directly. That works too.
There was a problem hiding this comment.
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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #3591
Proposed Changes
Release Note
Docs