Skip to content
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

Revert "Revert "Merge pull request #107797 from tkashem/revert-107456"" #109030

Merged
merged 1 commit into from Mar 26, 2022

Conversation

liggitt
Copy link
Member

@liggitt liggitt commented Mar 25, 2022

This reverts commit b0b4609.

Reverts #108383 (comment)
Fixes #109026

Integration tests have been very flaky since merge, with 47k panics and 3gb logs per run.

This should not be re-added until #109026 is resolved and there's positive confirmation we do not have panics in the integration tests

NONE

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Mar 25, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 25, 2022
@liggitt
Copy link
Member Author

liggitt commented Mar 25, 2022

cc @wojtek-t @tkashem

@k8s-ci-robot k8s-ci-robot added area/apiserver area/test sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/testing Categorizes an issue or PR as relevant to SIG Testing. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Mar 25, 2022
@tkashem
Copy link
Contributor

tkashem commented Mar 25, 2022

/lgtm

/cc @MikeSpreitzer
Thanks @liggitt

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 25, 2022
@liggitt liggitt added kind/bug Categorizes issue or PR as related to a bug. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. area/deflake Issues or PRs related to deflaking kubernetes tests labels Mar 25, 2022
@k8s-ci-robot k8s-ci-robot removed do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Mar 25, 2022
@liggitt liggitt added priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. triage/accepted Indicates an issue or PR is ready to be actively worked on. labels Mar 25, 2022
@k8s-ci-robot k8s-ci-robot removed the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Mar 25, 2022
@k8s-ci-robot k8s-ci-robot removed the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Mar 25, 2022
@liggitt liggitt added this to the v1.24 milestone Mar 25, 2022
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Mar 25, 2022
@dims
Copy link
Member

dims commented Mar 25, 2022

/retest

@liggitt
Copy link
Member Author

liggitt commented Mar 25, 2022

there were two distinct bumps in test-integration failures (other than the go1.18 solid failure on CSR validation)

  1. a few days ago, when Revert the revert of #107456 - "apf: change controller to use SSA for patches" #108383 merged
  2. ~yesterday, cause still unknown / being investigated

so I think we have stacked failures, and this resolves one of them

@liggitt
Copy link
Member Author

liggitt commented Mar 25, 2022

/retest

@tkashem
Copy link
Contributor

tkashem commented Mar 25, 2022

@liggitt @aojea from a failed integration test, i see etcd client retry interceptor is at attempt: 95

{"level":"warn","ts":"2022-03-25T19:04:08.449Z","logger":"etcd-client","caller":"v3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc020abf340/127.0.0.1:2379","attempt":95,"error":"rpc error: code = Canceled desc = grpc: the client connection is closing"}

have we recently changed any retry configuration for the etcd retry interceptor? this seems to be an excessive number of retries.

this seems to trigger the retry from the storage layer, many of the below errors

I0325 19:04:09.061551  121727 store.go:451] GuaranteedUpdate of /713a0552-dbd2-41a3-a59f-7bb114e8dea2/secrets/status-code/test failed because of a conflict, going to retry

@tkashem
Copy link
Contributor

tkashem commented Mar 25, 2022

/test pull-kubernetes-integration

@liggitt
Copy link
Member Author

liggitt commented Mar 25, 2022

@liggitt @aojea from a failed integration test, i see etcd client retry interceptor is at attempt: 95

grpc client got bumped from 1.40 to 1.44 this morning as a side effect of #108954

@tkashem
Copy link
Contributor

tkashem commented Mar 25, 2022

it may not be the root cause of the integration test timeout, but i think we should have some sort of bound to the retry. Naturally it should be bound to the associated request context, but not all requests have a bound deadline. Maybe we should set a maximum of retry attempt to a lower value like 10 or something?

@liggitt
Copy link
Member Author

liggitt commented Mar 25, 2022

opened #109038 for the acute integration failures seen starting today

@liggitt
Copy link
Member Author

liggitt commented Mar 25, 2022

Maybe we should set a maximum of retry attempt to a lower value like 10 or something?

let's discuss in #109038

@liggitt liggitt added the kind/flake Categorizes issue or PR as related to a flaky test. label Mar 25, 2022
@aojea
Copy link
Member

aojea commented Mar 25, 2022

/retest

k8s.io/kubernetes/test/integration/apiserver: TestPatchConflicts expand_more	3m30s
k8s.io/kubernetes/test/integration/apiserver/apply: TestScaleAllResources expand_more	0s
k8s.io/kubernetes/test/integration/auth: TestDiscoveryUpgradeBootstrapping expand_more	0s
k8s.io/kubernetes/test/integration/deployment: TestDeploymentRollingUpdate expand_more
```

@aojea
Copy link
Member

aojea commented Mar 26, 2022

k8s.io/kubernetes/pkg/kubelet: TestUpdatePodWithTerminatedPod expand_less

/retest

@k8s-ci-robot k8s-ci-robot merged commit 6c73b67 into kubernetes:master Mar 26, 2022
@liggitt liggitt deleted the revert-apf-ssa branch May 5, 2022 15:00
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/apiserver area/deflake Issues or PRs related to deflaking kubernetes tests area/test cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. kind/flake Categorizes issue or PR as related to a flaky test. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. release-note-none Denotes a PR that doesn't merit a release note. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

apiserver routines failing in integration tests
5 participants