Repository navigation
Stabilize serving around crashing pods a bit - #8964
Conversation
|
/retest |
|
/test all |
|
/test all |
| cond := r.Status.GetCondition(v1.ConfigurationConditionReady) | ||
| if cond != nil && !cond.IsUnknown() { | ||
| if cond != nil && cond.IsFalse() { | ||
| if strings.Contains(cond.Message, errorLog) && cond.IsFalse() { |
There was a problem hiding this comment.
yeah, it's already false :)
| if err := v1test.WaitForConfigurationState(clients.ServingClient, names.Config, func(r *v1.Configuration) (bool, error) { | ||
| cond := r.Status.GetCondition(v1.ConfigurationConditionReady) | ||
| if cond != nil && !cond.IsUnknown() { | ||
| if cond != nil && cond.IsFalse() { |
There was a problem hiding this comment.
I don't understand this change. This means if the Revision becomes ready we will keep waiting...
There was a problem hiding this comment.
We should not really become ready here, do we?
Julz and I came to the conclusion that the flakiness is because if there's a race with deployment and chaos duck restarts the controller pod — we fail the test. Increase the timout in the PA for this.
3b988ef to
6654cfc
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vagababov 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 |
|
The following is the coverage report on the affected files.
|
|
/hold cancel |
|
/test pull-knative-serving-contour-latest |
|
@vagababov: The following tests 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/test-infra repository. I understand the commands that are listed here. |
|
The following jobs failed:
Automatically retrying due to test flakiness... |
/hold