Artyom Lukianov
a4b367a6a3
Refactor and add new tests to hugepages e2e tests
...
Add tests to cover usage of multiple hugepages with different
page sizes under the same pod.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2020-06-08 11:23:54 +03:00
Kubernetes Prow Robot
b93e9d9395
Merge pull request #91671 from raresraf/patch-1
...
Fix typo test/cmd/README
2020-06-07 17:35:46 -07:00
Caleb Woodbine
39fd803140
Move watch creating into the retry loop
2020-06-08 09:29:28 +12:00
Kubernetes Prow Robot
14559bc406
Merge pull request #90498 from gaurav1086/fix_logging_race_condition
...
Fix race condition in logging
2020-06-07 10:33:45 -07:00
Amim Knabben
5e679cf51f
Scheduler integration tests standarization
2020-06-07 09:47:11 -04:00
Kubernetes Prow Robot
4c8e5c5a50
Merge pull request #91543 from bsdnet/runner
...
Simplify the logic by removing dead code and enhance logging
2020-06-06 17:29:45 -07:00
Kubernetes Prow Robot
f72299b09f
Merge pull request #91787 from ahg-g/ahg-bench
...
A benchmark to evaluate overhead of unschedulable pods
2020-06-05 20:49:45 -07:00
Kubernetes Prow Robot
454c13d09c
Merge pull request #91314 from Huang-Wei/postfilter-definition
...
Scheduler PostFilter definition
2020-06-05 16:53:45 -07:00
Jordan Liggitt
db4ca87d9d
Switch CSR approver/signer/cleaner controllers to v1
2020-06-05 18:45:34 -04:00
Kubernetes Prow Robot
fbcd0f84d8
Merge pull request #91827 from spiffxp/update-e2e-node-owners
...
Update node_e2e OWNERS
2020-06-05 15:30:44 -07:00
Kubernetes Prow Robot
3f8bb1bf50
Merge pull request #91685 from liggitt/csr-v1
...
CertificateSigningRequest v1 API
2020-06-05 15:30:14 -07:00
Wei Huang
69b9ba6012
Introduce PostFilter extension point
2020-06-05 13:23:45 -07:00
Antoine Pelisse
ed2cf6ef2c
FieldManager: Reset if we receive nil or a list with one empty item
2020-06-05 12:49:13 -07:00
Abdullah Gharaibeh
36a3ad8752
Added a benchmark to evaluate overhead of unschedulable pods
2020-06-05 15:19:07 -04:00
Aaron Crickenberger
019d3ee438
update e2e_node OWNERS file
...
specifically:
- move inactive approvers to emeritus
- add newly active contributors as reviewers
- add a sig/node label to PRs that touch this dir
2020-06-05 10:44:29 -07:00
Kubernetes Prow Robot
4e3dea81c1
Merge pull request #91580 from cofyc/fix90958
...
Remove KubeSchedulerConfiguration.BindTimeoutSeconds
2020-06-05 08:45:45 -07:00
Ed Bartosh
fa31c2c59c
e2e_node: fix node-kubelet-benchmark test
...
e2e_node tests trigger OOM events on COS versions > 73-11636-0-0
possibly because of this change in the COS v.73-11636-0-0:
Made containerd run as a standalone systemd service
OOM killer usually kills cadvisor and e2e_node.test processes
causing node-kubelet-benchmark failures.
Decreasing amount of pods from 105 to 90 frees enough memory for
the test to succeed.
2020-06-05 12:51:45 +03:00
lixiaobing1
2d66e7ecd3
another:Replace framework.Failf with ExpectNoError
2020-06-05 16:43:22 +08:00
Kubernetes Prow Robot
8ce1b535ee
Merge pull request #80831 from odinuge/hugetlb-pagesizes-cleanup
...
Add support for removing unsupported huge page sizes
2020-06-04 23:41:43 -07:00
Jordan Liggitt
a504445086
Generated files
...
Change-Id: I598d686849f4b97846757b227f5191bac031798b
2020-06-05 04:58:14 +00:00
Jordan Liggitt
ea8f4cb536
Update CSR e2e to use v1
2020-06-05 00:50:01 -04:00
Jordan Liggitt
e0f5cca410
Copy CSR v1beta1 to v1
...
* Remove prerelease tags
* Update copyright, package, imports to v1
* Remove signerName, usages, and condition status defaulting
2020-06-05 00:47:24 -04:00
Kubernetes Prow Robot
d585527c70
Merge pull request #91690 from apelisse/ignore-failures
...
fieldManager: Ignore and log all errors when updating managedFields
2020-06-04 17:59:59 -07:00
Kubernetes Prow Robot
64bba294ae
Merge pull request #91741 from oomichi/nit-ExpectError
...
Replace framework.Failf with ExpectNoError
2020-06-04 13:53:05 -07:00
Kubernetes Prow Robot
4dfa0912a0
Merge pull request #91734 from nodo/pod-deleted-unschedulable-pod-integration-tests
...
Add test case for a pod becoming schedulable when another pod is deleted
2020-06-04 13:52:56 -07:00
Kubernetes Prow Robot
1f4015806a
Merge pull request #91696 from Huang-Wei/pts-weight-2-policy-path
...
Adjust weight of PodTopologySpread to 2 in legacy Policy API
2020-06-04 13:52:36 -07:00
Kubernetes Prow Robot
1925eb81ac
Merge pull request #91689 from gnufied/fix-after-suite-race
...
Ensure CleanupActionHandle always completes
2020-06-04 10:51:15 -07:00
Antoine Pelisse
5378a788e4
fieldManager: Ignore and log all errors when updating managedFields
2020-06-04 09:32:23 -07:00
Andrea Nodari
e3bca5adc7
Add test case for a pod becoming schedulable when another pod is deleted
2020-06-04 18:11:19 +02:00
Wei Huang
7f178b2831
Adjust weight of PodTopologySpread to 2 in legacy Policy API
2020-06-04 07:35:25 -07:00
Kubernetes Prow Robot
2dc7b68b83
Merge pull request #91598 from Huang-Wei/podtopologyspread-ga
...
Remove `EvenPodsSpread` featuregate and related logic
2020-06-04 07:05:28 -07:00
Kubernetes Prow Robot
74bdc2b6a9
Merge pull request #90321 from k-toyoda-pi/add_error_check_e2e_disruption
...
Add checking error for disruption e2e test
2020-06-04 07:05:14 -07:00
Kubernetes Prow Robot
5dbe3e308a
Merge pull request #91737 from liggitt/psp-detect
...
Detect PSP enablement more accurately
2020-06-03 21:20:43 -07:00
Wei Huang
369a9001c6
Fix an issue that a Pod's nominatedNodeName cannot be cleared when the nominated node is deleted
2020-06-03 17:45:06 -07:00
Aaron Crickenberger
d960bf1903
behaviors: enforce behavior id must have suite id as prefix
2020-06-03 16:59:34 -07:00
Aaron Crickenberger
85724cf2c3
behaviors: fix kubeconform link
...
kubeconform was choking on a typo in the description field, so I fixed
the typo while adding friendlier logging to tell me which file was
invalid
I got curious why tests didn't catch this, and it turns out kubeconform
and the behavior tests use different codepaths to load and validate. So
I merged them together
2020-06-03 16:59:27 -07:00
Caleb Woodbine
63c694acdf
Fix verify
2020-06-04 08:57:28 +12:00
Kenichi Omichi
0ebaae88b1
Replace framework.Failf with ExpectNoError
2020-06-03 20:16:12 +00:00
Jordan Liggitt
0e062981d1
Detect PSP enablement more accurately
2020-06-03 13:14:19 -04:00
Kubernetes Prow Robot
f2e3154a14
Merge pull request #91642 from huffmanca/update-azure-e2e
...
Adjust Azure e2e binding mode
2020-06-03 05:44:32 -07:00
Yecheng Fu
1ff09c0934
Remove BindTimeoutSeconds from KubeSchedulerConfiguration
2020-06-03 09:54:06 +08:00
Kubernetes Prow Robot
9f9cb9d73e
Merge pull request #91597 from elmiko/remove-coreCount
...
remove unused variable from autoscaling e2e
2020-06-02 18:11:47 -07:00
Caleb Woodbine
8945d98805
Update desc, naming, cleanup handling
2020-06-03 11:36:21 +12:00
Kubernetes Prow Robot
bb11561ace
Merge pull request #80545 from spiffxp/promote-preemption-tests
...
Promote SchedulerPreemption e2e tests to Conformance
2020-06-02 15:28:16 -07:00
Kubernetes Prow Robot
a4e7db7cc3
Merge pull request #91336 from nodo/node-changed-unschedulable-pod-integration-tests
...
Add test case for a pod becoming schedulable when a node is updated
2020-06-02 13:26:17 -07:00
Wei Huang
133dde6358
Remove EvenPodsSpread
featuregate and related logic
2020-06-02 11:24:12 -07:00
Hemant Kumar
74be9f04fa
Ensure CleanupActionHandle always completes
...
The way gingko handles interrupts is:
- It starts running AfterSuite hooks in a separate goroutine (this includes cleanupAction hooks)
- Once AfterSuite hook is done executing it calls
os.Exit(1) on test suite.
So how cleanupFunc() that runs via defer in test can be interrupted
is:
- cleanupFunc starts running via defer (or AfterEach hook) but first
thing that function does is to remove cleanupHandle from
framework.RemoveCleanupAction.
- Test suite receives interrupt from user and AfterSuite block
starts executing
- remember that while cleanupFunc is running in goroutine#1,
AfterSuite is running concurrently in goroutine#2.
- AfterSuite hook has bunch of CleanupActions it needs to run which
were registered via framework.AddCleanupAction(cleanupFunc) but
once cleanupFunc starts executing via defer in the test, it will
remove the cleanupHandle from framework's aftersuite hooks.
- So if AfterSuite did not had anything to run (because
those actions were removed via framework.RemoveCleanupAction
then it will simply go to the last framework.AfterEach action and call os.Exit(1)
- So if os.Exit(1) is called before cleanupFunc has a chance to finish in defer, it will not complete.
2020-06-02 12:40:32 -04:00
Claudiu Belu
46df555ebe
test images: Adds step for fetching Windows image builder certificates
...
The google cloud builder job is launched without the required Windows Image Builder nodes
certificates that are needed for authentication when building the Windows container images.
Adds a step in test/images/cloudbuild.yaml that fetches a secret containing the certificates.
2020-06-02 07:50:45 -07:00
Kubernetes Prow Robot
84861d2102
Merge pull request #91558 from liggitt/csr-e2e
...
Add e2e coverage for the CertificateSigningRequest API, enable patch support for approval subresource
2020-06-02 06:28:15 -07:00
Rares Folea
d6b55b4469
Fix typo test/cmd/README
...
Typo in `Adding Tests` section
2020-06-02 14:50:55 +03:00
Roy Yang
d79f0c6b39
Simplify the logic by removing dead code and enhance logging
...
Signed-off-by: Roy Yang <royyang@google.com>
2020-06-01 23:43:04 -07:00
Kubernetes Prow Robot
1efe51b52b
Merge pull request #91643 from hasheddan/permissions
...
Fix minor typo in projected service account e2e test
2020-06-01 23:34:39 -07:00
Kubernetes Prow Robot
5592b5d67a
Merge pull request #91470 from MHBauer/fail-0-remote-images
...
explicitly fail if no images are found when running remote tests
2020-06-01 20:58:14 -07:00
Stephen Heywood
aaa0734259
Confirm list quantity after pod template collection deleted
2020-06-02 03:20:58 +00:00
Stephen Heywood
b26c782d72
Relocate tests from framework/events/events.go & update polling check
2020-06-02 02:34:35 +00:00
Kubernetes Prow Robot
f834c92ce1
Merge pull request #91632 from liggitt/ginkgo-recover-e2e
...
Defer ginkgo recovers
2020-06-01 16:24:14 -07:00
hasheddan
7b0b5cb8d1
Fix minor typo in projected service account e2e test
...
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-01 14:10:09 -05:00
Christian Huffman
7a55d3978c
Adjust Azure e2e binding mode
2020-06-01 14:55:46 -04:00
Jordan Liggitt
c9638d54d0
Defer ginkgo recovers
2020-06-01 11:02:41 -04:00
Kubernetes Prow Robot
b618411f1e
Merge pull request #91594 from neolit123/1.19-update-owners-test-lifecycle
...
test/e2e/lifecycle: update OWNERS
2020-05-31 23:57:55 -07:00
Kubernetes Prow Robot
46d08c89ab
Merge pull request #91363 from alejandrox1/tune-node-perf-workloads
...
Tuned npb is workload resources
2020-05-30 23:25:53 -07:00
Kubernetes Prow Robot
a017253ace
Merge pull request #88196 from janosi/sctp-e2e
...
e2e test cases for basic SCTP testing
2020-05-30 09:41:53 -07:00
Kubernetes Prow Robot
6468bfa770
Merge pull request #91585 from liggitt/pending-pod-timeout
...
Add debugging and timeouts to pending pod e2e
2020-05-30 02:58:08 -07:00
Michael McCune
0a9c3e9684
remove unused variable from autoscaling e2e
...
This change removes the `coreCount` variable and associated counting
logic from the cluster size autoscaling test. This variable was used
during the 1.9 release era, but the tests that used it were removed
before the 1.10 release. Please see the referenced commits[0][1] for
more information.
[0]
c8b807837a
[1]
fd738945b1
2020-05-29 17:33:45 -04:00
Lubomir I. Ivanov
93549d5037
test/e2e/lifecycle: update OWNERS
...
The e2e/lifecycle package is owned by SIG CL, although maybe this
should be moved to e2e/auth at some point.
- copy the OWNERS from /cmd/kubeadm (minus the area/kueadm label)
- remove the OWNERS file in /bootstrap letting the parent OWNERS file
manage this sub-package.
2020-05-29 23:12:44 +03:00
Kubernetes Prow Robot
d1586ea3f9
Merge pull request #91502 from deads2k/dyn-audit-removal-00
...
remove --feature-gates=DynamicAuditing
2020-05-29 11:56:20 -07:00
Jordan Liggitt
ee193bcd40
Add debugging and timeouts to pending pod e2e
2020-05-29 11:54:16 -04:00
Jordan Liggitt
0e2b13aed2
Add CertificateSigningRequest API coverage tests
2020-05-29 11:50:44 -04:00
Kubernetes Prow Robot
83f343011f
Merge pull request #91308 from julianvmodesto/remove-deprecated-server-dry-run-flag
...
Remove deprecated --server-dry-run from kubectl apply
2020-05-29 01:05:35 -07:00
Kubernetes Prow Robot
c8ceeed698
Merge pull request #91191 from denkensk/add-integration-test-nonpreempt
...
Add integration test for NonPreemption
2020-05-28 22:07:15 -07:00
Alex Wang
505ae6930f
add integration-test for NonPreemption
2020-05-29 11:54:03 +08:00
Xiang Dai
e09bc312cb
*.sh: cleanup all white noise
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-29 09:56:00 +08:00
Kubernetes Prow Robot
0891f69f5e
Merge pull request #91510 from ahg-g/ahg-preempt
...
Add Preemption benchmark
2020-05-28 16:38:12 -07:00
Laszlo Janosi
3ce43a1c96
Add e2e test for SCTP Service, Pod and Endpoint creation.
...
Add SCTP NetworkPolicy test.
2020-05-28 19:51:27 +00:00
Abdullah Gharaibeh
d650b57141
Added Preemption benchmark
2020-05-28 14:05:52 -04:00
Kubernetes Prow Robot
40e61d8a50
Merge pull request #90365 from janosi/createsctpservice
...
e2e test framework change for the SCTP e2e tests
2020-05-28 10:24:04 -07:00
Kubernetes Prow Robot
8b3c00c661
Merge pull request #89799 from julianvmodesto/patcher
...
Make kubectl client-side apply with server-side dry-run safer
2020-05-27 20:50:02 -07:00
David Eads
e857adbdfd
remove-api
2020-05-27 16:58:05 -04:00
Caleb Woodbine
cd314c193c
Fix linting
2020-05-28 08:36:34 +12:00
David Eads
ed4e6f1026
remove dynamic audit
2020-05-27 15:18:53 -04:00
Kubernetes Prow Robot
7c3f7065db
Merge pull request #91113 from soltysh/create_deployment
...
Refactor create deployment and add --port flag
2020-05-26 23:24:54 -07:00
Kubernetes Prow Robot
65c0a1e64b
Merge pull request #89716 from Jefftree/bdd-initial-link
...
Add behavior <-> conformance test linkage example for pods
2020-05-26 23:24:41 -07:00
Caleb Woodbine
1db0ca74a9
Update correct resource version used, watch retry function to not close
2020-05-27 16:11:41 +12:00
Caleb Woodbine
250bb35041
Update documentation
2020-05-27 12:09:02 +12:00
Kubernetes Prow Robot
6b15b1f4a6
Merge pull request #91467 from bobbypage/topology-manager-test
...
Mark Topology Manager Test as non-alpha and NodeFeature
2020-05-26 16:49:14 -07:00
Kubernetes Prow Robot
30eeacbf22
Merge pull request #91384 from alejandrox1/alejandrox1-patch-1
...
Added cadvisor test suite to flag info message
2020-05-26 16:48:56 -07:00
Stephen Heywood
ecb68742e0
Fix golint issue
2020-05-26 23:34:53 +00:00
Stephen Heywood
b3baef5e05
Fix gofmt issues
2020-05-26 22:04:55 +00:00
Morgan Bauer
a9b999c00d
remove out of date test config
2020-05-26 14:46:38 -07:00
Morgan Bauer
58924c2de5
explicitly fail if no images are found when running remote tests
...
The previous implementation succeeds if no images are run. This causes
silent failures when image matchers are provided that do not match any image.
2020-05-26 14:08:27 -07:00
Kubernetes Prow Robot
f91c1ef60e
Merge pull request #91370 from justaugustus/cni
...
Update CNI to v0.8.6
2020-05-26 13:38:01 -07:00
Caleb Woodbine
9a77a00c7c
Fix formatting
2020-05-27 08:34:03 +12:00
David Porter
f5b8c3d746
Mark Topology Manager Test as non-alpha and NodeFeature
2020-05-26 12:10:18 -07:00
Maciej Szulik
ed1a0e9456
Refactor create deployment and add --port flag
2020-05-26 17:33:28 +02:00
Kubernetes Prow Robot
f097cee156
Merge pull request #90960 from zhouya0/fix_kubectl_create_secret_docker_registry
...
Fix kubectl create secret docker-registry --from-file
2020-05-26 05:39:12 -07:00
Stephen Heywood
7622a794da
Use polling while deleting the collection of events
2020-05-26 02:51:44 +00:00
Stephen Heywood
cd2ad2b986
Removing extra boilerplate from test
2020-05-26 02:34:15 +00:00
Andrea Nodari
8a39a2c24e
Add test case for a pod becoming schedulable when a node is updated
...
Also, avoid unnecessary copying when changing node taints
2020-05-25 21:59:36 +02:00
Caleb Woodbine
b9c934102b
Update default retrywatcher resource version
2020-05-25 15:27:32 +12:00
Kubernetes Prow Robot
0e37bcce2c
Merge pull request #88385 from tallclair/node-reviews
...
Remove tallclair from some OWNERS files
2020-05-24 20:23:11 -07:00
Caleb Woodbine
1bdb854e7e
Add resource deleting if there wasn't a delete watch event found
2020-05-25 14:59:25 +12:00
Caleb Woodbine
9f0c24ddcf
Fix checks, amount checking
2020-05-25 13:33:48 +12:00
Caleb Woodbine
b63b147d12
Update name, watch event occurence checking
2020-05-25 11:49:57 +12:00
Jorge Alarcon Ochoa
a069eec2bb
Added cadvisor test suite to flag info message
...
The cadvisor test suite is not mentioned in the remote runner's
`--test-suite` flag.
This PR will mention the existence of the cadvisor test suite.
2020-05-23 19:10:32 -04:00
Kubernetes Prow Robot
f01d848c48
Merge pull request #91329 from dims/switch-kube-controller-manager-to-distroless-image
...
Switch kube-controller-manager to distroless image
2020-05-22 17:23:10 -07:00
Stephen Augustus
b692502a9d
Update CNI to v0.8.6
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-22 17:48:56 -04:00
Christopher M. Luciano
2b091f60ca
ingress: Add Ingress to v1 API and update backend to defaultBackend
...
ingress: use new serviceBackend split
ingress: remove all v1beta1 restrictions on creation
This change removes creation and update restrictions enforced by
k8s 1.18 for not allowing resource backends.
Paths are no longer
required to be valid regex and a PathType is now user-specified
and no longer defaulted.
Also remove all TODOs in staging/net/v1 types
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-05-22 11:57:41 -04:00
alejandrox1
ebd84a5517
Tuned npb is workload resources
...
Lowering the amount of cpu allocated to this workload will set the
resources allocated to be similar to the other npb and tf workload in
this tests.
This will also allow to run all three workloads in a n1-standard-12 gcp
instance - which has 16 cpus and 60 GB.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-05-22 09:30:43 -04:00
Kubernetes Prow Robot
9e06faa1fb
Merge pull request #91240 from tosi3k/bump-am-version
...
Update kube-addon-manager to v9.1.1
2020-05-21 19:40:37 -07:00
Davanum Srinivas
b1742f19ef
Switch kube-controller-manager to distroless image
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-21 22:33:54 -04:00
Stephen Heywood
d373bef4e4
Use polling while deleting the collection of pod templates
2020-05-22 01:33:20 +00:00
Kubernetes Prow Robot
bded41a817
Merge pull request #90689 from aojea/nfsv6
...
add ipv6 support to the e2e nfs tests
2020-05-21 03:30:36 -07:00
Aaron Crickenberger
4857893a0c
Promote preemption e2e tests to Conformance
2020-05-20 23:05:15 -07:00
Caleb Woodbine
32e0da39fc
Update to use watcher
2020-05-21 15:58:55 +12:00
Kubernetes Prow Robot
d32875543b
Merge pull request #91227 from aojea/kcliwait
...
kubectl run test: the pod wait (some time) until attach before printing
2020-05-20 19:41:20 -07:00
Kubernetes Prow Robot
97145d685c
Merge pull request #91077 from brianpursley/kubectl-501-2
...
Changed kubectl config set-cluster and set-credentials to support process substitution for filenames
2020-05-20 16:45:25 -07:00
Kubernetes Prow Robot
6eefe7d7d3
Merge pull request #90552 from dims/separate-out-cri-related-code-into-self-contained-package
...
Separate out cri related code into self contained package
2020-05-20 16:44:46 -07:00
Kubernetes Prow Robot
57b0c310b7
Merge pull request #90390 from ii/promote-serviceaccount-resource-lifecycle-test
...
Promote ServiceAccount resource lifecycle test - +3 conformance coverage
2020-05-20 16:44:33 -07:00
Kubernetes Prow Robot
62a4cb930b
Merge pull request #90367 from julianvmodesto/conformance-diff-dry-run
...
Promote diff and dry-run to conformance
2020-05-20 16:44:19 -07:00
Caleb Woodbine
82d76e2d6d
Add dynamic client resource watch function
2020-05-21 10:00:17 +12:00
Julian V. Modesto
3e93f99262
Remove deprecated --server-dry-run.
...
For the beta server-side dry-run feature, `kubectl apply` provided the
`--server-dry-run` flag.
As of 1.18, this flag was deprecated and marked to be removed after 1
release.
2020-05-20 16:53:53 -04:00
Davanum Srinivas
0608e8be25
update bazel BUILD files
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:47 -04:00
Davanum Srinivas
5692926914
Move packages for slightly better UX for consumers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:46 -04:00
Antoni Zawodny
15e491eb2f
Update kube-addon-manager to v9.1.1
2020-05-20 09:50:20 +02:00
Caleb Woodbine
a3248a7ba8
Add documentation; Update base from invarients
2020-05-20 16:28:01 +12:00
Stephen Heywood
758e3c76a4
Removing extra boilerplate from test
2020-05-20 01:21:04 +00:00
Stephen Heywood
7772a42114
Switch pod template to use Agnhost
2020-05-19 23:44:19 +00:00
Kubernetes Prow Robot
739a61a871
Merge pull request #91221 from gnufied/tolerate-pod-not-found
...
Tolerate pod not found errors in storage e2e
2020-05-19 16:32:33 -07:00
Kubernetes Prow Robot
6cf4ab3c8c
Merge pull request #91071 from alculquicondor/integration_new_node
...
Add test case for a pod becoming schedulable when a node is added
2020-05-19 15:22:33 -07:00
Kubernetes Prow Robot
0e8a2d2244
Merge pull request #90793 from pohly/flaky-mount-volume-calls
...
mock e2e test: reduce flakiness by not testing all calls
2020-05-19 15:22:19 -07:00
Julian V. Modesto
f0eb68c0cf
Make client-side apply safer
...
- Remove the ServerDryRun field and delegate it entirely to the resource.Helper
- Use resource.Helper for deletions (as in `kubectl apply --force`)
instead of using the pruner's method that uses a dynamic client
- Reduce the resource.Helpers and times we check for server-side dry-run
in apply
2020-05-19 17:01:47 -04:00
Davanum Srinivas
fb7cb4307e
Move nfs-provisioner from quay.io/kubernetes_incubator to staging-csi
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 14:46:33 -04:00
Hemant Kumar
155db11b73
Do not fail test if pod is not found
2020-05-19 14:16:25 -04:00
Davanum Srinivas
5c966e3beb
Use staging-csi to work around quay.io availability
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 12:51:54 -04:00
Antonio Ojea
a0f0e58373
kubectl run test wait until pod terminates
...
the test "executing a command with run and attach without stdin"
is inherently flaky, there are several discussion but seems that
it requires changing the way the kubectl run and attach works.
The test fails if we are not able to attach before the container prints
"stdin closed", but hasn't exited yet.
Because the race seems difficult to solve, we can wait 5 seconds
before printing to give time to kubectl to attach to the container.
2020-05-19 13:09:32 +02:00
Jefftree
c7216b9a1b
Fix unmarshal for tests without behaviors
2020-05-18 23:35:25 -07:00
Jefftree
ceb67482c4
link 2 pod conformance tests with behaviors
2020-05-18 23:35:25 -07:00
Stephen Heywood
8ccf59027e
Add: test to ensure that a set of pod templates can be removed by delete collection
2020-05-19 04:33:08 +00:00
Stephen Heywood
cb7a680896
Add: test to ensure that a set of events can be removed by delete collection
2020-05-18 21:49:30 +00:00
Kubernetes Prow Robot
0d4464d014
Merge pull request #91150 from brianpursley/e2e-delete-pods
...
Add code to delete pods at the end of e2e tests to free up capacity
2020-05-18 13:33:48 -07:00
Antoni Zawodny
6b1393a3c5
Remove unnecessary logging info from kubemark nodes annotation
2020-05-18 16:01:50 +02:00
Caleb Woodbine
fcb04acd70
Add WIP watch event tooling
2020-05-18 16:32:38 +12:00
Kubernetes Prow Robot
1911ca213f
Merge pull request #91045 from saschagrunert/port-forward-deflake
...
Deflake port-forward e2e test
2020-05-16 19:00:14 -07:00
Kubernetes Prow Robot
d4ce66fe0b
Merge pull request #90660 from Huang-Wei/synced-sched-err-call
...
Move unschedulable Pod to internal schedulingQ synchronously
2020-05-16 19:00:06 -07:00
Kubernetes Prow Robot
b170451caa
Merge pull request #90183 from dims/update-kubernetes-to-klog-v2
...
Update kubernetes to klog v2
2020-05-16 18:59:51 -07:00
Kubernetes Prow Robot
052f9c8e7d
Merge pull request #90861 from dims/drop-conformance-tag-for-a-hostpath-test
...
Remove [Conformance] from "HostPath should give a volume the correct mode" test
2020-05-16 07:36:40 -07:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Wei Huang
133a02540f
Move unschedulable Pod to internal schedulingQ synchronously
...
- use in-cache Pod instead of real-time Pod (by calling API server) to mark it as unschedulable
in internal schedulingQ
- remove the backoff logic as now we don't call API server
- the whole logic is changed to a synchronous call
2020-05-15 19:27:28 -07:00
Brian Pursley
20642720c6
Added pod deletion utility methods and added code to delete remaining pods in some e2e tests to try to prevent exceeding node capacity
2020-05-15 21:21:37 -04:00
Brian Pursley
84d5e664af
Changed kubectl config set-cluster and set-credentials to support process substitution for filenames
2020-05-15 09:22:59 -04:00
Kubernetes Prow Robot
32680e1c1e
Merge pull request #91039 from Jefftree/conformance-fix-space
...
remove empty line before ConformanceIt
2020-05-15 02:48:39 -07:00
Kubernetes Prow Robot
78abe8b270
Merge pull request #90978 from brianpursley/kubernetes-89259
...
Changed scheduler to use patch when updating pod status
2020-05-15 02:47:53 -07:00
Kubernetes Prow Robot
f12799e787
Merge pull request #90718 from fasaxc/improve-netpol-diags
...
Avoid early exit when collecting post-E2E failure logs.
2020-05-15 02:47:26 -07:00
Kubernetes Prow Robot
8cb57dd09a
Merge pull request #90180 from JacobTanenbaum/e2eTest-conntrack
...
add a test that shows the preservation UDP traffic when server pod cycles
2020-05-15 02:47:12 -07:00
Kubernetes Prow Robot
53a707daae
Merge pull request #88885 from julianvmodesto/kubectl-field-managers
...
Improve kubectl field manager names for clearer conflicts
2020-05-15 02:46:58 -07:00
zhouya0
bbf41448f6
Fix kubectl create secret docker-registry
2020-05-15 12:14:03 +08:00
Brian Pursley
9eb8e7a6d6
Changed scheduler to use patch when updating pod status to avoid potential conflicts
2020-05-14 15:17:53 -04:00
Kubernetes Prow Robot
5bda0c1b3b
Merge pull request #83726 from cofyc/fix56180
...
scheduler: Move all volume binding code into VolumeBinding plugin
2020-05-14 10:08:23 -07:00
Aldo Culquicondor
c8e2d5ba7c
Add test case for a pod becoming schedulable when a node is added
...
We have little coverage around node addition and removal. Since distinct event handlers interact, it is important to cover this in integration tests.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:59:41 -04:00
Aldo Culquicondor
35b9ab1227
Remove unnecessary clientset arg from initPausePod
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:47:12 -04:00
Kubernetes Prow Robot
438debfb72
Merge pull request #91057 from ingvagabund/start-informers-outside-of-InitTestScheduler
...
integration: start informer and scheduler outside of InitTestScheduler
2020-05-14 06:22:22 -07:00
Kubernetes Prow Robot
9978c281ec
Merge pull request #90773 from gnufied/fix-csi-e2e-orphans
...
Fix CSI e2e leaving pods in terminating state
2020-05-13 22:14:21 -07:00
Kubernetes Prow Robot
9188bbbdaa
Merge pull request #90990 from hasheddan/guestbook
...
Retry resolving TCP address in agnhost/guestbook
2020-05-13 15:59:24 -07:00
Kubernetes Prow Robot
4339ac30a0
Merge pull request #90554 from vboulineau/vboulineau/fix_win_stats_init_containers
...
kubelet: fix `/stats/summary` endpoint on Windows when init-containers are present on the node
2020-05-13 15:58:51 -07:00
Jacob Tanenbaum
59082e80e3
Add a test that checks if conntrack entries are cleaned up for UDP traffic
...
ensure that when a pod servicing UDP traffic is deleted the conntrack entries
are cleaned up and another backend can pick up the traffic with minimal
interruption
When using NodePort services and long running connections that on pod deletion
stale conntrack entries can halt the flow of traffic. Add a test case to check
that conntrack entries are cleaned up.
2020-05-13 16:45:58 -04:00
Julian V. Modesto
7af0011884
Promote diff and dry-run to conformance
2020-05-13 13:04:41 -04:00
Jan Chaloupka
65e9826f79
integration: start informer and scheduler outside of InitTestScheduler
...
In case two or more controllers share the informers created through InitTestScheduler,
it's not safe to start the informers until all controllers set their informer
indexers. Otherwise, some controller might fail to register their indexers
in time. Thus, it's responsibility of each consumer to make sure all informers
are started after all controllers had time to get initiliazed.
2020-05-13 18:19:43 +02:00
Hemant Kumar
da941d8d3e
Create mock CSI driver resources in different namespace
2020-05-13 11:16:00 -04:00
Hemant Kumar
708261e06c
Make AfterSuite hooks ordered
...
ginkgo has a weird bug that - AfterEach does not get called when
testsuite exits with certain kind of interrupt (Ctrl-C for example).
More info - https://github.com/onsi/ginkgo/issues/222
We workaround this issue in Kubernetes by adding a special hook into
AfterSuite call, but AfterSuite can not be used to peforms certain
kind of cleanup because it can race with AfterEach hook and
framework.AfterEach hook will set framework.ClientSet to nil.
This presents a problem in cleaning up CSI driver and testpods. This
PR removes cleanup of driver manifest via CleanupAction because that
is not safe and racy (such as f.ClientSet may disappear!) and makes
AfterSuite hooks run in a ordered fashion
2020-05-13 11:15:27 -04:00
Kubernetes Prow Robot
98d404d280
Merge pull request #90963 from justaugustus/kube-cross
...
base-images: Update to kube-cross:v1.13.9-5
2020-05-13 00:19:03 -07:00
Kubernetes Prow Robot
620b7720e6
Merge pull request #90828 from gaurav1086/fix_data_race_storage
...
Fix date race in storage tests
2020-05-13 00:18:40 -07:00
Sascha Grunert
c7648f5984
Deflake port-forward e2e test
...
We should read and verify the data before actually closing the
connection to avoid connection based-races within the test.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-13 08:53:31 +02:00
Kubernetes Prow Robot
07e916b05a
Merge pull request #90155 from robscott/endpointslice-test
...
Improving EndpointSlice tests
2020-05-12 21:00:26 -07:00
Jefftree
365f1d7d82
remove space before ConformanceIt
2020-05-12 17:55:32 -07:00
Kubernetes Prow Robot
6acceaeb2d
Merge pull request #91019 from aojea/rejected
...
improve error logging on e2e pod create function
2020-05-12 15:50:26 -07:00
Stephen Augustus
b5117ae8b5
base-images: Update to kube-cross:v1.13.9-5
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-12 18:14:33 -04:00
hasheddan
921b76ceaa
Move getting IP address into retry loop for agnhost/guestbook
...
Removes the fatal error from getIP and moves it to
retry loop so that application will not immediately
crash on failure.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-12 13:55:17 -05:00
Kubernetes Prow Robot
53ba2ce026
Merge pull request #90865 from Huang-Wei/dedicated-informfactory-node-controller
...
test: Use dedicated informerFactory for node lifecycle controller
2020-05-12 08:24:59 -07:00
Kubernetes Prow Robot
9fce6b7147
Merge pull request #89023 from k-toyoda-pi/e2e_pdb_remove_unnecessary_error
...
Remove unnecessary return value in e2e/apps/disruption
2020-05-12 08:24:36 -07:00
hasheddan
9081dfb68d
Improve error messages in agnhost/guestbook
...
This updates the error messages when registering a
node to be more explicit about what error occurred
and how long it will wait to retry.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-12 09:58:53 -05:00
Antonio Ojea
aa4df0422b
improve error logging on e2e pod create function
2020-05-12 13:41:56 +02:00
Yecheng Fu
c14b749521
scheduler/volumebinding: move all volume binding logic into VolumeBinding plugin
2020-05-12 10:13:05 +08:00
Kubernetes Prow Robot
ec0eec68b2
Merge pull request #90979 from damemi/fix-preemption-error
...
Add missing resource limits for e2e preemption
2020-05-11 15:23:07 -07:00
Kubernetes Prow Robot
f553458bbd
Merge pull request #90925 from gaurav1086/fix_namespace_datarace
...
Fix data race in namespace error handling
2020-05-11 15:22:58 -07:00
Kubernetes Prow Robot
437c2df36f
Merge pull request #90855 from wojtek-t/remove_listwatchuntil
...
Remove ListWatchUntil
2020-05-11 15:22:35 -07:00
Kubernetes Prow Robot
fc2c410a5a
Merge pull request #90806 from tosi3k/kubemark_node_size_objects
...
Add option to resize kubemark node objects size
2020-05-11 15:22:21 -07:00
hasheddan
0cacc44fc9
Retry resolving TCP address in agnhost/guestbook
...
Currently the guestbook application will fail if unable
to resolve TCP address on first attempt. If pod networking
is not setup when the application starts then it will be
unable to resolve, leading to frequent failures. This moves
the address resolution into the retry block so it will try
again if unsuccessful on first attempt.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-11 13:45:28 -05:00
Tim Allclair
029a144ae9
Remove tallclair from some OWNERS files
2020-05-11 11:44:38 -07:00
Gaurav Singh
d8a752ff72
Fix data race in namespace
...
Code review changes
2020-05-11 10:46:18 -04:00
wojtekt
ead12b02fe
Remove ListWatchUntil
2020-05-11 16:34:18 +02:00
Mike Dame
e623cc3abf
Add missing resource limits for e2e preemption
2020-05-11 10:01:57 -04:00
Gaurav Singh
93fa760c0a
Code review changes
2020-05-11 08:40:27 -04:00
Kubernetes Prow Robot
7937aa60a3
Merge pull request #90687 from aojea/connt
...
use conntrack instead of the /proc file for the e2e test TCP CLOSE_WAIT
2020-05-10 18:57:50 -07:00
Kubernetes Prow Robot
3c159bb10f
Merge pull request #88532 from zioproto/drop-network-tier-alpha-gate
...
Drop the alpha gating for Network Service Tier configuration support
2020-05-10 12:13:50 -07:00
Kubernetes Prow Robot
d63d77dc4c
Merge pull request #89547 from smarterclayton/graceful
...
netexec: Allow graceful shutdown testing from netexec
2020-05-09 16:49:50 -07:00
Julian V. Modesto
360c348d0e
Set kubectl field manager names
2020-05-09 13:24:39 -04:00
Antonio Ojea
6f9c0f9edd
track debian-iptables test image version
2020-05-09 16:54:23 +02:00
Antonio Ojea
5c8b88ec08
use conntrack instead of the /proc file
...
use the debian-iptables image, that is the base image used for the
kube-proxy one.
It already has the conntrack command, so no need to check for it.
2020-05-09 15:22:05 +02:00
Kubernetes Prow Robot
78e3ea1f20
Merge pull request #90740 from damemi/improve-preemption-e2es
...
Balance node usage before creating victim pods in preemption e2e
2020-05-09 00:44:28 -07:00