Skip to content

Stabilize serving around crashing pods a bit - #8964

Merged
knative-prow-robot merged 2 commits into
knative:masterfrom
vagababov:20200807-tryouts
Aug 8, 2020
Merged

knative-prow-robot merged 2 commits into
knative:masterfrom
vagababov:20200807-tryouts

Conversation

@vagababov

Copy link
Copy Markdown
Contributor
  • add more logging to see the intermediate steps
  • actually try to respond to the probes

/hold

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 7, 2020
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Aug 7, 2020
@knative-prow-robot knative-prow-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 7, 2020
@knative-prow-robot knative-prow-robot added area/API API objects and controllers area/networking area/test-and-release It flags unit/e2e/conformance/perf test issues for product features size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 7, 2020
@vagababov vagababov changed the title Debug the test Stabilize serving around crashing pods a bit Aug 7, 2020
@vagababov

Copy link
Copy Markdown
Contributor Author

/retest

@vagababov

Copy link
Copy Markdown
Contributor Author

/test all

@vagababov

Copy link
Copy Markdown
Contributor Author

/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() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cond must be false here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this change. This means if the Revision becomes ready we will keep waiting...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
@knative-prow-robot

Copy link
Copy Markdown
Contributor

[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

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

@mattmoor mattmoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 7, 2020
@mattmoor mattmoor mentioned this pull request Aug 7, 2020
@knative-metrics-robot

Copy link
Copy Markdown

The following is the coverage report on the affected files.
Say /test pull-knative-serving-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/serving/v1/revision_lifecycle.go 91.3% 91.5% 0.2
pkg/reconciler/revision/reconcile_resources.go 91.7% 91.8% 0.1

@vagababov

Copy link
Copy Markdown
Contributor Author

/hold cancel

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 7, 2020
@mattmoor

mattmoor commented Aug 7, 2020

Copy link
Copy Markdown
Contributor

/test pull-knative-serving-contour-latest

@knative-prow-robot

knative-prow-robot commented Aug 7, 2020 •

Copy link
Copy Markdown
Contributor

@vagababov: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-knative-serving-istio-1.5-no-mesh 3b988ef link /test pull-knative-serving-istio-1.5-no-mesh
pull-knative-serving-gloo-0.17.1 3b988ef link /test pull-knative-serving-gloo-0.17.1
pull-knative-serving-istio-1.5-mesh 3b988ef link /test pull-knative-serving-istio-1.5-mesh
pull-knative-serving-ambassador-latest 3b988ef link /test pull-knative-serving-ambassador-latest

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.

@knative-test-reporter-robot

Copy link
Copy Markdown

The following jobs failed:

Test name Triggers Retries
pull-knative-serving-integration-tests 2020-08-07 22:40:20.233 +0000 UTC 1/3

Automatically retrying due to test flakiness...
/test pull-knative-serving-integration-tests

@knative-prow-robot
knative-prow-robot merged commit aaa45f8 into knative:master Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers area/autoscale area/networking area/test-and-release It flags unit/e2e/conformance/perf test issues for product features cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants