Kubernetes Prow Robot
2fbe301b2d
Merge pull request #93296 from chelseychen/event-e2e-conformance
...
Add conformance test for events Update operation
2020-07-22 13:51:41 -07:00
Caleb Woodbine
c9acca7c48
Update and improve Endpoints resource lifecycle test
2020-07-23 08:42:07 +12:00
Stephen Augustus
99dd7570eb
[VDF] Remove references to gcr.io/google-containers
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:10:12 -04:00
Stephen Augustus
90c223fa5c
[VDF] Remove references to us.gcr.io/k8s-artifacts-prod
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:08:30 -04:00
Jordan Liggitt
8f9be8af13
Stabilize integration test names
2020-07-22 11:58:54 -04:00
Kubernetes Prow Robot
c2b7aa0353
Merge pull request #93000 from hakman/node-os-arch
...
Skip arch dependent kubectl test for non AMD64 nodes
2020-07-22 04:28:05 -07:00
Antonio Ojea
4bbf2c4a3e
e2e dns test autodetect the IP family
...
instead of using tag to discriminate the e2e test, we can use
the e2e framework IPFamily method.
2020-07-22 12:23:21 +02:00
Caleb Woodbine
080ad0990a
Add logs for Pod observations while watching for a running state
2020-07-22 16:44:18 +12:00
Caleb Woodbine
a0861aeb52
Fix fmt and staticcheck
2020-07-22 15:23:56 +12:00
Kubernetes Prow Robot
b0140227fb
Merge pull request #93306 from bart0sh/PR0092-revert-foreground-deletion
...
Revert "e2epod: use foreground deletion"
2020-07-21 19:52:43 -07:00
Kubernetes Prow Robot
32438cf269
Merge pull request #93156 from logicalhan/triage-api-machinery
...
automatically assign triage labels to api-machinery tagged PRs
2020-07-21 19:52:34 -07:00
Caleb Woodbine
d26cb7150a
Remove created check
2020-07-22 13:55:29 +12:00
Caleb Woodbine
84de375921
Fix error message
2020-07-22 11:17:37 +12:00
Caleb Woodbine
d60a57ad73
Update watches to use watchtools.Until, namespace var name
2020-07-22 10:33:55 +12:00
Caleb Woodbine
bd34e1c445
Fix label patch and check
2020-07-22 10:07:18 +12:00
Caleb Woodbine
11492f7b91
Add check for Modified after patch; Update checks for scale
2020-07-22 09:57:11 +12:00
Caleb Woodbine
fc8e24c686
Add watchtools.Until for fetching watch events; Remove plain watch
2020-07-22 09:29:09 +12:00
Caleb Woodbine
9c2330db4c
Revert ginkgoRecover
2020-07-22 08:48:28 +12:00
Ed Bartosh
6a40cc90e9
Revert "e2epod: use foreground deletion"
...
This reverts commit af91e76d
"e2epod: use foreground deletion"
and fixes node-kubelet-conformance tests.
2020-07-21 22:40:31 +03:00
Chelsey Chen
5b1bdd8e38
Add comformance test for event Update
2020-07-21 14:53:26 -04:00
Kubernetes Prow Robot
a1a2f8c5f8
Merge pull request #93225 from hasheddan/storage-panic
...
Return error instead of panic if container index outside bounds
2020-07-21 09:15:15 -07:00
Kubernetes Prow Robot
adabcc31f0
Merge pull request #93212 from liggitt/gcepd-delete
...
Deflake GCEPD namespace deletion test
2020-07-21 01:55:28 -07:00
Stephen Heywood
86ba88d52f
Promote: Discovery PreferredVersion test
2020-07-21 00:30:25 +00:00
Kubernetes Prow Robot
5feab0aa1e
Merge pull request #93207 from hasheddan/nvidia-gpu-installer
...
Use local daemonset manifest for installing Nvidia drivers
2020-07-20 09:02:51 -07:00
Kubernetes Prow Robot
c237804533
Merge pull request #92755 from chelseychen/event-e2e-conformance
...
Promote Event CRUD tests to conformance
2020-07-20 05:50:51 -07:00
Caleb Woodbine
125e839d77
Fix formatting
2020-07-20 13:16:35 +12:00
Caleb Woodbine
05163497bc
Fix bazel build
2020-07-20 11:15:57 +12:00
Caleb Woodbine
b38d7f25fe
Remove watch tooling
2020-07-20 11:00:37 +12:00
Caleb Woodbine
dc30156fb8
Update error handling formatting, handling of type conversion in watch event loop
2020-07-20 10:03:49 +12:00
Caleb Woodbine
6e04fbdde1
Update error statements
2020-07-20 10:03:49 +12:00
Caleb Woodbine
a2c19d7ae0
Add watch checks
2020-07-20 10:03:49 +12:00
Caleb Woodbine
a4e29f2481
Fix formatting
2020-07-20 10:03:49 +12:00
Caleb Woodbine
cb7835bcb0
Add check for unmarshalling onto a Pod object type
2020-07-20 10:03:49 +12:00
Caleb Woodbine
c6a86b5fed
Fix test to use values from v1, wording; Update variables to be more templatable
2020-07-20 10:03:49 +12:00
Caleb Woodbine
47cd8dde56
Update to check response data of UpdateStatus instead of listing after updating the status
2020-07-20 10:03:49 +12:00
Caleb Woodbine
19e9368eb8
Create Pod+PodStatus resource lifecycle test
2020-07-20 10:03:49 +12:00
Kubernetes Prow Robot
363c3b89f5
Merge pull request #93198 from justaugustus/go1146
...
Update Golang to v1.14.6
2020-07-19 09:10:50 -07:00
hasheddan
4e4d629af7
Return error instead of panic if container index outside bounds
...
Adds check for index out of bounds error instead of panic when passing
container to kubectl exec.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-19 10:04:53 -05:00
Kubernetes Prow Robot
66020d2292
Merge pull request #93110 from dims/adding-dims-as-reviewer-for-test
...
Adding dims as reviewer for test/
2020-07-19 04:32:50 -07:00
Kubernetes Prow Robot
92e471a0bd
Merge pull request #93216 from liggitt/deflake-preferred-version
...
Deflake PreferredVersion e2e test
2020-07-18 21:44:50 -07:00
Jordan Liggitt
9718e7906f
Deflake PreferredVersion e2e test
2020-07-18 22:51:56 -04:00
hasheddan
e990698d5f
Use local daemonset manifest for installing Nvidia drivers
...
Updates sig-scheduling e2e Nvidia GPU tests to install drivers using
local manifest by default. Currently the DaemonSet is fetched from the
GoogleCloudPlatform/container-enginer-accelerators repo by default.
Using a local manifest allows for manually specifying the image
cos-gpu-installer image rather than always using latest. A remote
manifest can still be fetched by setting
NVIDIA_DRIVER_INSTALLER_DAEMONSET env var.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-18 21:01:00 -05:00
Kubernetes Prow Robot
a789d56b65
Merge pull request #93119 from dcbw/e2e-ingress-misisng-return
...
test/e2e/ingress: add missing return to fix panics on !GCE
2020-07-18 13:58:49 -07:00
Jordan Liggitt
9d83ca4b02
Deflake GCEPD namespace deletion test
2020-07-18 15:32:02 -04:00
Kubernetes Prow Robot
3a0b683c01
Merge pull request #93084 from ii/heyste-get-code-version-test
...
Promote Check Server Version e2e test to conformance - 1 Endpoint Coverage
2020-07-18 06:14:50 -07:00
Stephen Augustus
3bbcba9b84
Update Golang to v1.14.6
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-17 14:47:21 -04:00
Kenichi Omichi
80c19e4cef
Move MasterUpgrade() out from e2e framework
...
MasterUpgrade() is called only from cloud/gcp/cluster_upgrade.go.
And the function depends on GCP, so it is nice to move this function
from e2e framework.
2020-07-17 18:27:35 +00:00
Kubernetes Prow Robot
f9ad7db9a6
Merge pull request #92349 from jingyih/update_etcd_server_3p4p9
...
Update default etcd server to 3.4.9
2020-07-17 07:53:01 -07:00
Kubernetes Prow Robot
a3e3b355fa
Merge pull request #92619 from ii/heyste-get-apigroup-list-test
...
Write checkAPIGroupPreferredVersion Test - +16 Endpoint coverage
2020-07-17 02:51:01 -07:00
Kubernetes Prow Robot
23b66eaabd
Merge pull request #93038 from ii/fix-ingress-status
...
Write readNetworkingV1NamespacedIngressStatus test - +1 endpoint coverage
2020-07-16 23:05:00 -07:00
Stephen Heywood
ca550a280a
Relocate preferred version e2e test to discovery.go
2020-07-16 21:13:55 +00:00
Stephen Heywood
6e3919fae7
Check that empty sets are passed through the test
2020-07-16 20:50:14 +00:00
Stephen Heywood
a0410c8789
Claify the intention of the e2e test
2020-07-16 20:50:14 +00:00
Stephen Heywood
f886164491
Validate that PreferredVersion contains a valid option
2020-07-16 20:50:14 +00:00
Stephen Heywood
e81b6dce15
Update BUILD
2020-07-16 20:50:14 +00:00
Stephen Heywood
bc873c192c
Fix naming for apigroup list
2020-07-16 20:50:14 +00:00
Stephen Heywood
dcf72dfd32
Update bazel BUILD
2020-07-16 20:50:14 +00:00
Stephen Heywood
a9cb510c7f
Fix test name and log formatting
2020-07-16 20:50:14 +00:00
Stephen Heywood
6a6ccbc45c
Add e2e test for get*APIGroupList endpoints
2020-07-16 20:50:14 +00:00
Han Kang
f3c02d7221
auto triage sig-instrumentation tagged PRs
...
Change-Id: Ibae7373fb197485aeb222f1455515178cc3b4d13
2020-07-16 13:48:25 -07:00
Han Kang
9129dbc98b
automatically assign triage labels to api-machinery tagged PRs
...
Change-Id: Ifcc8a85d190d6370423af27f6e6c4c90b8472981
2020-07-16 13:13:59 -07:00
Dan Williams
e24f9ed1cd
test/e2e/ingress: add missing return to fix panics on !GCE
...
A missing 'return' causes the AfterEach() to try to clean up
GCE ingress objects when they haven't been created, because
the test was skipped in BeforeEach().
2020-07-15T17:21:10.3690332Z [BeforeEach] GCE [Slow] [Feature:kubemci]
2020-07-15T17:21:10.3690715Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/ingress.go:592
2020-07-15T17:21:10.3690970Z Jul 15 17:21:10.368: INFO: Only supported for providers [gce gke] (not )
2020-07-15T17:21:10.3694003Z [AfterEach] GCE [Slow] [Feature:kubemci]
2020-07-15T17:21:10.3696927Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/ingress.go:614
2020-07-15T17:21:10.3697845Z [1mSTEP[0m: No ingress created, no cleanup necessary
2020-07-15T17:21:10.3698213Z [1mSTEP[0m: Cleaning up cloud resources
2020-07-15T17:21:15.3709789Z E0715 17:21:15.370134 78875 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
2020-07-15T17:21:15.3710883Z goroutine 63 [running]:
2020-07-15T17:21:15.3711892Z [AfterEach] [sig-network] Loadbalancing: L7
2020-07-15T17:21:15.3712802Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.logPanic(0x40215e0, 0x7b71700)
2020-07-15T17:21:15.3713654Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:179
2020-07-15T17:21:15.3714871Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:74 +0xa3
2020-07-15T17:21:15.3715130Z Jul 15 17:21:15.370: INFO: Waiting up to 3m0s for all (but 0) nodes to be ready
2020-07-15T17:21:15.3715703Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
2020-07-15T17:21:15.3716215Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:48 +0x82
2020-07-15T17:21:15.3716610Z panic(0x40215e0, 0x7b71700)
2020-07-15T17:21:15.3717184Z /opt/hostedtoolcache/go/1.13.4/x64/src/runtime/panic.go:679 +0x1b2
2020-07-15T17:21:15.3717803Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).deleteForwardingRule(0x0, 0x0, 0xc0034cce04, 0x2)
2020-07-15T17:21:15.3718372Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:158 +0x20b
2020-07-15T17:21:15.3718859Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).Cleanup(0x0, 0x0, 0x1, 0xc0034ccd68)
2020-07-15T17:21:15.3719369Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:724 +0x38
2020-07-15T17:21:15.3719947Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).CleanupIngressControllerWithTimeout.func1(0xc0034ccd78, 0xc00315e8a0, 0xc0002acf88)
2020-07-15T17:21:15.3720474Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:88 +0x33
2020-07-15T17:21:15.3720968Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtection(0xc0034ccfa0, 0xc0034cce00, 0x0, 0x0)
2020-07-15T17:21:15.3721508Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:211 +0x6f
2020-07-15T17:21:15.3722020Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.WaitFor(0xc003393120, 0xc0034ccfa0, 0xc00341ae40, 0x0, 0x0)
2020-07-15T17:21:15.3722542Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:528 +0x159
2020-07-15T17:21:15.3723233Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.pollInternal(0xc003393120, 0xc0034ccfa0, 0x0, 0x0)
2020-07-15T17:21:15.3723771Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:414 +0x9f
2020-07-15T17:21:15.3724305Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.Poll(0x12a05f200, 0xd18c2e2800, 0xc0034ccfa0, 0xc0000a4940, 0xc0034ccfb0)
2020-07-15T17:21:15.3724872Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:408 +0x4d
2020-07-15T17:21:15.3725377Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).CleanupIngressControllerWithTimeout(0x0, 0xd18c2e2800, 0x0, 0x0)
2020-07-15T17:21:15.3726709Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:87 +0x69
2020-07-15T17:21:15.3743725Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).CleanupIngressController(...)
2020-07-15T17:21:15.3744385Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:81
2020-07-15T17:21:15.3744822Z k8s.io/kubernetes/test/e2e/network.glob..func10.4.2()
2020-07-15T17:21:15.3745340Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/ingress.go:626 +0x12a
2020-07-15T17:21:15.3745868Z k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000e17740, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2020-07-15T17:21:15.3746756Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes/runner.go:113 +0xb8
Fixes: 0f81362fa0
2020-07-16 14:56:08 -05:00
Kubernetes Prow Robot
6a8129f7f6
Merge pull request #92957 from r4f4/override-volume-images
...
Make nested /volume/ repo images overridable
2020-07-16 06:31:41 -07:00
Kubernetes Prow Robot
bd9be7b544
Merge pull request #93113 from hasheddan/integration-skip
...
Skip failing scheduler integration tests until they can be run successfully
2020-07-16 00:07:41 -07:00
Kubernetes Prow Robot
1f4da99f69
Merge pull request #92813 from ii/heyste-create-delete-core-v1-collection-namespaced-event-test
...
Promote deleteCoreV1CollectionNamespacedEvent test - +1 endpoint coverage
2020-07-15 19:16:34 -07:00
Michelle Au
10a8c195a1
Export WaitForCSIDriverRegistrationOnAllNodes to be used by external csi driver repos
...
Change-Id: Ie61430b1050a778d8ba98177e0c995ff2553f9cd
2020-07-15 16:53:37 -07:00
Gaurav Singh
339ed92ba8
[e2e/storage] fix range issue in getCSINodeLimits
...
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-07-15 19:09:30 -04:00
Kubernetes Prow Robot
8c300565c2
Merge pull request #90941 from ii/ii-promote-configmap-lifecycle
...
Promote: ConfigMap Lifecycle test - +2 conformance endpoint coverage
2020-07-15 15:28:48 -07:00
hasheddan
a70b78e49a
Skip failing scheduler integration tests until they can be run successfully
...
The IPAM and scheduler performance tests are currently causing
integration-master job to fail because of timeouts. They were not
previously running as part of integration-master, so we can disable them
without loss of test coverage. They should be re-enabled as part of fix
for #93112 .
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-15 10:28:35 -05:00
Davanum Srinivas
16fb6733a1
Adding dims as reviewer for test/
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-07-15 07:19:53 -04:00
Stephen Augustus
c4b6678757
Update Golang to v1.14.5
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-15 00:10:05 -04:00
Kubernetes Prow Robot
c46c1c043e
Merge pull request #91742 from jingxu97/June/wintests
...
Fix subPath tests for Windows
2020-07-13 23:29:21 -07:00
Kubernetes Prow Robot
e45a598a5c
Merge pull request #93029 from rajansandeep/fixfailtests
...
Fix failing DNS tests by removing deprecated option
2020-07-13 20:21:35 -07:00
Stephen Heywood
44cd9d3cfe
Promote delete collection pods e2e test to conformance
2020-07-14 02:56:54 +00:00
Stephen Heywood
236ad47783
Promote server version e2e test to conformance
2020-07-14 02:22:07 +00:00
Kubernetes Prow Robot
6079cebfae
Merge pull request #90187 from julianvmodesto/last-applied-updater
...
Implement server-side apply upgrade and downgrade
2020-07-13 16:45:20 -07:00
Kenichi Omichi
c86caa608d
Move WatchUntilWithoutRetry() from e2e framework
...
WatchUntilWithoutRetry() is called from e2e/apps/rc.go only.
So this moves the function to reduce e2e/framework/util.go code.
2020-07-13 22:54:41 +00:00
Stephen Heywood
31962804c0
Update bazel BUILD
2020-07-13 20:40:11 +00:00
Ciprian Hacman
5d87704ed3
Skip arch dependent kubectl test for non AMD64 nodes
2020-07-13 20:25:14 +03:00
Ciprian Hacman
33ac3c36cc
Add new flags for node arch
2020-07-13 20:25:14 +03:00
Sandeep Rajan
211448759c
Fix failing DNS tests by removing deprecated upstream option
2020-07-13 12:53:19 -04:00
Chelsey Chen
7e04ffbc31
Promote Event CRUD tests to conformance
2020-07-13 09:50:23 -04:00
Stephen Heywood
d055eb5f61
Ingress: Add test for API get /status
2020-07-13 10:33:00 +00:00
Gaurav Singh
22dc4744a0
[test/kubelet]: Fix deadlock in watch manager test
...
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-07-12 10:56:28 -04:00
Kubernetes Prow Robot
53334f063f
Merge pull request #92908 from RobertKielty/error_text_clarification
...
fixes 92907 improves test error output
2020-07-12 06:59:16 -07:00
Kubernetes Prow Robot
8da9e9b326
Merge pull request #92902 from k-toyoda-pi/unset_alias_metrics_grabber
...
e2e/metrics_grabber: unset aliases for ginkgo and gomega packages
2020-07-12 06:58:57 -07:00
Stefan Bueringer
06e8780818
conformance-tests: make orpan RS created by deployment test more resilient
2020-07-12 07:51:24 +02:00
Kubernetes Prow Robot
888255bf3a
Merge pull request #92879 from liggitt/short-integration-tests
...
Skip expensive integration tests in short run mode
2020-07-11 20:57:52 -07:00
Kubernetes Prow Robot
c23a4b08d7
Merge pull request #92874 from chelseychen/event-api
...
Fix a few places where source field is empty when creating events via events/v1
2020-07-11 20:57:31 -07:00
Kubernetes Prow Robot
d2f4cc032b
Merge pull request #92841 from chethanv28/fix-typo-e2e-tests
...
Fix typo in vsphere e2e test names
2020-07-11 20:56:33 -07:00
Kubernetes Prow Robot
780f7f0ce9
Merge pull request #92555 from AndiLi99/AndiLi99/snapshot_tests
...
Refactor tests in snapshottable and fix #73625
2020-07-11 20:55:35 -07:00
Kubernetes Prow Robot
70f68dbf74
Merge pull request #92856 from saschagrunert/psp-seccomp-ga
...
Implement PodSecurityPolicy enforcement for seccomp GA
2020-07-11 15:35:22 -07:00
hasheddan
a527c10edc
Make sure pod tested for eviction with PDB is not scheduled for deletion
...
In #91342 attempting to evict a Pod with a DeletionTimestamp caused
checking of PDBs to be ignored due to the fact that a Pod scheduled for
deletion should not be factored into a disruption budget. However, PDB
eviction tests currently will sometimes select a Pod already scheduled
for deletion, expecting that attempting to evict it will conflict with
the PDB. This updates those tests to make sure a Pod with deletion
timestamp is not selected for eviction when it is intended to violate a
PDB.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-11 11:25:19 -05:00
Nikhita Raghunath
cb2fb92686
test/images/pets: remove OWNERS to cleanup inactive members
...
bprashanth hasn't be active since the release of v1.11. Removing them
from test/images/pets/OWNERS would leave mkumatag as the sole approver.
But mkumatag is also an approver for test/images/OWNERS so this commit
removes the test/images/pets/OWNERS completely.
Note: we should try to find more OWNERS for test/images/pets instead,
but this cleanup is a short term solution to avoid the bot suggesting
inactive members for reviews and approval.
2020-07-11 19:35:47 +05:30
Kenichi Omichi
029b2d2197
Remove DeprecatedMightBeMasterNode()
...
This removes DeprecatedGetMasterAndWorkerNodes() usage from vsphere e2e
test as deprecated function cleanup.
Then all callers of DeprecatedMightBeMasterNode() have been removed.
So this removes DeprecatedMightBeMasterNode() itself also.
2020-07-11 03:18:44 +00:00
Kubernetes Prow Robot
93e76f5081
Merge pull request #92442 from tedyu/grace-period-with-map
...
Respect grace period when removing mirror pod
2020-07-10 17:49:23 -07:00
Kubernetes Prow Robot
cccb28bb5e
Merge pull request #92812 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-template-test
...
Promote DeleteCoreV1CollectionNamespacedPodTemplate test+promote - +1 endpoint
2020-07-10 15:43:01 -07:00
Kubernetes Prow Robot
42ae2003dd
Merge pull request #92805 from chethanv28/fix-e2e-test-vsphere_utils
...
Fix vsphere util method - disksAreAttached
2020-07-10 15:42:51 -07:00
Kubernetes Prow Robot
2613cbc2a7
Merge pull request #92802 from divyenpatel/fix-e2e-test-vsphere_volume_datastore
...
fixed e2e test vsphere_volume_datastore.go
2020-07-10 15:42:41 -07:00
Kubernetes Prow Robot
0cb7e320a5
Merge pull request #92784 from pohly/generic-ephemeral-inline-volumes
...
generic ephemeral inline volumes
2020-07-10 15:41:46 -07:00
Kubernetes Prow Robot
49dced762d
Merge pull request #92661 from jpbetz/smd-bump-field-unsetting
...
Bump to SMD PR#166 to pick up unsetting field changes and add integration tests
2020-07-10 15:41:05 -07:00
Kubernetes Prow Robot
4efed03276
Merge pull request #91637 from robscott/endpointslice-mirroring
...
Adding new EndpointSlice Mirroring Controller
2020-07-10 10:19:48 -07:00
Sascha Grunert
96fb83c4c1
Implement PodSecurityPolicy enforcement for seccomp GA
...
This implements the necessary pieced for the PodSecurityPolicy
enforcement like described in the appropriate KEP section:
https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20190717-seccomp-ga.md#podsecuritypolicy-enforcement
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-07-10 15:55:21 +02:00
Rafael Fonseca
74183e0d88
Make nested /volume/ repo images overridable
...
The multi-arch container images used in tests live in quay.io which
doesn't support nesting. By making the /volume/ images repo configurable,
we are able to override them despite our current limitation.
Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
2020-07-10 13:37:12 +02:00
Patrick Ohly
2468a24b7a
GenericEphemeralVolume: E2E test
...
This extends the existing "ephemeral volume" tests to also cover
generic ephemeral inline volumes. They get instantiated for all
drivers (CSI and others) which support persistent volume provisioning,
for several different filesystems.
Configuring the number of inline volumes via a flag with a computed
name had been identified as problematic before and now gets removed
because re-using the tests as a stress test with a higher number of
volumes should be added and configured separately.
2020-07-09 23:29:24 +02:00
Stephen Heywood
9520a87488
Fix metadata formatting
2020-07-09 21:16:22 +00:00
Jing Xu
31db94c848
Fix subPath tests for Windows
...
Windows test for subPath is failing due to an issue related to
removeUnusedContainers calls. After image is changed to Agnhost, it
automatically has a args by default. However, there are places to use
container commands instead of args and causing issues.
This is the first step to fix this issue. Next plan to replace
busybox used in Linux with Agnhost which can work for both linux and
windows.
I also mark two subPath tests as LinuxOnly. I think they are not ready
for windows yet. Before they were passing due to wrong reason. The tests
checks failed container status but the contain fails due to other
reasons than what we expected.
2020-07-09 11:14:17 -07:00
Andi Li
b64f05b70a
Change expected content to string constant. Cleanup DeleteAndWaitSnapshot
...
Use the correct format specifier
2020-07-09 16:30:16 +00:00
Kubernetes Prow Robot
1b4e904183
Merge pull request #92745 from hakman/disruption-image-busybox
...
Use Pause image for DisruptionController tests
2020-07-09 09:10:00 -07:00
Kubernetes Prow Robot
026cd0e2d7
Merge pull request #92709 from knabben/e2e-kubelet-config
...
Fetching Kubelet address from Kubelet configuration for e2e test
2020-07-09 09:09:28 -07:00
Kubernetes Prow Robot
883e4eb487
Merge pull request #92627 from oomichi/remove-Deprecated
...
Add nodeHasControlPlanePods()
2020-07-09 09:07:45 -07:00
Kubernetes Prow Robot
1f89f42602
Merge pull request #92621 from spiffxp/simplify-configmap-lifecycle-test
...
Simplify ConfigMap lifecycle e2e test
2020-07-09 09:07:31 -07:00
Kubernetes Prow Robot
fe43b104ba
Merge pull request #91745 from Bisnode/gh-87369
...
Presence of bearer token should cancel exec action
2020-07-09 09:07:00 -07:00
Kubernetes Prow Robot
6dd8d7131f
Merge pull request #91529 from bart0sh/PR0090-remove-benchmark.yaml
...
Remove unused e2e test image config
2020-07-09 09:06:46 -07:00
Kubernetes Prow Robot
d9b084a9d1
Merge pull request #89629 from fatedier/subpath
...
Modified subpath configmap mount fails when container restarts
2020-07-09 09:06:32 -07:00
Joe Betz
3c2842fbc6
Add ownership transfer test
2020-07-09 06:18:59 -07:00
Joe Betz
ec136db9ce
Add server side apply unsetting field tests
2020-07-09 06:18:58 -07:00
Patrick Ohly
af91e76df8
e2epod: use foreground deletion
...
This is useful in case that the pod owns some resources, because then
waiting for the pod ensures that those resources also were removed.
This should not matter at the moment because pods typically are not
owners of any other object, but that will change with the introduction
of generic ephemeral inline
volumes (https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1698-generic-ephemeral-volumes ).
2020-07-09 11:03:03 +02:00
Kubernetes Prow Robot
2e6d06c13a
Merge pull request #92479 from ii/heyste-delete-core-v1-collection-namespaced-pod-test
...
Create deleteCoreV1CollectionNamespacedPod test - +1 endpoint coverage
2020-07-09 00:05:10 -07:00
Kubernetes Prow Robot
94a08e159a
Merge pull request #92387 from pohly/csi-storage-capacity
...
CSI storage capacity check
2020-07-09 00:04:59 -07:00
Julian V. Modesto
e4368eb67e
Implement server-side apply upgrade & downgrade.
...
- Allow client-side to server-side apply upgrade.
Ensure that a user can change management of an object from client-side apply to
server-side apply without conflicts.
- Allow server-side apply to client-side downgrade.
For an object managed with client-side apply, a user may upgrade to
managing the object with server-side apply, then decide to downgrade.
We can support this downgrade by keeping the last-applied-configuration
annotation for client-side apply updated with server-side apply.
2020-07-08 19:14:03 -04:00
Ted Yu
a76a959294
Respect grace period when removing mirror pod
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-07-08 13:38:24 -07:00
Andi Li
913f626adb
Add data semantics test for volume snapshots
...
The test steps are as follows:
1. Write some data
2. Take a snapshot
3. Write more data
4. Create a new volume from snapshot
5. Validate data is the old data
2020-07-08 18:45:54 +00:00
Andi Li
9b0dff7686
Refactor snapshottable and provisioning tests
...
1. Use ginkgo before each to do common setup
2. Use volume resource to create SC, PV, PVC and handle cleanup
3. Add SnapshotResource to handle creating and cleanup of VS, VSC, VSClass
4. Add test pattern for deletion policy: Delete vs Retain
5. Use test pattern to determine test behaviour
6. Add test pattern for preprovisioned snapshot (not implemented)
These changes are made to consolidate common setup steps and stop resource
leaks by waiting for objects to be deleted.
2020-07-08 18:45:54 +00:00
Wei Huang
d65a97848e
codegen
2020-07-08 09:58:42 -07:00
Wei Huang
4b26ef2217
Remove DisablePreemption field from SchedulerConfig v1beta1
...
DisablePreemption field can be removed as it can be deduced from PostFilterPlugins.
2020-07-08 09:58:42 -07:00
RobertKielty
8e1548f24b
lowercases start of the fmt.Errorf msg as per convention, fixes spelling error
2020-07-08 14:31:41 +01:00
Chelsey Chen
e010436e2a
Update conversion between ReportingController and Source.Component
2020-07-08 08:46:38 -04:00
RobertKielty
10bdcb8ef1
fixes 92907 improves test error output
2020-07-08 13:10:50 +01:00
Kubernetes Prow Robot
9eced04014
Merge pull request #91007 from lsytj0413/fix-89443
...
test(e2e_node): Parallelize prepulling all images in `e2e_node` tests
2020-07-08 04:19:07 -07:00
toyoda
0e0d425ace
e2e/metrics_grabber: unset aliases for ginkgo and gomega packages
2020-07-08 17:49:34 +09:00
jingyih
e9bf1c3c90
Update default etcd server to 3.4.9
2020-07-08 14:16:40 +08:00
Patrick Ohly
30f93802a7
storage capacity: check pod events to finish negative tests faster
...
By creating CSIStorageCapacity objects in advance, we get the
FailedScheduling pod event if (and only if!) the test is expected to
fail because of insufficient or missing capacity. We can use that as
indicator that waiting for pod start can be stopped early. However,
because we might not get to see the event under load, we still need
the timeout.
2020-07-08 08:02:26 +02:00
Patrick Ohly
bd0579103a
e2e storage: dead code removal and cleanup
...
Setting testParameters.scName had no effect because
StorageClassTest.StorageClassName isn't used anywhere. Instead, the
storage class name is generated dynamically.
2020-07-08 08:02:26 +02:00
Patrick Ohly
cf735a3bf7
CSIStorageCapacity: integration test
...
This is similar to the E2E test, it just doesn't need a real cluster.
2020-07-08 08:02:26 +02:00
Patrick Ohly
567ce87aee
CSIStorageCapacity: E2E test with mock driver
...
We can create CSIStorageCapacity objects manually, therefore we don't
need the updated external-provisioner for these tests.
2020-07-08 08:02:26 +02:00
Ciprian Hacman
9a23ee02b3
Use Pause image for DisruptionController tests
2020-07-08 06:40:41 +03:00
Kubernetes Prow Robot
7de3f938c8
Merge pull request #92873 from liggitt/admission-flake
...
Deflake timeout admission test
2020-07-07 13:28:06 -07:00
Jordan Liggitt
1c8c850944
Skip expensive integration tests in short run mode
2020-07-07 14:41:21 -04:00
Kenichi Omichi
e1f4d5b110
Add nodeHasControlPlanePods()
...
DeprecatedMightBeMasterNode() has been marked as deprecated and we need to
find alternative way for callers of the function.
In NewResourceUsageGatherer(), the function was called for distinguishing
the specified pods are running on master nodes, and the gatherer gathers
those pods' resource usage.
This adds nodeHasControlPlanePods() to gistinguish the specified pods
are running on nodes which are operating control plane pods (kube-scheduler
and kube-controller-manager) and replace callers of DeprecatedMightBeMasterNode()
with this new function as better way.
2020-07-07 18:19:22 +00:00
Jordan Liggitt
dcc536097a
Deflake timeout admission test
2020-07-07 13:36:07 -04:00
Quan Tian
b2b082f54f
Don't create a new sandbox for pod with RestartPolicyOnFailure if all containers succeeded
...
The kubelet would attempt to create a new sandbox for a pod whose
RestartPolicy is OnFailure even after all container succeeded. It caused
unnecessary CRI and CNI calls, confusing logs and conflicts between the
routine that creates the new sandbox and the routine that kills the Pod.
This patch checks the containers to start and stops creating sandbox if
no container is supposed to start.
2020-07-07 22:49:48 +08:00
Anders Eknert
c595f983fa
Move kube_flags_without_token creation
2020-07-06 21:55:23 +02:00
Rob Scott
85d5a15841
Adding integration and e2e tests to cover EndpointSliceMirroring
2020-07-06 12:43:34 -07:00
Chethan Venkatesh
3e19a33cea
Fix typo in vsphere e2e tests
2020-07-06 11:39:26 -07:00
Jeff Grafton
089a1af421
Move ixdy to emeritus
2020-07-06 10:39:56 -07:00
Stephen Heywood
e76ac2dc2b
Promote: event delete a collection test
2020-07-05 23:27:17 +00:00
Kubernetes Prow Robot
865cbf0bdf
Merge pull request #91517 from gaurav1086/Remove_unnecessary_Sprintfs
...
cleanup: Remove_unnecessary_Sprintfs
2020-07-05 05:26:49 -07:00
Chethan Venkatesh
5849f1681c
Fix vsphere util method - disksAreAttached
2020-07-04 19:33:36 -07:00
Divyen Patel
950ed79e41
fixed e2e test vsphere_volume_datastore.go
2020-07-04 16:56:27 -07:00
Kubernetes Prow Robot
9e70d6f805
Merge pull request #91738 from jsafrane/fix-iscsi-metadata
...
iscsi: don't write json medata file when the volume is already mounted.
2020-07-04 16:06:48 -07:00
Divyen Patel
c1335087e4
fixed e2e vsphere statefulsets test
2020-07-03 21:28:15 -07:00
Kubernetes Prow Robot
efb56da4a5
Merge pull request #92665 from klueska/upstream-add-get-preferred-allocation-api
...
Add GetPreferredAllocation() call to the v1beta1 device plugin API
2020-07-03 20:31:16 -07:00
Patrick Ohly
9a66e8e1b5
CSIStorageCapacity: 'make update'
2020-07-03 21:54:14 +02:00
Patrick Ohly
22aeb81e84
CSIStorageCapacity: CSIStorageCapacity API
...
This adds the CSIStorageCapacity API change for
https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1472-storage-capacity-tracking
2020-07-03 21:54:14 +02:00
Kubernetes Prow Robot
a472138c1f
Merge pull request #92724 from chelseychen/event-e2e
...
Update Event CRUD tests to use events.k8s.io/v1
2020-07-03 07:54:47 -07:00
Kevin Klues
cbd405d85c
Update existing tests in support of GetPreferredallocation()
2020-07-03 13:01:32 +00:00
fatedier
78b5003e88
update e2e test
2020-07-03 20:31:00 +08:00
Kubernetes Prow Robot
d5f76a9c6f
Merge pull request #92764 from sjenning/add-new-kubelet-approvers-to-cmd
...
add dashpole and sjenning to cmd/kubelet OWNERS
2020-07-03 05:04:21 -07:00
Kubernetes Prow Robot
5da9ba51cd
Merge pull request #92750 from wawa0210/e2e-app-staticcheck
...
fix test/e2e/apps staticcheck
2020-07-03 05:04:12 -07:00
Kubernetes Prow Robot
b6cbe1b8de
Merge pull request #92662 from chelseychen/event-api-fallback
...
Switch event recorder to use events.k8s.io/v1
2020-07-03 05:03:15 -07:00
Kubernetes Prow Robot
6da40542e7
Merge pull request #92706 from nodo/scheduler-integration-test-add-labels-cleanup
...
Create nodes with labels instead of adding them later
2020-07-02 17:46:47 -07:00
Stephen Heywood
0da98ad96f
Promote: PodTemplate delete a collection test
2020-07-03 00:02:58 +00:00
Seth Jennings
b1f91d33e7
add dashpole and sjenning to cmd/kubelet OWNERS
2020-07-02 14:20:41 -05:00
Chelsey Chen
ade2422883
Switch event recorder to use events.k8s.io/v1
2020-07-02 14:50:41 -04:00
Amim Knabben
2a392bf8fc
Fetching kubelet address:port from kubelet configuration
2020-07-02 14:15:44 -04:00
Chelsey Chen
b0a0335baf
Switch Event CRUD tests to use events.k8s.io/v1
2020-07-02 09:03:36 -04:00
Kubernetes Prow Robot
3f585835d0
Merge pull request #92713 from liggitt/deflake-list-rv-0
...
Deflake TestListResourceVersion0
2020-07-02 04:18:07 -07:00
Kubernetes Prow Robot
d07095d425
Merge pull request #92711 from alejandrox1/rename-image-prepull-lists
...
Renamed image "white lists" to pre-pull image lists in test
2020-07-02 04:17:58 -07:00
Kubernetes Prow Robot
f023f5832b
Merge pull request #92705 from pohly/nested-directories-podlogs
...
e2e pod logs: use hierarchical directory structure
2020-07-02 04:17:48 -07:00
Kubernetes Prow Robot
1b871091b9
Merge pull request #91645 from chelseychen/event-api
...
Promote new Event API to v1
2020-07-02 04:16:46 -07:00
wawa0210
9d1948a2f5
fix test/e2e/apps staticcheck
2020-07-02 18:14:12 +08:00
Anders Eknert
b423216a3b
Presence of bearer token should cancel exec action
...
If a bearer token is present in a request, the exec credential plugin should accept that as the chosen method of authentication. Judging by an [earlier comment in exec.go](c18bc7e9f7/staging/src/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go (L217)
), this was already intended. This would however not work since UpdateTransportConfig would set the GetCert callback which would then get called by the transport, triggering the exec plugin action even with a token present in the request. See linked issue for further details.
See #87369 for further details.
Signed-off-by: Anders Eknert <anders.eknert@bisnode.com>
2020-07-02 12:12:32 +02:00
Andrea Nodari
a759fb20ff
Create nodes with labels instead of adding them later
2020-07-02 08:56:32 +02:00
Kubernetes Prow Robot
f7a13de36c
Merge pull request #92667 from liggitt/admission-warnings
...
Admission webhook warnings
2020-07-01 23:14:17 -07:00
Kubernetes Prow Robot
94e1c54735
Merge pull request #92655 from BenTheElder/cleanup-some-owners
...
Cleanup some owners
2020-07-01 23:14:08 -07:00
Kubernetes Prow Robot
343995e8e2
Merge pull request #92532 from ii/heyste-get-code-version-test
...
Create checkServerVersion Test - 1 Endpoint Coverage
2020-07-01 23:13:17 -07:00
Stephen Heywood
bcd7d08616
Reduce log verbosity
2020-07-01 21:04:59 +00:00
Stephen Heywood
ec949fc50b
Update to keep logging consistent
2020-07-01 19:43:44 +00:00
Kubernetes Prow Robot
da54185c9e
Merge pull request #92607 from chelseychen/event-e2e
...
Add CRUD tests for new Events API verbs
2020-07-01 11:30:17 -07:00
Jordan Liggitt
017a6febe5
Deflake TestListResourceVersion0
2020-07-01 13:59:40 -04:00
alejandrox1
4338053d8f
Renamed image "white lists" to pre-pull image lists in test
...
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-07-01 13:48:47 -04:00
Jordan Liggitt
5eef60a00a
Add warnings capability for admission webhooks
2020-07-01 12:14:06 -04:00
Chelsey Chen
75612c1746
Promote new Event API to v1
2020-07-01 10:50:28 -04:00
Chelsey Chen
e5bba7f512
Add CRUD tests for new Event API verbs
2020-07-01 10:21:57 -04:00
Kubernetes Prow Robot
3d912dd072
Merge pull request #76828 from claudiubelu/images/goarm-var
...
images: Adds GOARM to images' Makefiles
2020-07-01 07:10:18 -07:00
Patrick Ohly
8f55fad7bb
e2e pod logs: use hierarchical directory structure
...
When using the entire test name as file name, the name became too
long (> 256 characters, which wasn't supported by all file systems)
and the artifact directory got cluttered.
The original reason (a limitation in Gubernator) no longer applies
because Spyglass is used now for log viewing.
2020-07-01 16:01:18 +02:00
Antonio Ojea
2cbcd79ba5
conntrack e2e test debug connections
...
dump conntrack udp information after each step
2020-07-01 12:39:42 +02:00
Kubernetes Prow Robot
4c853bb28f
Merge pull request #92644 from wojtek-t/informers_readyz
...
Wait for all informers to sync in /readyz.
2020-07-01 02:54:30 -07:00
Kubernetes Prow Robot
897dc66b0e
Merge pull request #92400 from spiffxp/decouple-testfiles
...
decouple testfiles from framework
2020-07-01 00:07:08 -07:00
Stephen Heywood
e7f603c29a
Correct BaseName for NewDefaultFramework
2020-07-01 05:58:17 +00:00
Maciej Borsz
3f68000203
Wait for all informers to sync in /readyz.
2020-07-01 07:40:39 +02:00
Stephen Heywood
eb8ddc464a
Add check on deleteCollection, improve logging
2020-07-01 02:46:34 +00:00
Stephen Heywood
4069194aea
Fix naming for server version
2020-07-01 02:16:38 +00:00
Stephen Heywood
c4e10c29ba
Rename get-code-version references to get-server-version
2020-07-01 00:04:39 +00:00
Benjamin Elder
a7c4ec1ee9
promote neolit123 to test/ approver
2020-06-30 09:36:38 -07:00
Andrea Nodari
2e1042f959
Use NodeWrapper to directly initialize node with labels
...
Using NodeWrapper in the integration tests gives more flexibility when
creating nodes. For instance, tests can create nodes with labels or
with a specific sets of resources.
Also, NodeWrapper initialises a node with a capacity of 32 pods, which
can be overridden by the caller. This makes sure that a node is usable
as soon as it is created.
2020-06-30 17:18:15 +02:00
Kubernetes Prow Robot
2e2859a11a
Merge pull request #92588 from aojea/e2enet
...
e2e networking: wait for endpoints to be published
2020-06-30 00:03:45 -07:00
Aaron Crickenberger
225e7c75b5
Reorder checks slightly, add a list-by-namespace call
...
Now the test covers 6 different api calls
- verify create with a get
- verify patch with a list (all namespaces)
- verify delete with a list (single namespace)
2020-06-29 19:03:44 -07:00
Aaron Crickenberger
121676e220
Drop the use of watchtools
...
The thing is, for this test at least, I'm pretty sure there's nothing
we need to wait on. Instead of waiting for a deleted event, we will
relist configmaps and expect 0, to confirm the deletion took effect
2020-06-29 19:02:15 -07:00
Kubernetes Prow Robot
9fb637152c
Merge pull request #92603 from hasheddan/schedule-part-three
...
Do not raise exception if unscheduled Pod status is unknown
2020-06-29 18:35:36 -07:00
Kubernetes Prow Robot
281023790f
Merge pull request #92501 from rakeshreddybandi/rename-plugin
...
Rename DefaultPodTopologySpread plugin #91994
2020-06-29 18:34:58 -07:00
Stephen Heywood
469e22a09e
Use regexp to check server version
2020-06-30 01:16:16 +00:00
Aaron Crickenberger
28768166f5
decouple testfiles from framework
...
This drops testfiles.ReadOrDie and updated testfiles.Exists to return an
error, forcing the caller to decide whether to call framework.Fail or do
something else.
It makes for a slightly less friendly API, but also means the package is
decoupled from framework again, as per the comments at the top of the
file
2020-06-29 14:54:09 -07:00
Aaron Crickenberger
0a869ac043
Use different resource versions each time
...
In this way, we avoid having to skip over "stale" watch events. The
downside is having to keep track of the previous resource version.
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
4582e26ae1
Now use the stock watchtools.Until
...
By passing in the same initial resource version each time, we get
all watch events from the beginning each time.
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
1048dddc36
For grins, make the watch checks very detailed
...
So we know we're not just seeing an arbitrary watch event, we're
seeing _the_ watch event that describes the results of our actions
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
9fb05616ca
Drop WatchSequenceEventVerifier from configmap lifecycle test
...
Collecting events in a certain order and then verifying the order in
which they were collected feels redundant.
2020-06-29 14:53:10 -07:00
hasheddan
5f904f5e79
Do not raise exception if unscheduled Pod status is unknown
...
Currently when checking for unscheduled pods an exception will be raised
if a pod is not scheduled and the status is unknown. This update modifies
the logic to include any pod without a NodeName in the not scheduled
pods returned.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-29 14:16:15 -05:00
Antonio Ojea
ec295c0f2a
e2e networking: wait for endpoints to be published
...
e2e test wait for the endpoints objects to be created
2020-06-29 15:04:28 +02:00
Caleb Woodbine
e719b723f7
Update checks and status messages; Remove asserting of status values
2020-06-29 11:08:45 +12:00
Kubernetes Prow Robot
9238fb1388
Merge pull request #90062 from claudiubelu/test-images/owner-files
...
test images: Adds OWNERS files for images
2020-06-28 01:08:14 -07:00
Kubernetes Prow Robot
18db08b813
Merge pull request #92545 from hasheddan/scheduling-part-two
...
Do not ignore unscheduled pods when NodeName not in set of worker nodes
2020-06-27 19:02:13 -07:00
Kubernetes Prow Robot
e9bb71c091
Merge pull request #92448 from oomichi/cleanup-getScheduledAndUnscheduledPods
...
Remove ns from getScheduledAndUnscheduledPods()
2020-06-27 16:04:28 -07:00
Kubernetes Prow Robot
4fc5c1eda2
Merge pull request #92391 from adtac/adtac/reserve-failure
...
scheduler: run Unreserve if Reserve fails
2020-06-27 16:04:14 -07:00
RAKESH REDDY BANDI
d44a20f9ca
Rename DefaultPodTopologySpread plugin #91994
2020-06-27 13:46:31 -04:00
Kubernetes Prow Robot
27aca3f7c2
Merge pull request #91505 from jpbetz/rv-semantics
...
Consistent Resource Version Semantics for List
2020-06-27 02:26:17 -07:00
Benjamin Elder
71c2b825e2
BenTheElder approves test/
...
I've been a reviewer / approver via teh sig-testing alias here, but that's opaque and I review & approve a lot of these, making it explicit.
2020-06-26 22:02:13 -07:00
Benjamin Elder
3a531edbd1
rmmh is no longer active
2020-06-26 21:49:24 -07:00
Kubernetes Prow Robot
fe4fae0343
Merge pull request #92212 from thockin/verify-typecheck-no-gopath
...
Make verify-typecheck not depend on GOPATH
2020-06-26 20:16:14 -07:00
Adhityaa Chandrasekar
1b223b861a
scheduler: run Unreserve if Reserve fails
...
If a reserve plugin's Reserve method returns an error, there could be
previously allocated resources from successfully completed reserve
plugins that must be unallocated by the corresponding Unreserve
operation. Since Unreserve operations are idempotent, this patch runs
the Unreserve operation of ALL reserve plugins when a Reserve operation
fails.
2020-06-26 20:41:33 +00:00
Kubernetes Prow Robot
ed67d43ea4
Merge pull request #92530 from mattcary/metricsload
...
Avoid grabbing metrics when they're not validated
2020-06-26 11:49:46 -07:00
Kubernetes Prow Robot
3e438a9bad
Merge pull request #92427 from wojtek-t/improve_affinity_tests
...
Improve LB session affinity tests
2020-06-26 11:49:31 -07:00
Tim Hockin
d187d7effa
Rewrite typecheck against x/tools/go/packages
...
This runs much faster than before. This change removes all of the
async status output because all of the compute time is spent inside
go/packages, with no opportunity to update the status.
Adds testdata code to prove it fails when expected.
2020-06-26 11:12:06 -07:00
Kubernetes Prow Robot
c90427d42e
Merge pull request #92423 from aojea/debugConntrack
...
dump conntrack table on e2e conntrack failures
2020-06-26 08:03:31 -07:00
hasheddan
9ab31affbe
Do not ignore unscheduled pods when NodeName not in set of worker nodes
...
When node scheduling tests were updated to use worker instead of master
nodes the GetPodsScheduled function, which is tasked with getting all
scheduled and not scheduled pods inadvertently was changed to ignore all
pods that have an empty NodeName before checking whether pods had been
scheduled or not. This updates the function to include pods without a
NodeName in the check for unscheduled pods.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-26 09:45:25 -05:00
Antonio Ojea
0ef7f27fc1
dump conntrack table on e2e conntrack failures
...
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-06-26 13:25:40 +02:00
Kubernetes Prow Robot
a03db636da
Merge pull request #91366 from giuseppe/cgroupfs-cgroupv2
...
vendor: update google/cadvisor and opencontainers/runc
2020-06-26 04:17:31 -07:00
wojtekt
3c34b56fbf
Improve LB session affinity tests
2020-06-26 10:59:00 +02:00
Kubernetes Prow Robot
5016c22845
Merge pull request #92509 from hasheddan/schedule-panic
...
Fix assignment to nil map in e2e scheduling predicates
2020-06-26 00:08:14 -07:00
Kubernetes Prow Robot
5ff5dbb07c
Merge pull request #92497 from oomichi/vsphere
...
nit: Fix invokeStaleDummyVMTestWithStoragePolicy()
2020-06-26 00:08:04 -07:00
Kubernetes Prow Robot
0eaa85483b
Merge pull request #92485 from oomichi/metrics-grabber
...
Avoid DeprecatedMightBeMasterNode() in e2e metrics
2020-06-26 00:07:54 -07:00
Joe Betz
e214f2408b
Add ResourceVersionMatch parameter to make Resource Version semantics consistent for list
2020-06-25 20:49:57 -07:00
Kubernetes Prow Robot
b3033da9a1
Merge pull request #92200 from adtac/adtac/reserve
...
scheduler: merge Reserve and Unreserve plugins
2020-06-25 19:57:31 -07:00
Stephen Heywood
878bc969a4
Include dependency for pkg/version
2020-06-26 02:35:17 +00:00
Stephen Heywood
2eabf97a58
Ensure request returns current server version
2020-06-26 00:01:35 +00:00
Kenichi Omichi
176c8e219f
Avoid DeprecatedMightBeMasterNode() in e2e metrics
...
As its name, DeprecatedMightBeMasterNode is deprecated.
In e2e metrics, the function was used for knowing master node name to
get metrics from kube-scheduler and kube-controller-manager pods.
This make e2e metrics get these metrics directly by getting those pod
names without calling DeprecatedMightBeMasterNode().
2020-06-25 23:08:24 +00:00
Tim Hockin
a2f26075c8
Don't typecheck directories that start with _
...
Go ignores them, so should we.
2020-06-25 13:39:50 -07:00
hasheddan
df5ddc70a0
Fix assignment to nil map in e2e scheduling predicates
...
Ready schedulable nodes are being inserted into an unitialized string
set, causing an assignment to entry in nil map in the underlying data
structure. This initializes the string set before attempting to insert
nodes.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-25 08:32:00 -05:00
Kubernetes Prow Robot
e529bd0bca
Merge pull request #92404 from BenTheElder/agnhost-primary2
...
s/master/primary in agnhost guestbook usage
2020-06-25 05:30:37 -07:00
Kubernetes Prow Robot
4a91ecb976
Merge pull request #91863 from knabben/kubelet-memcg-notification
...
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-25 00:20:37 -07:00
Kenichi Omichi
d964569e1e
nit: Fix invokeStaleDummyVMTestWithStoragePolicy()
...
There were nits in invokeStaleDummyVMTestWithStoragePolicy() like
- The error message didn't contain necessary space
- IsVMPresent() can return an error, but lack of the error handling
- IsVMPresent() returns true/false, but didn't use ExpectEqual() and
less code readability
This fixes those things.
2020-06-25 04:49:39 +00:00
Kenichi Omichi
dac8f752b3
Remove ns from getScheduledAndUnscheduledPods()
...
The namespace parameter "ns" of getScheduledAndUnscheduledPods() is
always metav1.NamespaceAll.
This removes the parameter from the function for cleanup.
2020-06-25 04:39:39 +00:00
Kubernetes Prow Robot
3c31a0026a
Merge pull request #91678 from claudiubelu/tests/fixes-windows-kubelet-stats
...
tests: Fixes Windows kubelet-stats test
2020-06-24 19:26:36 -07:00
Matthew Cary
028176deb2
Avoid grabbing metrics when they're not validated
...
Change-Id: I0dd23b993b1bbc4908341d092c485566b9725c7a
2020-06-25 02:01:53 +00:00
Kubernetes Prow Robot
9d2dbd5b79
Merge pull request #92473 from fedepaol/bumpagnhost
...
Bump up the agnhost version to reflect changes in 90797
2020-06-24 17:53:04 -07:00
Kubernetes Prow Robot
c09809d15b
Merge pull request #92450 from oomichi/dont-use-GetMasterAnd
...
Use worker nodes for WaitForStableCluster()
2020-06-24 17:52:50 -07:00
Caleb Woodbine
3149247932
Add Deployment resource lifecycle test as-is
2020-06-25 10:29:53 +12:00
Adhityaa Chandrasekar
ec83143342
scheduler: merge Reserve and Unreserve plugins
...
Previously, separate interfaces were defined for Reserve and Unreserve
plugins. However, in nearly all cases, a plugin that allocates a
resource using Reserve will likely want to register itself for Unreserve
as well in order to free the allocated resource at the end of a failed
scheduling/binding cycle. Having separate plugins for Reserve and
Unreserve also adds unnecessary config toil. To that end, this patch
aims to merge the two plugins into a single interface called a
ReservePlugin that requires implementing both the Reserve and Unreserve
methods.
2020-06-24 21:10:35 +00:00
Kubernetes Prow Robot
c6d2b223fb
Merge pull request #92222 from cofyc/fix92186
...
Share pod volume binding cache via framework.CycleState
2020-06-24 13:31:21 -07:00
Benjamin Elder
57c777ea66
bump agnhost to 2.20
2020-06-24 12:14:33 -07:00
Benjamin Elder
f2b2d44614
s/master/primary in agnhost guestbook usage
2020-06-24 12:14:33 -07:00
Giuseppe Scrivano
e94aebf4cb
pkg/kubelet: adapt to new libcontainer API
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-06-24 18:39:51 +02:00
Federico Paolinelli
7ff930b6c8
Bump up the agnhost version to reflect changes in https://github.com/kubernetes/kubernetes/pull/90797
...
There was an un-noticied conflict with 279ce5d89e (diff-75312865ef706f08787bf2987d761c13)
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-24 17:37:41 +02:00
Kenichi Omichi
5edf15ea97
Use worker nodes for WaitForStableCluster()
...
WaitForStableCluster() checks all pods run on worker nodes, and the
function used to refer master nodes to skip checking controller plane
pods.
GetMasterAndWorkerNodes() was used for getting master nodes, but the
implementation is not good because it usesDeprecatedMightBeMasterNode().
This makes WaitForStableCluster() refer worker nodes directly to avoid
using GetMasterAndWorkerNodes().
2020-06-24 15:21:12 +00:00
Kubernetes Prow Robot
e2d8f6c278
Merge pull request #92446 from oomichi/deprecated-master-node
...
Add isNodeSchedulableWithoutTaints()
2020-06-24 04:55:41 -07:00
knight42
1b9f11c9a9
fix(e2e): access nodes via test container in LB network tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-06-24 19:21:44 +08:00
Amim Knabben
c39cf28ed3
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-24 06:44:00 -04:00
Stephen Heywood
832e4718da
Ensure that a set of pods can be removed by delete collection
2020-06-24 05:47:34 +00:00
Kenichi Omichi
13aae61789
Add isNodeSchedulableWithoutTainted()
...
For reducing usage of system.DeprecatedMightBeMasterNode(), this
adds isNodeSchedulableWithoutTainted().
2020-06-24 01:58:04 +00:00
Jordan Liggitt
a2dd5112c0
go1.14: fix test/cmd timeout message check
2020-06-23 19:04:43 -04:00
Caleb Woodbine
82c99d8d42
Fix metadata release version
2020-06-24 09:30:50 +12:00
Caleb Woodbine
d9ca8498db
Update conformance metadata to have release version v1.19
2020-06-24 09:30:50 +12:00
Caleb Woodbine
b20856e5bb
Add conformance testdata
2020-06-24 09:30:50 +12:00
Caleb Woodbine
b4ee99c465
Fix formatting
2020-06-24 09:30:50 +12:00
Caleb Woodbine
f6cd389a6c
Fix: formatting
2020-06-24 09:30:50 +12:00
Caleb Woodbine
0ea650b2c6
Fix: conformance data, conformance test entrypoint
2020-06-24 09:30:50 +12:00
Caleb Woodbine
0b6994e85d
Promote: ConfigMap Lifecycle test
2020-06-24 09:30:50 +12:00
Jordan Liggitt
4bd558776e
go1.14: fix govet errors
2020-06-23 16:40:15 -04:00
Yecheng Fu
4627b419b4
tests only
2020-06-23 22:18:33 +08:00
Kubernetes Prow Robot
0072d8ae23
Merge pull request #90797 from fedepaol/sctpconnectporter
...
Add SCTP support to agnhost connect / porter commands.
2020-06-23 07:05:41 -07:00
Kubernetes Prow Robot
3a51aaf8b4
Merge pull request #92359 from RobertKielty/92319
...
renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
2020-06-22 23:54:07 -07:00
Kubernetes Prow Robot
83a15867b1
Merge pull request #92049 from Huang-Wei/postfilter-impl-3
...
[postfilter-impl-3] Register and enable the defaultpreemption plugin
2020-06-22 23:53:54 -07:00
Wei Huang
d99cc01646
Register and enable defaultpreemption plugin
...
- Enable defaultpreemption as a PostFilter plugin
- Remote legacy hard-coded preemption logic
2020-06-22 17:22:27 -07:00
Stephen Augustus
236ef23f46
deps: Update Golang to v1.14.4
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:51 -04:00
Kubernetes Prow Robot
f38ce5725a
Merge pull request #92375 from wojtek-t/deflake_conntract_tests_2
...
Attempt to delfake further conntract e2e flakes
2020-06-22 15:02:53 -07:00
Kubernetes Prow Robot
9cd906e932
Merge pull request #91996 from cmluciano/cml/promotedingv1crud
...
ingress: promote CRUD API tests for v1 to conformance
2020-06-22 09:24:40 -07:00
wojtekt
8816b8fce4
Attempt to delfake further conntract e2e flakes
2020-06-22 13:43:58 +02:00
RobertKielty
5c27c7e304
renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
...
Part of work to remove racist language, this name change also improves on the
semantics of this variable name as it was not actually a list of permissible
images but rather a list of images that are required for e2e_node tests that
are to be pre-pulled so that they are available prior to running e2e tests.
Worth noting that this list of images is "union merged" with another list when
setting up e2e_node tests and as such there is the possibilty for overlap.
# Please enter the commit message for your changes. Lines starting
2020-06-21 18:46:06 +01:00
Ted Yu
9f95fdd3cd
Mirror pod without OwnerReference should not be created
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-06-21 08:00:17 -07:00
Ali Farah
a22e115a0e
Split scheduler framework implementation into new runtime package
2020-06-22 00:23:43 +10:00
Kubernetes Prow Robot
8e820aa785
Merge pull request #92304 from wojtek-t/reduce_flakes_probability
...
Attempt to deflake conntract e2e tests
2020-06-20 05:27:07 -07:00
Kubernetes Prow Robot
219c856ce2
Merge pull request #91555 from daixiang0/scr
...
*.sh: cleanup all white noise
2020-06-20 05:26:53 -07:00
Kubernetes Prow Robot
0a91893126
Merge pull request #92119 from BenTheElder/agnhost-sync
...
agnhost sync
2020-06-20 00:14:39 -07:00
Kubernetes Prow Robot
4043d4cb87
Merge pull request #92323 from wfernandes/rename-NodeImageWhiteList
...
Rename NodeImageWhiteList to NodePrePullImageList
2020-06-19 21:52:22 -07:00
Kubernetes Prow Robot
b5dd76071e
Merge pull request #92271 from oomichi/move-gce-test
...
Move recreate_node.go to e2e/node
2020-06-19 21:52:11 -07:00
Warren Fernandes
296f50365b
Rename NodeImageWhiteList to NodePrePullImageList
2020-06-19 16:12:27 -06:00
Benjamin Elder
279ce5d89e
s/master/primary in agnhost guestbook test references & agnhost code
...
to do in follow-up: update the agnhost deployments and references to those when the new image is pushed
2020-06-19 12:23:16 -07:00
Kubernetes Prow Robot
b1976336af
Merge pull request #92259 from brianpursley/net-e2e
...
Fixed wrong pod name in e2e test log messages
2020-06-19 11:38:24 -07:00
Kubernetes Prow Robot
62d091a49e
Merge pull request #91813 from bart0sh/PR0090-e2e_node-benchmark-decrease-number-of-pods
...
e2e_node: fix node-kubelet-benchmark test
2020-06-19 11:36:43 -07:00
Kubernetes Prow Robot
907a526919
Merge pull request #91699 from twosigma/hostnamefqdn_kubelet
...
Allow setting FQDN in hostname
2020-06-19 11:36:29 -07:00
Kubernetes Prow Robot
f8705f22f8
Merge pull request #89705 from ggriffiths/add_snapshot_retainpolicy_e2e_test
...
Add VolumeSnapshot retain policy test and test for snapshot delete
2020-06-19 11:35:59 -07:00
wojtekt
f32648d810
Attempt to deflake conntract e2e tests
2020-06-19 16:49:33 +02:00
Federico Paolinelli
b8819b91a8
Add sctp support to agnhost connect / porter commands.
...
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-19 09:31:05 +02:00
Kenichi Omichi
4163fd9420
Move recreate_node.go to e2e/node
...
e2e/framework is a place to keep common functions for e2e tests, and
it is not a place to keep e2e tests themself. recreate_node.go is e2e
test for node.
This moves recreate_node.go to e2e/node.
2020-06-19 02:40:17 +00:00
Kubernetes Prow Robot
7a68eac8f7
Merge pull request #91873 from kwiesmueller/fix-crd-update-bug
...
Fix FieldManager Conversion Error for CRD Updates
2020-06-18 19:04:51 -07:00
Kubernetes Prow Robot
342bcf55e8
Merge pull request #89937 from aojea/portAllocator2
...
portAllocator sync local data before allocate
2020-06-18 19:03:10 -07:00
Sergey Kanzhelev
2baed83b5c
remove stale TODO after this PR: #92204
2020-06-18 22:55:21 +00:00
Kubernetes Prow Robot
1faf097f3f
Merge pull request #88649 from oke-py/remove-deprecated-export
...
Remove --export flag from kubectl get command.
2020-06-18 15:19:10 -07:00
Kubernetes Prow Robot
dcb587e09f
Merge pull request #91230 from ii/heyste-create-delete-core-v1-collection-namespaced-event-test
...
Create deleteCoreV1CollectionNamespacedEvent test+promote - +1 endpoint coverage
2020-06-18 08:12:20 -07:00
Brian Pursley
dba85a5c95
Fixed wrong pod name in log messages
2020-06-18 10:10:10 -04:00
Kubernetes Prow Robot
99019502bd
Merge pull request #92234 from alejandrox1/add-cleanup-time-node-perf
...
Added a buffer period in the node performance tests
2020-06-18 06:04:10 -07:00
Kubernetes Prow Robot
0bb640c25a
Merge pull request #92205 from mrunalp/fix_host_path_socket_tests
...
test: Start a pod with nc instead of execing a background command
2020-06-18 06:03:31 -07:00
Kubernetes Prow Robot
6bb668c3c4
Merge pull request #92204 from dims/check-for-either-docker-or-containerd-getting-active
...
Check for either docker or containerd getting active
2020-06-18 06:03:21 -07:00
Grant Griffiths
e1f0e4cd9f
Add retain policy test and refactor snapshottable tests
...
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-06-17 19:53:53 -07:00
Kubernetes Prow Robot
cf36d9b8e9
Merge pull request #90880 from ii/ii-update-and-improve-replicationcontroller-resource-lifecycle-test
...
Update and improve ReplicationController resource lifecycle test
2020-06-17 19:50:05 -07:00
alejandrox1
9263dd1f02
Added a buffer period in the node performance tests
...
The node-kubelet-flaky e2e job that runs the the
`Node Performance Testing [Serial] [Slow] [Flaky]` e2e tests have been
flaking because of inconsistencies on the cpu manager checkpoint file.
This seems to be caused because the checkpoint file is deleted (which is
what needs to happen in order to change the CPU manager policy which is
used for these e2e tests) right after the e2e tests asserts that a pod
does not exist anymore.
However, after a pod is deleted, the CPU manager may still be cleaning
up the resources used by the pod which may result in the checkpoint file
being created.
Whenever this happened, the kubelet would panic if we then try to
subsequently change the CPU manager policy to "static" from "none" or
vice versa (this is done 4 times in these tests).
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-06-17 18:33:44 -04:00
Christopher M. Luciano
ca2b5b7605
ingress: promote CRUD API tests for v1 to conformance
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-17 13:01:16 -04:00
Naoki Oketani
c0562815fa
Remove --export flag from kubectl get command.
2020-06-17 18:35:03 +09:00
Kubernetes Prow Robot
53f3699cf9
Merge pull request #89778 from cmluciano/cml/ingressv1
...
ingress: Add Ingress to v1 API and update backend to defaultBackend
2020-06-16 23:10:39 -07:00
Kubernetes Prow Robot
19d220073c
Merge pull request #92176 from claudiubelu/test-images/rebases-kitten-nautilus
...
test images: rebases the kitten and nautilus images
2020-06-16 19:24:31 -07:00
Kubernetes Prow Robot
e760ecd50f
Merge pull request #92074 from nodo/pod-added-unschedulable-pod-integration-tests
...
Test pod becoming schedulable when another pod is added or updated
2020-06-16 19:23:33 -07:00
Kubernetes Prow Robot
8dbca91cae
Merge pull request #91962 from aojea/udp1
...
Deflake Services should be able to preserve UDP traffic when server pod cycles for a NodePort service
2020-06-16 19:22:53 -07:00
Kubernetes Prow Robot
580eebb03b
Merge pull request #90944 from ii/ii-update-and-improve-configmap-resource-lifecycle-test
...
Update and improve ConfigMap resource lifecycle test
2020-06-16 19:22:05 -07:00
Mrunal Patel
7643b64050
test: Start a pod with nc instead of execing a background command
...
The behavior for exec'ing a backgrounded command is not specified
with CRI so modify the test to run the command directly instead
of using exec.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-06-16 17:30:31 -07:00
Davanum Srinivas
01183e51f0
Check for either Docker or Containerd getting active for e2e_node tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-06-16 20:08:01 -04:00
Kubernetes Prow Robot
f455a143df
Merge pull request #91259 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-template-test
...
Create deleteCoreV1CollectionNamespacedPodTemplate test+promote - +1 endpoint coverage
2020-06-16 13:46:04 -07:00
Andrea Nodari
0c23caf8e7
Test a pod becoming schedulable when a scheduled pod is updated
2020-06-16 20:39:58 +02:00
Andrea Nodari
ad0bee482e
Add test case for a pod becoming schedulable when another pod is added
2020-06-16 20:29:55 +02:00
Kubernetes Prow Robot
13f1d956ea
Merge pull request #92169 from chendave/perf_nil_pointer
...
scheduler_perf: fix the nil pointer dereference
2020-06-16 10:06:04 -07:00
Dave Chen
ae735a1189
scheduler_perf: fix the nil pointer dereference
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-06-16 13:23:05 +08:00
Benjamin Elder
d65a3b15bf
update agnhost guestbook usage for s/slave/replica/
2020-06-15 20:08:27 -07:00
Kubernetes Prow Robot
98f250f883
Merge pull request #91307 from yuga711/attach
...
CSI: Modify VolumeAttachment check to use Informer/Cache
2020-06-15 08:10:10 -07:00
Antonio Ojea
27d32661c2
e2e conntrack tests
...
deflake current e2e test
"should be able to preserve UDP traffic when server pod cycles for a
NodePort service" and reorganize the code in the e2e framework
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-06-15 10:30:00 +02:00
Antonio Ojea
653eb230f2
force pod deletion on e2e network tests
2020-06-15 10:29:38 +02:00
Mateusz Matejczyk
af00593679
Revert "fix(e2e): access nodes via test container in LB network tests"
...
This reverts commit 708fb6b457
, https://github.com/kubernetes/kubernetes/pull/91559
It looks like the PR has broken other network tests - https://k8s-testgrid.appspot.com/sig-scalability-gce#gce-master-scale-correctness
2020-06-15 08:42:17 +02:00
Javier Diaz-Montes
9743cda4a7
Adding Kubelet changes to enable SetHostnameAsFQDN feature
...
These changes allow to set FQDN as hostname of pods for pods
that set the new PodSpec field setHostnameAsFQDN to true. The PodSpec
new field was added in related PR.
This is PART2 (last) of the changes to enable KEP #1797 and addresses #91036
2020-06-14 21:26:27 -04:00
Kubernetes Prow Robot
e6214389ca
Merge pull request #91975 from wking/to-success-typo
...
test/e2e/framework/pods: Fix "to success" -> "to succeed"
2020-06-14 02:07:55 -07:00
Benjamin Elder
9ce9e2a7aa
bump agnhost usage to current version
2020-06-13 20:46:05 -07:00
Kubernetes Prow Robot
f66af1062d
Merge pull request #92106 from BenTheElder/bump-image
...
bump agnhost version to match fully
2020-06-13 00:34:22 -07:00
Kubernetes Prow Robot
0d82da429c
Merge pull request #90167 from claudiubelu/test-images/owner-files-part-3
...
test images: Adds OWNERS files for images (part 3)
2020-06-12 19:53:56 -07:00
Kubernetes Prow Robot
7151131d79
Merge pull request #73032 from liggitt/kubectl-warning
...
surface server-side warnings in client-go / kubectl
2020-06-12 17:09:56 -07:00
Claudiu Belu
023282f1bd
test images: rebases the kitten and nautilus images
...
The current kitten and nautilus images are depending on agnhost:2.14, which
has not been built, since the Image Promoter was not working at the time.
2020-06-12 16:46:18 -07:00
Benjamin Elder
c57e39f664
bump agnhost version to match fully
2020-06-12 15:44:15 -07:00
Claudiu Belu
30f529c57f
test images: Adds --force-yes when installing jessie-dnsutils packages
...
Currently, the jessie-dnsutils image fails to build for arm64 arch with the following
error:
GPG error: http://archive.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717
We can bypass this issue by adding a --force-yes flag when installing the needed dnsutils.
2020-06-12 14:22:28 -07:00
Claudiu Belu
06ca9c8aab
test images: Adds OWNERS files for images
...
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).
Note that the code churn is taken into account for authors, and not committers.
Adds OWNERS files for: ipc-utils, node-perf, nonroot, regression-issue-74839,
resource-consumer, sample-device-plugin.
2020-06-12 11:49:16 -07:00
Kubernetes Prow Robot
1385280afc
Merge pull request #91775 from cofyc/fix91755
...
VolumeBinding: Skip/fail fast in PreFilter phase and improve error reporting
2020-06-12 10:47:56 -07:00
Kevin
bd961781d7
prevent update handler being called on disallowed CreateOnUpdate
2020-06-12 13:04:17 +00:00
Kubernetes Prow Robot
2e6eff75e5
Merge pull request #92002 from liggitt/csr-client-conformance
...
Move kube-apiserver client cert back to simple e2e
2020-06-12 02:23:57 -07:00
Yecheng Fu
c4138361e4
Fail fast in PreFilter phase and return UnschedulableAndUnresolvable if immediate PVCs are not bound
2020-06-12 10:00:19 +08:00
Jordan Liggitt
0d674c4edb
cmd: silence warnings in kube-controller-manager/kube-apiserver, dedupe/color warnings in kubectl
2020-06-11 16:04:19 -04:00
Jordan Liggitt
e4bb1daecf
apiserver: increment metric for deprecated API use
2020-06-11 16:04:19 -04:00
Ryan Phillips
d9d1fc6077
e2e pods: add missing pod and node name in the formatted log line
2020-06-11 14:50:27 -05:00
Kubernetes Prow Robot
4ea576e4f5
Merge pull request #87105 from BenTheElder/agnhost-replica
...
s/slave/replica in guestbook app
2020-06-11 10:48:56 -07:00
Jayasekhar Konduru
2a89577659
CSI: Modify VolumeAttachment check to use Informer/Cache
...
Change-Id: Ie70c8b6657c67eefbf13042f36d56ca84a2e42bb
2020-06-11 10:34:09 -07:00
Kubernetes Prow Robot
b8369fd2e5
Merge pull request #91593 from cmluciano/cml/conformancev1ing
...
ingress: Add CRUD tests for Ingress API verbs
2020-06-11 05:30:56 -07:00
Kubernetes Prow Robot
42bf886b37
Merge pull request #91726 from bertinatto/fix-flake-sc
...
Create pod to force volume provisioning in dynamic provisioning storage e2e test
2020-06-11 00:52:56 -07:00
Caleb Woodbine
34ddb64825
Add cleanup function; Fix build
2020-06-11 14:09:41 +12:00
Caleb Woodbine
34988cfe0e
Update to include watch tooling
2020-06-11 14:09:41 +12:00
Caleb Woodbine
b52740c44f
Add watch event checks
2020-06-11 14:09:41 +12:00
Caleb Woodbine
f0757ecd77
Move watchTimeout value to the top and add comments
2020-06-11 14:09:41 +12:00
Caleb Woodbine
0c8ae2abf3
Update and improve ConfigMap resource lifecycle test
2020-06-11 14:09:41 +12:00
Caleb Woodbine
e3b9d78915
Fix formatting
2020-06-11 14:07:27 +12:00
Caleb Woodbine
076d96236e
Add cleanup function
2020-06-11 14:07:27 +12:00
Caleb Woodbine
782bb43c4c
Fix formatting
2020-06-11 14:07:27 +12:00
Caleb Woodbine
209c05546a
Update to include watch tooling
2020-06-11 14:07:27 +12:00
Caleb Woodbine
d7d9ebf482
Add checks to each watch loops
2020-06-11 14:07:27 +12:00
Caleb Woodbine
1c010beb24
Revert scale patch payload types
2020-06-11 14:07:27 +12:00
Caleb Woodbine
29c85b7265
Update BUILD
2020-06-11 14:07:27 +12:00
Caleb Woodbine
54c744f033
Update patch checks, scale patch type
2020-06-11 14:07:27 +12:00
Caleb Woodbine
a962d80b99
Update and improve ReplicationController resource lifecycle test
2020-06-11 14:07:27 +12:00
Benjamin Elder
3298dfa73a
up sleep time in racy test
2020-06-10 17:23:27 -07:00
Kubernetes Prow Robot
7766e65a1b
Merge pull request #91955 from Huang-Wei/preemption-e2e-flake
...
Fix an e2e flake on updating node status
2020-06-10 17:14:17 -07:00
Kubernetes Prow Robot
c0da82c64a
Merge pull request #91830 from cmluciano/cml/ingressclassconformance
...
ingress: Add CRUD tests for IngressClass API verbs
2020-06-10 17:13:58 -07:00
Kubernetes Prow Robot
64d254508f
Merge pull request #91816 from p0lyn0mial/gc-discovery
...
GC: doesn't create monitors in the constructor
2020-06-10 17:13:48 -07:00
Kubernetes Prow Robot
111741071f
Merge pull request #91743 from spiffxp/fix-kubeconform-link
...
Merge behavior loading code
2020-06-10 17:13:10 -07:00
Caleb Woodbine
e8b70ce0da
Update docs
2020-06-11 11:08:24 +12:00
Jordan Liggitt
6fb7d40a72
Move kube-apiserver client cert back to simple e2e
2020-06-10 15:28:26 -04:00
Christopher M. Luciano
7351330255
ingress: Add CRUD tests for Ingress API verbs
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-10 15:20:36 -04:00
Lukasz Szaszkiewicz
50db32cf8c
GC doesn't have to create monitors in the constructor
2020-06-10 14:59:45 +02:00
Kubernetes Prow Robot
507cc20404
Merge pull request #91754 from liggitt/csr-v1-client-go-manager
...
CSR v1 - switch client-go certificate manager utility to v1 by default
2020-06-10 04:39:52 -07:00
Kubernetes Prow Robot
b41b89a424
Merge pull request #91682 from claudiubelu/img-promoter/windows-certs
...
test images: Adds step for fetching Windows image builder certificates
2020-06-10 04:39:42 -07:00
Kubernetes Prow Robot
84d745ffe4
Merge pull request #91559 from knight42/fix/e2e
...
e2e: access nodes via a test container
2020-06-10 04:39:31 -07:00
Kubernetes Prow Robot
410b929e78
Merge pull request #91471 from MHBauer/rm-old-config
...
remove out of date test config
2020-06-10 04:39:07 -07:00
Kubernetes Prow Robot
089e8f48f2
Merge pull request #90720 from claudiubelu/tests/fqdn-svc-names
...
tests: Check FQDN for external services on Windows
2020-06-10 04:38:37 -07:00
Fabio Bertinatto
8d644092ed
Create pod to force volume provisioning in storage e2e test
...
Otherwise, tests can fail if the default StorageClass
is configured with late binding.
2020-06-10 08:45:41 +02:00
Jordan Liggitt
a298c14f18
Switch cert manager to v1 CSR API by default, falling back to v1beta1
2020-06-10 02:30:54 -04:00
W. Trevor King
d9cc269bb6
test/e2e/framework/pods: Fix "to success" -> "to succeed"
...
Typo is from 5eb41e9acb
(Add container lifecycle hook test,
2016-09-23, #33389 ).
2020-06-09 20:04:07 -07:00
Wei Huang
51a9dcce22
Revert "Fix an issue that a Pod's nominatedNodeName cannot be cleared when the nominated node is deleted"
...
This reverts commit 369a9001c6
.
2020-06-09 16:47:37 -07:00
Wei Huang
43da0fff29
Fix an e2e flake on updating node status
2020-06-09 16:08:59 -07:00
Caleb Woodbine
5268ba5488
Ensure events occur regardless of the events in between
2020-06-10 10:51:39 +12:00
Kubernetes Prow Robot
dbfc3aa877
Merge pull request #91748 from apelisse/resetting-managed-fields-and-fieldtype
...
Resetting managed fields and fieldtype
2020-06-09 14:49:40 -07:00
Kubernetes Prow Robot
11fe6e815f
Merge pull request #91713 from liggitt/csr-v1-manager
...
CSR v1 - switch controllers
2020-06-09 14:49:30 -07:00
Kubernetes Prow Robot
717b9b769e
Merge pull request #91265 from brianpursley/fix_cassandra_cassandra_cassandra_cassdandra
...
Prevent false error message from resource_aliasing integration test
2020-06-09 14:48:04 -07:00
Christopher M. Luciano
ea03097e4d
ingress: Add CRUD tests for IngressClass API verbs
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-09 15:17:29 -04:00
Brian Pursley
f5dc5300c6
Replaced 4 kube::test::get_object_assert() calls with 1 call using regex to match all combinations
2020-06-09 08:35:54 -04:00
Claudiu Belu
abe8bea529
Fixes test images cloudbuild.yaml secret fetching
...
Co-authored-by: Aaron Crickenberger <spiffxp@google.com>
2020-06-09 14:05:33 +03:00
Claudiu Belu
2a07efe925
tests: Check FQDN for external services on Windows
...
Windows does not support partially qualified domain names, which is why the test can fail.
Additionally, because nslookup may return 0 on Windows, even if the given DNS name was not
found, this issue was not observed until recently. We're now checking stderr as well.
2020-06-09 02:36:20 -07:00
knight42
708fb6b457
fix(e2e): access nodes via test container in LB network tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-06-09 14:32:31 +08:00
Kubernetes Prow Robot
fc30f8854d
Merge pull request #91849 from knabben/scheduler-integration-pre
...
Scheduler integration tests standarization
2020-06-08 21:44:26 -07:00
Kubernetes Prow Robot
c5894cadc3
Merge pull request #91828 from knabben/scheduler-integration-test
...
Scheduler integration framework table-driven tests
2020-06-08 21:44:17 -07:00
Kubernetes Prow Robot
eeba1b39ff
Merge pull request #91811 from lixiaobing1/lxb-err
...
another:Replace framework.Failf with ExpectNoError
2020-06-08 21:44:07 -07:00
Kubernetes Prow Robot
5248bef370
Merge pull request #91750 from Huang-Wei/clear-nnn
...
Fix an issue that a Pod's nominatedNodeName cannot be cleared upon node deletion
2020-06-08 21:43:58 -07:00
Claudiu Belu
862bd63f80
tests: Fixes Windows kubelet-stats test
...
The test spawns 10 pods with the same pod name, which contains multiple
containers with the same container name. Because of this, the test fails.
This commit addresses this issue.
2020-06-08 20:42:04 -07:00
Benjamin Elder
c8dce6d4b3
bump agnhost version
2020-06-08 16:38:09 -07:00
Benjamin Elder
f9851d929b
s/slave/replica in guestbook app
2020-06-08 16:37:26 -07:00
Amim Knabben
fcb41d3d2c
Integration framework table-tests standarization
2020-06-08 14:03:54 -04:00
Kubernetes Prow Robot
2c7d431a20
Merge pull request #91883 from SataQiu/deprecate-ResourceLimitsPriorityFunction-20200608
...
Remove ResourceLimitsPriorityFunction feature gate in the scheduler
2020-06-08 09:25:47 -07:00
SataQiu
932e61aefa
deprecate ResourceLimitsPriorityFunction feature gate in the scheduler
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-06-08 22:20:14 +08:00
Kubernetes Prow Robot
0e2220b446
Merge pull request #91243 from cynepco3hahue/e2e_multiply_hugepages
...
Refactor and add new tests to hugepages e2e tests
2020-06-08 06:31:46 -07:00
Stephen Heywood
04627cef49
Address issues with test failures
2020-06-08 20:41:32 +12:00
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
Jan Safranek
62b7516b63
Add e2e test for read-only volume used by multiple pods
2020-06-08 09:38:11 +02: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
lsytj0413
64094899b0
test(e2e_node): Parallelize prepulling all images in e2e_node
tests
2020-05-30 18:07:23 +08: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
Gaurav Singh
adcd8909fb
cleanup: Remove_unnecessary_Sprintfs
...
Removed unused fmt
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-28 13:43:13 -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
Ed Bartosh
e6192a87af
Remove unused e2e test image config
...
node_e2e tests use benchmark image configs from test-infra repository
This one is outdated and not used anywhere.
2020-05-28 14:44:31 +03: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
Kubernetes Prow Robot
329ecaa657
Merge pull request #90898 from wojtek-t/fix_statefulset_test
...
Fix stateful set test flakiness
2020-05-08 18:28:28 -07:00
Kubernetes Prow Robot
13010d199c
Merge pull request #90878 from saikat-royc/snapshotter-provisioner
...
Pickup Snapshot Provisioner from the snapshot class "driver" info.
2020-05-08 13:43:51 -07:00
Mike Dame
49464d9ec3
Balance node usage before creating victim pods in preemption e2e
2020-05-08 15:53:38 -04:00
Gaurav Singh
af74fbabf4
Remove unused err variable
2020-05-08 14:20:35 -04:00
Kubernetes Prow Robot
5983660ed7
Merge pull request #90543 from giuseppe/fix-tasksaccounting-systemd
...
test, e2e_node: drop superfluous systemd properties
2020-05-08 10:57:43 -07:00
wojtekt
238dde4bdb
Fix statefulset test flakiness
2020-05-08 17:23:03 +02:00
Kubernetes Prow Robot
db9b0b0c0e
Merge pull request #90827 from gaurav1086/apimachinery_fix_race_condition
...
Fix date race in Apimachinery test
2020-05-08 05:23:56 -07:00
Antoni Zawodny
a303346dcc
Add option to resize kubemark node objects size
2020-05-08 13:06:49 +02:00
Saikat Roychowdhury
dcfaaefc60
Pickup Snapshot Provisioner from the snapshot class "driver" info.
...
When using FromFile or FromExisitingClass options, snapshot provisioner
should be picked up from the "driver" tag of VolumeSnapshotClass object.
2020-05-08 05:45:36 +00:00
Davanum Srinivas
b64e904ca8
Drop conformance for a HostPath test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-07 22:40:00 -04:00
Wei Huang
fc11871c61
test: Use dedicated informerFactory for node lifecycle controller
2020-05-07 15:01:55 -07:00
Kubernetes Prow Robot
c5be566b14
Merge pull request #90707 from jherrera123/fix-issue-88132
...
Make flexvolume e2e tests runnable again.
2020-05-07 07:35:15 -07:00
Clayton Coleman
3c9959a5d4
netexec: Allow graceful shutdown testing from netexec
...
The current /exit method is not sufficient to test graceful shutdown
behaviors within Kube that allow services to remain available during
rolling restarts. Add support for `wait=DURATION` and
`timeout=DURATION` to the exit handler and wire that to the Go http
server's graceful termination.
With these methods netexec can be used in a pod to simulate graceful
shutdown by adding a preStop handler that hits the exit endpoint with
a timeout and wait period.
2020-05-07 09:18:27 -04:00
Kubernetes Prow Robot
7f78048594
Merge pull request #90781 from msau42/increase-timeout
...
Increase timeout waiting for driver to start on nodes
2020-05-06 22:23:08 -07:00
Gaurav Singh
37458b350e
Fix date race in storage
2020-05-06 22:57:08 -04:00
Gaurav Singh
254a21b66e
Apimachinery test: Fix date race
2020-05-06 22:50:00 -04:00
Kubernetes Prow Robot
b144eec878
Merge pull request #90778 from msau42/update-mock
...
Update sidecars for csi mock driver
2020-05-06 17:57:08 -07:00
Kubernetes Prow Robot
3416442e4b
Merge pull request #90644 from tanjunchen/remove-controller-dependency
...
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-05-06 11:47:12 -07:00
Kubernetes Prow Robot
0a6c826d3e
Merge pull request #90715 from jsafrane/gluster-ignore-notfound
...
Ignore NotFound error when cleaning up Gluster tests
2020-05-06 05:25:09 -07:00
Patrick Ohly
5aa3805a5f
mock e2e test: reduce flakiness by not testing all calls
...
kubelet sometimes calls NodeStageVolume an NodePublishVolume too
often, which breaks this test and leads to flakiness. The test isn't
about that, so we can relax the checking and it still covers what it
was meant to cover.
2020-05-06 11:43:16 +02:00
Michelle Au
fc08f74157
Increase timeout waiting for driver to start on nodes to reduce test flakiness
...
Change-Id: Id553943e4473b387bf0ae14a18a90cb3a1bcd5c1
2020-05-05 18:10:10 -07:00
Kubernetes Prow Robot
8e3766f2a8
Merge pull request #90215 from jasimmons/pr_agnhost_netexec_http
...
Adds HTTPS logic to agnhost netexec
2020-05-05 18:01:09 -07:00
Michelle Au
b34ad7e8ad
Update sidecars for csi mock driver
...
Change-Id: Ica8ca20404fd15dcfdbb912602934a5b9f24e4c6
2020-05-05 16:21:19 -07:00
Shihang Zhang
3db7275b54
set proper file permission for projected service account volume
2020-05-04 18:25:23 -07:00
Kubernetes Prow Robot
fbacb6e264
Merge pull request #90335 from pohly/cleanup-late-binding
...
e2e storage: wait for PV deletion also for late binding
2020-05-04 18:05:07 -07:00
Kubernetes Prow Robot
03a927e756
Merge pull request #90535 from gnufied/azure-zone-e2e
...
Azure - fix create azure disk PV in regions that don't have zones
2020-05-04 13:46:27 -07:00
Kubernetes Prow Robot
dca3e3f6ed
Merge pull request #90486 from aojea/iperf
...
Fix e2e network performance test
2020-05-04 08:10:26 -07:00
Shaun Crampton
73fe9c9915
Avoid early exit when collecting post-E2E failure logs.
...
collectPodsAndNetworkPolicies() is called to collect diagnostics
after a failure. Previously, if it encountered a failure in getting
the logs it would call Failf(), discarding the rest of the diagnostics
immediately.
2020-05-04 14:32:04 +01:00
Vincent Boulineau
3bff11244b
kubelet: fix /stats/summary
endpoint on Windows when init-containers are present on the node
...
Following changes in #87730 , Kubelet is directly hcsshim to gather stats.
However, unlike `docker stats` API that was used before, hcsshim does not
keep information about exited containers.
When the Kubelet lists containers (`docker_container.go:ListContainers()`),
it sets `All: true`, retrieving non-running containers.
When docker stats is called with such container id, it'll return a valid JSON
with all values set to 0. The non-running containers are filtered later on in the process.
When the hcsshim is called with such container id, it'll return an error, effectively
stopping the stats retrieval for all containers.
2020-05-04 14:42:02 +02:00
Jan Safranek
de09560cf0
Ignore NotFound error when cleaning up Gluster tests
...
"Volumes GlusterFS should be mountable" is a bit flaky in a downstream CI.
This PR make "should be mountable" test on par with the other GlusterFS
tests (in_tree.go: DeleteVolume())
2020-05-04 12:57:45 +02:00
Giuseppe Scrivano
b21b1a5436
test, e2e_node: drop superfluous systemd properties
...
commit 43c56eb403
introduced a change
where CPUAccounting, CPUAccounting and TasksAccounting are enabled for
the systemd service.
It causes a regression on RHEL 7.8 where systemd-run doesn't allow to
set TasksAccounting.
Since Delegate= already enables all the controllers, it is superfluous
to specify them.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-05-04 09:22:35 +02:00
Jesus Herrera
aeb654495b
Fix usage of incorrect TestContext variable
2020-05-03 15:34:43 -04:00
Antonio Ojea
26a00f9032
add ipv6 support to the e2e nfs tests
...
nfs mount command need to use the IP enclosed with square brackets
if is an IPv6 address
2020-05-03 11:06:10 +02:00
Kubernetes Prow Robot
e01f553ddd
Merge pull request #90135 from claudiubelu/tests/subpath-retry-exec
...
tests: Retries exec after container restart due to liveness
2020-05-02 06:02:25 -07:00
Kubernetes Prow Robot
7e627e01ef
Merge pull request #90640 from gongguan/clean-port-flag
...
clean some dead constants
2020-05-01 00:42:22 -07:00
Kubernetes Prow Robot
6b594c25c8
Merge pull request #90615 from dims/drop-conformance-tag-for-tests-that-rely-directly-on-kubelet-logs-api
...
Drop conformance tag for tests that rely directly on kubelet /logs API
2020-05-01 00:42:12 -07:00
Kubernetes Prow Robot
cff910b890
Merge pull request #90509 from knight42/fix/flaky-explain-test
...
fix flaky conformance test
2020-05-01 00:40:18 -07:00
Kubernetes Prow Robot
a0344973a3
Merge pull request #90591 from cofyc/fix-e2e-namespace-creation
...
e2e: regenerate namespace name if the name is already taken
2020-04-30 15:56:13 -07:00
tanjunchen
caddb3ffd3
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-04-30 23:08:33 +08:00
louisgong
9390ff35a1
clean some dead configs
2020-04-30 20:07:08 +08:00
Kubernetes Prow Robot
8876563700
Merge pull request #90360 from tnozicka/fix-client-ca-reload
...
Fix client-ca dynamic reload in apiserver
2020-04-30 01:10:18 -07:00
Caleb Woodbine
bd9269f444
Fix formatting
2020-04-30 14:21:04 +12:00
Davanum Srinivas
3292bb6145
Drop conformance tag for tests that rely directly on kubelet /logs API
...
In caf0d1d61874a2c8687b7deb773eca30ddaee5b6 we documented a policy to
ensure that conformance tests should not rely in existence or use of
kubelet apis directly. So based on that we should drop conformance for
the two tests here that use the "/logs" endpoint directly.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-29 20:16:51 -04:00
Hemant Kumar
9d4329f62c
Check for empty zone string
2020-04-29 10:46:15 -04:00
Tomas Nozicka
b22a170d46
Fix client-ca dynamic reload in apiserver
2020-04-29 16:03:09 +02:00
tanjunchen
3b5ea194ea
test/e2e/framework : move AddOrUpdateTaintOnNode to subpackage node
2020-04-29 21:29:38 +08:00
Claudiu Belu
06a1b7b491
tests: Retries exec after container restart due to liveness
...
The test "should not change the subpath mount on a container restart if the environment variable changes"
creates a pod with the liveness probe: cat /volume_mount/test.log. The test then
deletes that file, which causes the probe to fail and the container to be restarted.
After which it recreates the file by exec-ing into the pod, but there is a chance
that the container was not created yet, or it did not start yet.
This commit adds a few retries to the exec command.
2020-04-29 03:22:30 -07:00
Claudiu Belu
707883d52b
tests: Refactors Variable Expansion tests
2020-04-29 03:21:35 -07:00
Yecheng Fu
38c5da01ad
regenerate namespace name if the name is already taken
2020-04-29 17:27:52 +08:00
Aaron Crickenberger
c209fe8439
fix .import-restrictions to work with import-boss --include-test-files
...
this is mainly to ensure integration tests (which all end in _test)
are properly bossed around for their imports
I had to adjust some of the _test files to adhere to existing
reverse_rules specified elsewhere
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
81881e4a12
prune .import-restrictions
...
specifically:
- cmd/kubeadm/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
- rm pkg/controller/.import-restrictions
- pkg/client/unversioned was removed in 59042
- pkg/kubectl/.import-restrictions
- pkg/printers is no longer used
- pkg/api was masking all of the pkg/apis prefixes
- rm staging/src/k8s.io/code-generator/cmd/lister-gen/.import-restrictions
- noop / empty file
- test/e2e/framework/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
f306a0dbb4
convert .import-restrictions to yaml
...
yaml has comments, so we can explain why we have certain rules or
certain prefixes
for those files that weren't already commented yaml, I converted them to
yaml and took a best guess at comments based on the PRs that introduced
or updated them
2020-04-28 08:41:36 -07:00
knight42
b9fb9b82f3
test(kubectl::explain): move the flaky test out of conformance
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-04-28 21:35:30 +08:00
Kubernetes Prow Robot
f86bf71dbe
Merge pull request #89560 from gavinfish/direct-k8s-pod
...
e2e/framework: remove direct imports to /pkg/api/v1/pod
2020-04-27 22:26:05 -07:00
Hemant Kumar
850da22c02
Azure - do not use 0 zone or empty string for zone when creating PVs
2020-04-27 17:14:50 -04:00
Guangming Wang
e92a91eb72
cleanup: no need nil check before range
2020-04-27 22:12:12 +08:00
Antonio Ojea
2c2e9cdd72
Fix e2e network performance test
2020-04-27 11:57:10 +02:00
Patrick Ohly
e3d258d6ca
e2e storage: wait for PV deletion also for late binding
...
When a test pattern or storage class uses late binding, the cleanup
code didn't know about the PV that may have been created for the PVC
since setting it up and thus then also didn't wait for PV deletion.
This is problematic for test isolation because the next test was
allowed to be started before fully cleaning up. Worse, it the driver
gets removed after the test, the volume might never get deleted.
2020-04-27 10:34:50 +02:00
Gaurav Singh
8240f21753
Convert index variable to interface{}
2020-04-26 11:10:00 -04:00
Gaurav Singh
98051aaba2
Fix race condition in logging
2020-04-25 22:01:21 -04:00
Kubernetes Prow Robot
4e45845530
Merge pull request #90095 from agadelshin/87893-ingress-egress-test
...
Add test for ingress/egress combination
2020-04-25 05:57:28 -07:00
Kubernetes Prow Robot
52ba6dc560
Merge pull request #89594 from wojtek-t/beta_immutable_secrets
...
Promote Immutable Secrets/ConfigMaps to Beta
2020-04-25 03:17:29 -07:00
Kubernetes Prow Robot
d0f10f1d4f
Merge pull request #90465 from wojtek-t/fix_loadbalancer_tets
...
Migrate ingress test manifests to networking API group
2020-04-24 15:32:37 -07:00
Kubernetes Prow Robot
b68bf25531
Merge pull request #90448 from soltysh/issue87851
...
Fix run command when waiting for pods
2020-04-24 15:32:17 -07:00
Kubernetes Prow Robot
219f062769
Merge pull request #64829 from dixudx/e2e_hostpath_type
...
fix bug on checking non directory HostPathType and add e2e tests for HostPathType
2020-04-24 15:31:29 -07:00
Kubernetes Prow Robot
7fdb2b16ae
Merge pull request #90468 from liggitt/fix-cache-control
...
Restore cache-control header filter
2020-04-24 14:01:29 -07:00
Jordan Liggitt
5efcc9e633
Restore cache-control header filter
2020-04-24 15:38:51 -04:00
wojtekt
b112393394
Migrate ingress test manifests to networking API group
2020-04-24 20:41:48 +02:00
Maciej Szulik
6f1484256d
waitForPod should use different exitCondition depending on restart policy
2020-04-24 16:30:46 +02:00
Kubernetes Prow Robot
70c18e4a15
Merge pull request #90404 from beautytiger/200423-nil-check
...
cleanup: delete unnacessary nil check before range
2020-04-24 04:42:06 -07:00
Kubernetes Prow Robot
f7b9960767
Merge pull request #90313 from tangcong/fix-scheduler-static-checkerr
...
fix e2e scheduling staticcheck error
2020-04-23 23:30:20 -07:00
Kubernetes Prow Robot
a62cfe8451
Merge pull request #75111 from tnozicka/fix-e2e-watches
...
Fix watches in e2e tests
2020-04-23 19:20:07 -07:00
Kubernetes Prow Robot
aef471ec3c
Merge pull request #90392 from tanjunchen/remove-direct-dependency
...
test/e2e_node/gpu_device_plugin_test.go:Remove direct prometheus dependencies from k/k
2020-04-23 17:20:20 -07:00
Kubernetes Prow Robot
775feed217
Merge pull request #90018 from wojtek-t/deprecate_default_conversions
...
Deprecate default conversions
2020-04-23 10:23:10 -07:00
Tomas Nozicka
c62db98e95
Update Bazel
2020-04-23 17:27:13 +02:00
Tomas Nozicka
d0a4c52392
Fix watches in apparmor e2e
2020-04-23 17:26:28 +02:00
Tomas Nozicka
df8994c202
Fix watches in e2e framework
2020-04-23 17:17:26 +02:00
Tomas Nozicka
c0ddbb0e97
Fix watches in init container e2e tests
2020-04-23 16:52:29 +02:00
Tomas Nozicka
2256991c93
Fix watches in StatefulSet e2e tests
2020-04-23 16:08:32 +02:00
Guangming Wang
bbd4fea21c
cleanup: delete unnacessary nil check before range
2020-04-23 20:28:14 +08:00
Kubernetes Prow Robot
c12aeb2b77
Merge pull request #89753 from ii/promote-event-resource-lifecycle-test
...
Promote Event resource lifecycle test +5 test endpoint coverage
2020-04-23 03:57:45 -07:00
tanjunchen
de99aaf8d2
test/e2e_node/gpu_device_plugin_test.go:Remove prometheus dependencies from k/k
2020-04-23 14:23:43 +08:00
Caleb Woodbine
e09e781a0c
Promote ServiceAccount resource lifecycle test
2020-04-23 16:32:54 +12:00
Di Xu
3f5e09b6e2
add e2e tests for HostPathType and mark as slow
2020-04-23 10:52:40 +08:00
Kubernetes Prow Robot
7ad2eb04af
Merge pull request #90354 from ii/mark-replicationcontroller-resource-lifecycle-test-as-flaky
...
Mark ReplicationController resource lifecycle test as flaky
2020-04-22 19:22:43 -07:00
Kubernetes Prow Robot
53374fa519
Merge pull request #90343 from neolit123/1.19-remove-kubernetes-anywhere
...
remove kubernetes-anywhere from this repository
2020-04-22 19:22:24 -07:00
Kubernetes Prow Robot
c13a9401ca
Merge pull request #90193 from ii/create-serviceaccount-resource-lifecycle-test
...
Create ServiceAccount resource lifecycle test - +3 endpoint coverage
2020-04-22 19:22:00 -07:00
Kubernetes Prow Robot
43cd2ff239
Merge pull request #89549 from happinesstaker/sa-rotate
...
Monitoring safe rollout of time-bound service account token.
2020-04-22 17:01:58 -07:00
Jiajie Yang
ae0e52d28c
Monitoring safe rollout of time-bound service account token.
2020-04-22 11:59:16 -07:00
Laszlo Janosi
af33c2f7e8
Add CreateSCTPServiceWithPort() to the framework in preparation for the coming SCTP e2e tests
2020-04-22 15:59:59 +00:00
Kubernetes Prow Robot
fc9d174102
Merge pull request #88248 from claudiubelu/tests/reduce-to-agnhost-mounttest
...
tests: Replaces mounttest images used with agnhost (part 4)
2020-04-22 04:53:52 -07:00
Caleb Woodbine
39e5122153
Update ReplicationController resource lifecycle test to be marked as flaky
2020-04-22 15:07:10 +12:00
Caleb Woodbine
9a53b0ec57
Add check for error in listing ServiceAccounts
2020-04-22 12:08:00 +12:00
Caleb Woodbine
c6e1701bda
Add checks to watches; Update to patch different subproperty
2020-04-22 10:45:17 +12:00
Lubomir I. Ivanov
820c87c069
remove kubernetes-anywhere from this repository
...
The project has been deprecated since Dec 2018 and is unused.
Cleanup in:
- /test/e2e/framework/
- /cluster/
2020-04-21 22:52:51 +03:00
Kubernetes Prow Robot
66fd1335fa
Merge pull request #90305 from wojtek-t/enable_couple_large_cluster_tests
...
Enable couple networking tests for large clusters
2020-04-21 07:52:56 -07:00
Jason Simmons
d0f19815d2
Updates agnhost image VERSION and README
2020-04-21 09:43:58 -04:00
Kubernetes Prow Robot
72cdc8c211
Merge pull request #89256 from yue9944882/integration-test-flowcontrol
...
Priority-level isolation integration test
2020-04-21 05:42:55 -07:00
Kubernetes Prow Robot
07179d0207
Merge pull request #87998 from msau42/e2e-reattach-stress
...
Add stress test to repeatedly restart Pods with PVCs in parallel
2020-04-21 03:04:57 -07:00
Kubernetes Prow Robot
4362bf7919
Merge pull request #89505 from knight42/fix/kubectl-explain-crd
...
fix(kubectl): explain crds whose resource name is the same as builtin objects
2020-04-21 01:44:56 -07:00
toyoda
47e4f51da2
Add checking error for disruption e2e test
2020-04-21 09:52:49 +09:00
Kubernetes Prow Robot
d6f44b0ea9
Merge pull request #90278 from aojea/closewait
...
Deflake TCP Closewait e2e test
2020-04-20 17:44:56 -07:00
tangcong
eab22fd805
fix e2e scheduling staticcheck error
2020-04-21 07:11:26 +08:00
Kubernetes Prow Robot
d92fdebd85
Merge pull request #89897 from giuseppe/test-e2e-node
...
kubelet: fix e2e-node cgroups test on cgroup v2
2020-04-20 15:54:12 -07:00
Kubernetes Prow Robot
0e072a8214
Merge pull request #85478 from bart0sh/PR0084-e2e_node-inspect-inspect-image-before-pulling
...
e2e_node: check if image exists locally before pulling
2020-04-20 14:05:40 -07:00
Kubernetes Prow Robot
be9427e253
Merge pull request #90252 from dims/no-need-to-vendor-bazel-gazelle/buildtools/kazel
...
Separate go module for tools to avoid polluting root go.mod
2020-04-20 12:19:41 -07:00
wojtekt
da1ed9d1ed
Enable couple networking tests for large clusters
2020-04-20 21:11:34 +02:00
Kubernetes Prow Robot
2c80046ed1
Merge pull request #90286 from smarterclayton/preempt
...
test: PriorityClass resource quota tests should not cause preemption
2020-04-20 10:42:04 -07:00
wojtekt
0360e4d1a1
Promote Immutable Secrets/ConfigMaps feature to Beta
2020-04-20 18:04:43 +02:00
Kubernetes Prow Robot
7f7378eddf
Merge pull request #89854 from SataQiu/fix-session-affinity-test-20200404
...
Increase the session affinity timeout to ensure that the test passes
2020-04-20 02:49:39 -07:00
Ed Bartosh
88478f3749
e2e_node: check if image exists locally before pulling
...
'docker pull' is a time consuming operation. It makes sense to check
if image exists locally before pulling it from a registry.
Checked if image exists by running 'docker inspect'. Only pull if
image doesn't exist.
2020-04-20 12:27:29 +03:00
Antonio Ojea
e3df13439a
fix service allocation concurrency issues
...
The service allocator is used to allocate ip addresses for the
Service IP allocator and NodePorts for the Service NodePort
allocator. It uses a bitmap backed by etcd to store the allocation
and tries to allocate the resources directly from the local memory
instead from etcd, that can cause issues in environment with
high concurrency.
It may happen, in deployments with multiple apiservers, that the
resource allocation information is out of sync, this is more
sensible with NodePorts, per example:
1. apiserver A create a service with NodePort X
2. apiserver B deletes the service
3. apiserver A creates the service again
If the allocation data of apiserver A wasn't refreshed with the
deletion of apiserver B, apiserver A fails the allocation because
the data is out of sync. The Repair loops solve the problem later,
but there are some use cases that require to improve the concurrency
in the allocation logic.
We can try to not do the Allocation and Release operations locally,
and try instead to check if the local data is up to date with etcd,
and operate over the most recent version of the data.
2020-04-20 09:50:00 +02:00
Kubernetes Prow Robot
1aa2c99a27
Merge pull request #90254 from smarterclayton/flaky_test
...
test: IngressClass exclusion test races with admission cache
2020-04-19 21:11:40 -07:00
SataQiu
fc3d282b10
kube-proxy: increase the session affinity timeout to ensure that the test passes in ipvs mode
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-04-20 10:22:30 +08:00
Davanum Srinivas
12146cb4df
Do not include bazel related deps in root go.mod
...
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module
- hack/tools/tools.go undescore imports bazel related tools, over time we
can add others.
- hack/*.sh scripts will cd to hack/tools and go install tools from there
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-19 22:01:50 -04:00
Clayton Coleman
1e4e0759e8
test: PriorityClass resource quota tests should not cause preemption
...
During a parallel test run these tests were observed to cause a
preemption of another test:
```
Apr 19 16:59:06.749: INFO: At 2020-04-19 16:58:52 +0000 UTC - event for pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1: {default-scheduler } Scheduled: Successfully assigned e2e-init-container-7691/pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1 to ip-10-0-148-234.us-west-2.compute.internal
Apr 19 16:59:06.750: INFO: At 2020-04-19 16:58:54 +0000 UTC - event for pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1: {default-scheduler } Preempted: Preempted by e2e-resourcequota-priorityclass-8850/testpod-pclass9 on node ip-10-0-148-234.us-west-2.compute.internal
```
These tests have no need to actually land on a node to validate resource quota and so we can set an impossible scheduling condition. Hopefully we don't have tests that too broadly check impossible scheduling conditions.
2020-04-19 15:08:00 -04:00
Clayton Coleman
77973b5279
test: IngressClass exclusion test races with admission cache
...
The admission cache may take longer to see both ingress classes
than it takes to create the ingress. We must loop until we see
the appropriate error, cleaning up after ourselves as we go.
2020-04-19 10:28:46 -04:00
Antonio Ojea
6efe6e1284
e2e TCP Close-wait don't set conn deadline
...
Don't set a connection deadline for reading, because the read operation will
fail if no data is reaceived after the deadline, and will not keep the
connection in the close_wait status.
2020-04-19 13:52:49 +02:00
Antonio Ojea
4b423ad073
e2e kube-proxy don't delete inmediatly
2020-04-19 13:37:34 +02:00
Antonio Ojea
638e077b4b
e2e kube_proxy pull only if not available
2020-04-19 13:11:31 +02:00
Kubernetes Prow Robot
e95106106b
Merge pull request #90243 from soltysh/issue90074
...
Revert "stop defaulting kubeconfig to http://localhost:8080 "
2020-04-18 23:07:36 -07:00
Kubernetes Prow Robot
640b3c0582
Merge pull request #89916 from tanjunchen/update-20200407
...
test/e2e/autoscaling: refactor installNVIDIADriversDaemonSet()
2020-04-17 14:43:36 -07:00
yue9944882
df5dfb46b7
assert shared concurrency
2020-04-18 01:15:54 +08:00
Kubernetes Prow Robot
87eb688ec9
Merge pull request #90234 from jsafrane/remove-prestop-hook
...
Sync csi-hostpath manifests
2020-04-17 07:41:06 -07:00
Maciej Szulik
a871738c86
Revert "stop defaulting kubeconfig to http://localhost:8080 "
...
This reverts commit b19ad9e7a7
.
2020-04-17 16:37:15 +02:00
Kubernetes Prow Robot
72fb952dd6
Merge pull request #89915 from YuikoTakada/move_e2e_framework_WaitForService
...
Move WaitForService() into e2eservice
2020-04-17 04:49:07 -07:00
Jan Safranek
4bcb3cd34e
Sync csi-hostpath manifests
...
Copy csi-hostpath driver manifests from
kubernetes-csi/csi-driver-host-path. It bumps version of all images to the
release shipped along Kubernetes 1.18.
2020-04-17 09:49:24 +02:00
Kubernetes Prow Robot
7c53c1eb91
Merge pull request #89819 from pohly/enhance-podlogs-master
...
tests: enhance podlogs
2020-04-16 22:19:07 -07:00
Kubernetes Prow Robot
ae8d30631d
Merge pull request #90214 from pohly/stop-pod-master
...
storage tests: really wait for pod to disappear
2020-04-16 20:49:07 -07:00
Yuiko Mori
9c87deb487
Move WaitForService() into e2eservice
2020-04-17 00:11:13 +00:00
Michelle Au
6596e20b18
Make stress test parameters configurable
...
Change-Id: Ia062f3433b6043825a51a54c7c07eb4cdf809631
2020-04-16 14:18:21 -07:00
Kubernetes Prow Robot
aa0665dfee
Merge pull request #90147 from gnufied/use-random-node-zone-for-inline-e2e
...
Use random zone for inline volume e2e tests
2020-04-16 13:59:08 -07:00
Patrick Ohly
0cdd5365a1
storage tests: really wait for pod to disappear
...
As seen in one case (https://github.com/intel/pmem-csi/issues/587 ), a
pod can reach the "not running" state although its ephemeral volumes
are still being torn down by kubelet and the CSI driver. What happens
then is that the test returns too early and even deleting the
namespace and thus the pod succeeds before the NodeVolumeUnpublish
really finishes.
To avoid this, StopPod now waits for the pod to really disappear.
2020-04-16 21:10:56 +02:00
Jason Simmons
c56d8df5e3
Adds HTTPS logic to agnhost netexec
...
The agnhost image used for testing has a `netexec` path which supports
two new flags, `--tls-cert-file` and `--tls-private-key-file`. If the
former is provided, the HTTP server will be upgraded to HTTPS, using the
certificate (and private key) provided.
By default, there are keys already mounted into the container at
`/localhost.crt` and `/localhost.key`, which contain PEM-encoded TLS
certs with IP SANs for `127.0.0.1` and `[::1]`.
2020-04-16 11:42:37 -04:00
Kubernetes Prow Robot
b0806d0c02
Merge pull request #90165 from ScrapCodes/fix_flake_run_apply
...
Fixed flaky test by changing get_object_assert -> wait_object_assert.
2020-04-16 08:38:59 -07:00
Kubernetes Prow Robot
da5e6ad347
Merge pull request #90052 from tosi3k/reenable-ilb-test
...
Remove the 'DisabledForLargeClusters' tag from ILB correctness test
2020-04-16 02:14:45 -07:00
Caleb Woodbine
e31baf82da
Fix build
2020-04-16 17:52:10 +12:00
Caleb Woodbine
23d4367cff
Add ServiceAccount resource lifecycle test
2020-04-16 16:34:59 +12:00
Prashant Sharma
5a765b1e15
Changed get_object_assert -> wait_object_assert, to fix the flaky test.
2020-04-16 10:01:18 +05:30
tanjunchen
2e8e029737
test/e2e/autoscaling: refactor installNVIDIADriversDaemonSet()
2020-04-16 11:36:56 +08:00
Kubernetes Prow Robot
51d41dfdb1
Merge pull request #89542 from julianvmodesto/diff-dry-run-conformance
...
Add kubectl diff and server-side dry-run to e2e tests
2020-04-15 19:50:45 -07:00
Michelle Au
e132b77ae4
Add stress test to repeatedly restart Pods with PVCs in parallel
...
Change-Id: I499571cc86b1058d0e16d79e5e998d1dedfd9a4a
2020-04-15 18:10:35 -07:00
Kubernetes Prow Robot
b35fdbc037
Merge pull request #89904 from alculquicondor/raw-extension-plugin-args
...
Use RawExtension and Object for external and internal, respectively, scheduling plugin args
2020-04-15 15:22:59 -07:00
Kubernetes Prow Robot
b7a6d53f5e
Merge pull request #88924 from dims/add-support-for-listing-conformance-tests-in-e2e.test
...
Add support for listing conformance tests in e2e.test
2020-04-15 13:14:45 -07:00
Kubernetes Prow Robot
413c81a793
Merge pull request #90171 from kubernetes/revert-89421-disabled_for_large_cluster
...
Revert "Remove the 'DisabledForLargeClusters' tags from LB network tests."
2020-04-15 11:36:50 -07:00
Kubernetes Prow Robot
5ccc6e0142
Merge pull request #90166 from claudiubelu/test-images/owner-files-part-2
...
test images: Adds OWNERS files for images (part 2)
2020-04-15 11:36:42 -07:00
Kubernetes Prow Robot
a06d735829
Merge pull request #89152 from claudiubelu/image-promoter/reenable-windows
...
Image promoter: Reenable Windows test image building
2020-04-15 11:35:46 -07:00
Rob Scott
c0f58ba23a
Improving EndpointSlice tests
...
This adds 2 new tests covering EndpointSlices, including new coverage of
the self referential Endpoints and EndpointSlices that need to be
created by the API Server and the lifecycle of EndpointSlices from
creation to deletion. This also removes the [feature] indicator from the
name to ensure that this test will run more often now that it is enabled
by default.
2020-04-15 10:21:00 -07:00
Kubernetes Prow Robot
4cf56b0996
Merge pull request #88114 from pohly/storage-capacity-tests
...
storage capacity tests
2020-04-15 07:02:02 -07:00
Wojciech Tyczynski
5dca58d852
Revert "Remove the 'DisabledForLargeClusters' tags from LB network tests."
2020-04-15 13:45:42 +02:00
Artur Gadelshin
bf30bdddb1
add error check for network policy test
2020-04-15 11:47:02 +02:00
Hemant Kumar
7d6712632c
Use random zone for inline volume e2e tests
2020-04-14 23:37:21 -04:00
tanjunchen
87f2ef51f4
test/e2e/framework:remove direct k8s.io/kubernetes depedencies
2020-04-15 09:39:22 +08:00
Kubernetes Prow Robot
d0183703cb
Merge pull request #90059 from ahg-g/ahg-nodeinfo2
...
Cleanup obsolete NodeInfo methods
2020-04-14 17:32:04 -07:00
Kubernetes Prow Robot
548124828c
Merge pull request #90113 from claudiubelu/windows-tests/gmsa-nanoserver
...
Windows tests: Makes gMSA test more nanoserver friendly
2020-04-14 12:34:26 -07:00
Kubernetes Prow Robot
ea2d784545
Merge pull request #89895 from jingyih/update_etcd_server_3p4p7
...
Update default etcd server to 3.4.7 in k8s v1.19
2020-04-14 12:34:06 -07:00
Aldo Culquicondor
ce05382b58
Use RawExtension and Object for external and internal scheduling plugin args, respectively
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-14 13:44:42 -04:00
Claudiu Belu
2321378fe5
test images: Adds OWNERS files for images (part 3)
...
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).
Note that the code churn is taken into account for authors, and not committers.
Adds OWNERS files for: cuda-vector-add, nonewprivs, pets, redis, volume.
2020-04-14 05:26:22 -07:00
Claudiu Belu
2b5fb5366f
test images: Adds OWNERS files for images (part 2)
...
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).
Note that the code churn is taken into account for authors, and not committers.
Adds ONWERS files for: apparmor-loader, echoserver, jessie-dnsutils, metadata-concealment,
sample-apiserver.
2020-04-14 05:18:34 -07:00
Claudiu Belu
94ffe582e9
Image promoter: Reenable Windows test image building
...
The build times are a bit high for the image builder (~50 minutes), and it will a bit more
when Windows support will be added to the other test images. This commit changes the
machineType to N1_HIGHCPU_8.
Reenables Windows test image building. Added DOCKER_CERT_BASE_PATH (default value: $HOME),
which will contain the path where the certificates needed for Remote Docker Connection can
be found.
If a REMOTE_DOCKER_URL was not set for a particular OS version, exclude that image from the
manifest list. This fixes an issue where, if REMOTE_DOCKER_URL was not set for Windows Server 1909,
the Windows were completely excluded from the manifest list, including for Windows Server 1809
and 1903 which could have been built and pushed.
Sets "test-webserver" as the default CMD for kitten and nautilus. Since they are now based on
agnhost, they should be set to run test-webserver to maintain previous behaviour.
Bumps the agnhost version to 2.13, as 2.12 has already been promoted. 2.13 will contain
Windows support.
Adds Windows support for the kitten and nautilus images, so they can promoted together
with agnhost (they were not previously promoted).
Adds OWNERS files to: agnhost, busybox, kitten, nautilus.
2020-04-14 05:12:46 -07:00
Patrick Ohly
2ae6cf5984
mock tests: per-test timeout for ResourceExhausted
...
The timeout for the two loops inside the test itself are now bounded
by an upper limit for the duration of the entire test instead of
having their own, rather arbitrary timeouts.
2020-04-14 09:11:42 +02:00
tanjunchen
f76da50c7d
test/e2e/framework/util.go:move DsFromManifest to test/e2e/framework/manifest , and rename it to DaemonSetFromURL
2020-04-14 09:54:41 +08:00
jingyih
394df132bd
Update default etcd server to 3.4.7
2020-04-13 14:37:56 -07:00
Kubernetes Prow Robot
c894c7b121
Merge pull request #88393 from abhiraut/e2e-exc-multiple
...
Add e2e test for stacked NetworkPolicies with overlapping CIDR
2020-04-13 13:37:48 -07:00
Claudiu Belu
335dc6e2ee
Windows tests: Makes gMSA test more nanoserver friendly
...
Nanoserver does not have powershell. This commit will replace the powershell
command with its cmd equivalent.
2020-04-13 08:05:16 -07:00
yue9944882
875407a450
add flowcontrol integration test to import whitelist
2020-04-13 22:33:08 +08:00
yue9944882
30bc0fce48
integration test for priority-level isolation
2020-04-13 22:33:07 +08:00
Artur Gadelshin
4164b5c892
Add egress check to deny-all policy
2020-04-13 09:40:49 +02:00
toyoda
64fee7d58b
Remove unnecessary return value in e2e/apps/disruption
2020-04-13 15:04:00 +09:00
Kubernetes Prow Robot
b17ddac4df
Merge pull request #78944 from avorima/golint_fix_job
...
Fix golint errors in pkg/controller/job
2020-04-12 21:57:47 -07:00
Kubernetes Prow Robot
6239abe698
Merge pull request #89225 from andrewsykim/apparmor-api
...
move apparmor annotation constants to k8s.io/api/core/v1
2020-04-12 19:11:50 -07:00
Abdullah Gharaibeh
bed9b2f23b
Cleanup obsolete NodeInfo methods
2020-04-12 18:13:46 -04:00
Artur Gadelshin
875f80e3a3
Add test for ingress/egress combination
2020-04-12 23:36:16 +02:00
Kubernetes Prow Robot
ee6b88ddf9
Merge pull request #90000 from SataQiu/staging-scheduler-20200409
...
scheduler: remove direct import to pkg/master/ports
2020-04-11 10:46:01 -07:00
Kubernetes Prow Robot
4bba193bea
Merge pull request #89666 from julianvmodesto/kubectl-scale-dry-run
...
Support kubectl scale --dry-run=server|client
2020-04-11 10:45:47 -07:00
SataQiu
41d3e44a2f
scheduler: remove direct import to pkg/master/ports
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-04-11 13:56:53 +08:00
Kubernetes Prow Robot
f13051c28c
Merge pull request #90060 from oomichi/WaitForAvailableEndpoint
...
Make WaitForAvailableEndpoint() local
2020-04-10 22:05:47 -07:00
gavinfish
bc0cfd273e
e2e/framework: remove direct imports to /pkg/api/v1/pod
2020-04-11 11:12:36 +08:00
Kubernetes Prow Robot
92356963fd
Merge pull request #90035 from alejandrox1/mv-manifests-to-framework
...
Moved e2e/manifests to e2e test framework
2020-04-10 14:40:01 -07:00
Kubernetes Prow Robot
1c01efe10f
Merge pull request #89945 from k-toyoda-pi/add_error_check_e2e_disruption
...
Add error check for marshaling json in e2e/apps/disruption
2020-04-10 12:26:01 -07:00
Kubernetes Prow Robot
81d2707797
Merge pull request #89889 from tanjunchen/move-func-20200406
...
move function RemoveTaintOffNode in test/e2e/framework/util.go to subpackage node
2020-04-10 12:25:48 -07:00
Kenichi Omichi
76833e2c37
Make WaitForAvailableEndpoint() local
...
WaitForAvailableEndpoint() is only used in e2eservice.
So this makes the function() local clearly.
2020-04-10 18:08:13 +00:00
wojtekt
f624314f91
Fix multiple conversion tests
2020-04-10 17:03:35 +02:00
Antoni Zawodny
4030da9e34
Remove the 'DisabledForLargeClusters' tag from ILB correctness test
2020-04-10 13:55:15 +02:00
Kubernetes Prow Robot
157b2aa820
Merge pull request #89918 from tanjunchen/improve-code
...
test/e2e/scheduling : improve code
2020-04-10 02:17:46 -07:00
alejandrox1
bf984efcc7
Moved e2e/manifests to e2e test framework
...
The functionality included in the e2e/manifests is useful for writing
e2e tests and will be a good addition to the test framework as a
sub-package.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-04-09 20:48:52 -04:00
Kubernetes Prow Robot
0c9245a29f
Merge pull request #89974 from ahg-g/ahg-info
...
scheduler's NodeInfo tracks PodInfos instead of Pods
2020-04-09 09:19:58 -07:00
Kubernetes Prow Robot
897c10e7b2
Merge pull request #89551 from zlabjp/restore-kubectl-prune-multiple-namespaces
...
Restore the ability to `kubectl apply --prune` without -n flag
2020-04-09 07:49:43 -07:00
Giuseppe Scrivano
43c56eb403
e2e_node: adapt tests to cgroup v2
...
and fix node_container_manager_test to run with the systemd cgroup
manager.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-09 16:18:05 +02:00
Kubernetes Prow Robot
1634d9c120
Merge pull request #89982 from neolit123/1.19-fix-kubeadm-integration-tests
...
cleanup the kubeadm integration tests and related scripts
2020-04-09 04:55:44 -07:00
knight42
397f107a08
fix(kubectl): explain crds with the same resource name with builtin objects
2020-04-09 16:44:17 +08:00
Tatsuhiro Tsujikawa
7af3b01f24
Restore the ability to kubectl apply --prune
without -n flag
...
Before https://github.com/kubernetes/kubernetes/pull/83084 , `kubectl
apply --prune` can prune resources in all namespaces specified in
config files. After that PR got merged, only a single namespace is
considered for pruning. It is OK if namespace is explicitly specified
by --namespace option, but what the PR does is use the default
namespace (or from kubeconfig) if not overridden by command line flag.
That breaks the existing usage of `kubectl apply --prune` without
--namespace option. If --namespace is not used, there is no error,
and no one notices this issue unless they actually check that pruning
happens. This issue also prevents resources in multiple namespaces in
config file from being pruned.
kubectl 1.16 does not have this bug. Let's see the difference between
kubectl 1.16 and kubectl 1.17. Suppose the following config file:
```yaml
apiVersion: v1
kind: ConfigMap
metadata:
creationTimestamp: null
name: foo
namespace: a
labels:
pl: foo
data:
foo: bar
---
apiVersion: v1
kind: ConfigMap
metadata:
creationTimestamp: null
name: bar
namespace: a
labels:
pl: foo
data:
foo: bar
```
Apply it with `kubectl apply -f file`. Then comment out ConfigMap foo
in this file. kubectl 1.16 prunes ConfigMap foo with the following
command:
$ kubectl-1.16 apply -f file -l pl=foo --prune
configmap/bar configured
configmap/foo pruned
But kubectl 1.17 does not prune ConfigMap foo with the same command:
$ kubectl-1.17 apply -f file -l pl=foo --prune
configmap/bar configured
With this patch, kubectl once again can prune the resource as before.
2020-04-09 02:54:10 +00:00
Kubernetes Prow Robot
4bdb72ed11
Merge pull request #89113 from claudiubelu/test-images/fixes-and-cleanups
...
test images: Adds various fixes and cleanups to the image building process
2020-04-08 18:19:44 -07:00
Abdullah Gharaibeh
b8ddd00312
scheduler's NodeInfo tracks PodInfos instead of Pods
2020-04-08 17:53:20 -04:00
Lubomir I. Ivanov
9bbd321fec
remove /cluster/kubeadm.sh and /test/cmd/kubeadm.sh
...
/cluster/kubeadm.sh is used to find the kubeadm binary.
This file is legacy and is removed.
Remove /test/cmd/kubeadm.sh. This file contains a function that is used
to build kubeadm and invoke "make test". Move the function contents
to hack/make-rules/test-cmd.cmd.
Stop sourcing /test/cmd/kubeadm.sh in /test/cmd/legacy-script.sh.
Also remove the --kubeadm-path invocation as this can be handled
with an env. variable directly.
2020-04-09 00:47:15 +03:00
tanjunchen
e358e75681
test/e2e/scheduling:improve code
2020-04-08 18:03:15 +08:00
tanjunchen
bf170e1db1
/test/e2e/apimachinery/:fix bug
2020-04-08 17:46:01 +08:00
toyoda
effd064ef7
Add error check for marshaling json
2020-04-08 15:26:10 +09:00
tanjunchen
6532b40f21
move function RemoveTaintOffNode in test/e2e/framework/util.go to subpackage node
2020-04-08 09:59:44 +08:00
Kubernetes Prow Robot
53ffaa7175
Merge pull request #76443 from mgdevstack/promote-service-sessionaffinity
...
Promote e2e "verifying service's sessionAffinity for ClusterIP and NodePort services" to Conformance
2020-04-07 18:47:44 -07:00
Kubernetes Prow Robot
172553bf94
Merge pull request #89926 from wojtek-t/cleanup_default_conversions_2
...
Stop relying on default conversions for metav1beta1 and e2e-node tests
2020-04-07 16:46:23 -07:00
Kubernetes Prow Robot
646ba8b310
Merge pull request #89715 from spiffxp/avoid-kubelet-api-in-conformance
...
Avoid kubelet API in Conformance tests
2020-04-07 16:45:43 -07:00
Kubernetes Prow Robot
3072d1e22e
Merge pull request #88036 from ii/promote-podtemplate-lifecycle
...
Promote: PodTemplate Lifecycle test - +3 conformance endpoint coverage
2020-04-07 15:27:43 -07:00
Kubernetes Prow Robot
007f7ae7dc
Merge pull request #89912 from ahg-g/ahg-fwk
...
Move scheduler's NodeInfo and Listers types to framework pkg
2020-04-07 12:49:57 -07:00
Kubernetes Prow Robot
f21bd9efb9
Merge pull request #89745 from johnbelamaric/kubeconform-cleanup
...
Various cleanup for the kubeconform command
2020-04-07 12:49:44 -07:00
Kubernetes Prow Robot
46b2891089
Merge pull request #89771 from dims/avoid-panic-when-reporting-error-in-conformance-tests
...
Avoid panic when reporting error in conformance test
2020-04-07 08:31:44 -07:00
wojtekt
101221be33
Stop relying on default conversion in node e2e tests
2020-04-07 17:19:41 +02:00
Abdullah Gharaibeh
a5d8172715
move nodeinfo type to framework pkg
2020-04-07 10:25:24 -04:00
Davanum Srinivas
f7e7621395
Avoid panic when reporting error in conformance test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-07 08:37:02 -04:00
Kubernetes Prow Robot
a7f43a7203
Merge pull request #89421 from mm4tt/disabled_for_large_cluster
...
Remove the 'DisabledForLargeClusters' tags from LB network tests.
2020-04-07 05:03:44 -07:00
Patrick Ohly
48f8e398fb
mock tests: remove redundant wrapping of error
...
The "error waiting for expected CSI calls" is redundant because it's
immediately followed by checking that error with:
framework.ExpectNoError(err, "while waiting for all CSI calls")
2020-04-07 13:09:31 +02:00
Patrick Ohly
2550051f3b
mock tests: add timeout
...
The for loop that waited for the signal to delete pod had no timeout,
so if something went wrong, it would wait for the entire test suite to
time out.
2020-04-07 13:09:31 +02:00
Patrick Ohly
f117849582
mock tests: ResourceExhausted error handling in external-provisioner
...
The mock driver gets instructed to return a ResourceExhausted error
for the first CreateVolume invocation via the storage class
parameters.
How this should be handled depends on the situation: for normal
volumes, we just want external-scheduler to retry. For late binding,
we want to reschedule the pod. It also depends on topology support.
2020-04-07 13:09:31 +02:00
Patrick Ohly
367a23e4d9
mock tests: remove redundant retrieval of log output
...
The code became obsolete with the introduction of parseMockLogs
because that will retrieve the log itself. For debugging of a running
test the normal pod output logging is sufficient.
2020-04-07 13:07:09 +02:00
Patrick Ohly
d06589e4b6
mock tests: less verbose log output checking
...
parseMockLogs is called potentially multiple times while waiting for
output. Dumping all CSI calls each time is quite verbose and
repetitive. To verify what the driver has done already, the normal
capturing of the container log can be used instead:
csi-mockplugin-0/mock@127.0.0.1: gRPCCall: {"Method":"/csi.v1.Node/NodePublishVolume","Request"...
2020-04-07 13:07:09 +02:00
Kubernetes Prow Robot
15bb54c2d2
Merge pull request #89041 from jsafrane/stage-error-tests
...
Add NodeStage error tests
2020-04-07 03:25:57 -07:00
Kubernetes Prow Robot
38f0a8bc74
Merge pull request #89652 from liggitt/relist-timeout
...
Fix client watch reestablishment handling of client-side timeouts
2020-04-07 01:15:44 -07:00
Kubernetes Prow Robot
4c81edbb41
Merge pull request #89905 from oomichi/DescribeIng
...
Move DescribeIng() into e2eingress
2020-04-06 20:29:44 -07:00
Kubernetes Prow Robot
667e028f38
Merge pull request #83378 from ii/promote-pod-replicaset-verification
...
Promote pod PreemptionExecutionPath verification - +3 conformance endpoint coverage
2020-04-06 19:09:43 -07:00
Kubernetes Prow Robot
ac40660952
Merge pull request #89556 from smarterclayton/remove_startup_script
...
test: Remove final user of startup-script image
2020-04-06 17:47:34 -07:00
Kubernetes Prow Robot
87966c39f1
Merge pull request #89890 from fedepaol/useagnhost
...
Use agnhost version 2.13
2020-04-06 15:42:32 -07:00
Kenichi Omichi
2f5f16004d
Move DescribeIng() into e2eingress
...
The function is only for e2e ingress test, it is not necessary to
keep the function in e2e test core framework.
2020-04-06 20:01:55 +00:00
Kubernetes Prow Robot
64d75b3bad
Merge pull request #89787 from oomichi/NodeUpgrade
...
Move NodeUpgrade() into GCP e2e tests
2020-04-06 11:20:03 -07:00
Mayank Gaikwad
7aa94a6549
Promote e2e verifying service's session affinity behaviours
2020-04-06 21:42:22 +05:30
Andrew Sy Kim
2e56866c97
move apparmor annotation constants to k8s.io/api/core/v1
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-04-06 10:22:04 -04:00
Federico Paolinelli
7f73d7b6d1
Use agnhost version 2.13
...
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-04-06 10:00:26 -04:00
Patrick Ohly
981aae35dd
mock tests: do not give up immediately for pod output errors
...
As seen in some test
runs (https://prow.k8s.io/view/gcs/kubernetes-jenkins/pr-logs/pull/89041 ),
retrieving output can fail with "the server rejected our request for
an unknown reason (get pods csi-mockplugin-0)".
If this truly an intermittent error, then the existing retry logic in
the callers can deal with this.
2020-04-06 15:03:44 +02:00
Jan Safranek
e23a26a380
Update to new javascript
2020-04-06 15:03:22 +02:00
Jan Safranek
a4f080861f
Test NodeStage error cases
...
Especially related to "uncertain" global mounts. A large refactoring of CSI
mock tests were necessary:
- to be able to script the driver to return errors as required by the test
- to parse the CSI driver logs to check kubelet called the right CSI calls
2020-04-06 15:03:22 +02:00
Mateusz Matejczyk
0817af735c
Remove the 'DisabledForLargeClusters' tags from ELB network tests.
...
We did some internal testing at Google and, with the recent improvements, we believe that it's safe to re-enable these LB tests for large clusters.
Ref. https://github.com/kubernetes/kubernetes/issues/56138
2020-04-06 14:36:56 +02:00
Kubernetes Prow Robot
c1f1b1bceb
Merge pull request #89848 from seans3/kubectl-apply-fix
...
Even with build error, kubectl apply should apply all valid resources
2020-04-05 18:57:46 -07:00
Caleb Woodbine
b50a710691
Fix formatting
2020-04-06 13:13:10 +12:00
Caleb Woodbine
8390de02d0
Fix formatting
2020-04-06 09:19:54 +12:00
Antonio Ojea
0748a75dfb
e2e TCP CLOSE test wait until pod is ready
...
the e2e TCP CLOSE_WAIT has to create a server pod and then, from
a client, it creates a connection but doesn't notify the server
when closing it, so it stays on the CLOSE_WAIT status until it
times out.
Current test use a simple timeout for waiting the that server pod
is ready, it's better to use WaitForPodsReady for waiting that
the pod is available to avoid problems on busy environments like
the CI.
It also deletes the pods once the tests finish to avoid leaking
pods.
2020-04-05 15:00:14 +02:00
Sean R. Sullivan
748ad74245
Even with build error, kubectl apply should apply all valid resources
2020-04-04 15:48:31 -07:00
Kubernetes Prow Robot
47f5d2923f
Merge pull request #89460 from wawa0210/change-os-label-windows
...
[Trival] beta.kubernetes.io/os deprecated since v1.14, are targeted for removal in v1.18
2020-04-04 08:36:00 -07:00
Prashant Sharma
3ff54eb10c
Fixes a flaky test, by adding kubectl wait for delete deployment in apply.sh ( #89725 )
...
* Add kubectl wait for delete deployment.
* Even better to wait for all pods deleted.
* get_object_assert -> wait_object_assert
2020-04-04 00:07:47 -07:00
Kubernetes Prow Robot
fb9c304766
Merge pull request #89830 from fedepaol/bumpagnhost
...
Bump agnhost version to 2.13, and bump up depending images.
2020-04-03 17:05:47 -07:00
Kubernetes Prow Robot
d911254deb
Merge pull request #89704 from liggitt/gnostic
...
github.com/googleapis/gnostic v0.4.1
2020-04-03 14:19:46 -07:00
Federico Paolinelli
e31f72e3a4
Bump agnhost version to 2.13, and bump up depending images.
...
Kitten / nautilus depend on agnhost.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-04-03 13:00:23 -04:00
Patrick Ohly
b9c5c55c09
podlogs: avoid dumping a terminated container more than once
...
The original logic was that dumping can stop (for example, due to
loosing the connection to the apiserver) and then will start again as
long as the container exists. That it duplicates output on restarts
is better than skipping output that might not have been dumped yet.
But that logic then also dumped the output of containers that have
terminated multiple times:
- logging is started, dumps all output and stops because the
container has terminated
- next check finds the container again, sees no active logger,
repeats
This wasn't a problem for short-lived logging in a custom
namespace (the way how it is done for CSI drivers in Kubernetes E2E),
but other testsuites (like the one from PMEM-CSI) keep logging running
for the entire test suite duration: there duplicate output became a
problem when adding driver redeployment as part of the suite's run.
To avoid duplicated output for terminated containers, which containers
have been handled is now stored permanently. For terminated containers,
restarting of dumping is prevented. This comes with the risk that if
the previous dumping ended before capturing all output, some output
will get lost.
Marking the start and stop of the log was also useful when streaming
to a single writer and thus gets enabled.
2020-04-03 14:45:00 +02:00
Patrick Ohly
dbac2a369a
podlogs: adapt to modified error message
...
Commit 8a495cb5e4
changed the spelling of the error message that we
want to ignore. In case of version skew we suppress both the old and
new spelling.
2020-04-03 14:43:52 +02:00
Kubernetes Prow Robot
15c3e492b3
Merge pull request #89795 from julianvmodesto/fix-diff
...
Ensure diff doesn't persist patches
2020-04-03 04:27:58 -07:00
Kubernetes Prow Robot
7bd48eb3f6
Merge pull request #89784 from oomichi/sshPort
...
Add common SSHPort on e2essh
2020-04-02 21:40:40 -07:00
Kubernetes Prow Robot
821ebaf0c6
Merge pull request #87448 from YuikoTakada/fix_81657_t_integ_dep
...
Fix static check failures in test/integration/deployment
2020-04-02 21:39:45 -07:00