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
add kubelet tests to verify host clean up #41659
Conversation
@copejon all tests pass. Can you review the |
b9b9523
to
9ddeb0f
Compare
all tests pass... @jsafrane @copejon @divyenpatel PTAL, thanks. |
9ddeb0f
to
6d01277
Compare
rebased... |
@k8s-bot test this |
@k8s-bot gci gce e2e test this |
rebased, all tests pass. PTAL @jsafrane @saad-ali @krousey @divyenpatel ...someone! . Thanks |
test/e2e/kubelet.go
Outdated
@@ -395,15 +441,19 @@ var _ = framework.KubeDescribe("kubelet", func() { | |||
testTbl := []hostCleanupTest{ | |||
{ | |||
itDescr: "after deleting the nfs-server, the host should be cleaned-up when deleting sleeping pod which mounts an NFS vol", |
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.
Very small nit - this could be clearer by saying something like
"after stopping the nfs server pod, deleting the client pod should remove it's pod directory from the node.
@k8s-bot gce etcd3 e2e test this |
6e0a06a
to
2ac2222
Compare
@k8s-bot test this |
@k8s-bot cancel |
2ac2222
to
dea5915
Compare
dea5915
to
acff9f9
Compare
@k8s-bot test this |
5899e93
to
0274bd9
Compare
Sorry for the delay @jeffvance. I took a look and the
Am I missing something? |
@saad-ali Thanks. The test grids above are for Flaky tests but this pr removes the [Flaky] tag and would not be part of the flaky suite. Other than testing on GCE and GKE what else is needed for this pr? I will create a new commit that adds back the [Flaky] tag so that it can be proven (or not) that this pr removes the need for [Flaky]. |
[Flaky]
tag
@saad-ali all tests for this pr pass. If you lgtm we can see if the red flaky tests for "HostCleanup" work. thanks |
709c2f7
to
5f7bcd8
Compare
@k8s-bot kubemark e2e test this |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jeffvance, krousey, saad-ali
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
What this PR does / why we need it:
Increasingly we're seeing more failures in persistent volume e2e tests where pv tests are run in parallel with disruptive tests. The quick solution is to tag the pv tests as Flaky. This pr addresses one cause of the flakiness and adds a disruptive kubelet test.
Once this pr is shown to not produce flakes the [Flaky] tag for the "HostCleanup" tests will be removed in a separate pr.
Which issue this PR fixes
Adds regression tests to cover issues: #31272 and #37657
Special notes for your reviewer:
It's possible that one of the new tests, which relies on the existence of /usr/sbin/rpc.nfsd in the nfs-server pod, will not work in the GCI container env. If this turns out to be true then I will add a
SkipIfProviderIs("gke")
to theIt
block.Release note: