Dave Chen
5144e2ec78
Remove the deprecated metrics from scheduler
...
Deprecated metrics are removed and suggest to use the Histogram
metrics got from scheduler extension points.
Signed-off-by: Dave Chen <dave.chen@arm.com>
Co-authored-by: wawa0210 <xiaozhang0210@hotmail.com>
2020-12-14 11:31:50 +08:00
Claudiu Belu
5fd669db51
test images: Adds Windows 2004 and 20H2 base images for busybox
...
busybox is being used as a base image for a few other images, like
agnhost, so we need to update this image first.
2020-12-13 08:22:14 -08:00
Kubernetes Prow Robot
2bd115e364
Merge pull request #97228 from chendave/unboundVolume
...
Make sure the volume name is not empty when the PVC is bound
2020-12-11 20:17:26 -08:00
KeZhang
e3ba42324b
remove unused funcs for e2e predicates
2020-12-12 09:43:01 +08:00
Kubernetes Prow Robot
eecbdea3d6
Merge pull request #96462 from claudiubelu/test-images-multiarch
...
test images: Adds -p yes when calling register.sh
2020-12-11 15:01:27 -08:00
Kubernetes Prow Robot
49dd01f048
Merge pull request #96573 from Jiawei0227/skiptest
...
Storage testsuite refactor & cleanup
2020-12-11 11:57:26 -08:00
Tomas Nozicka
e4d7915a2e
Use non privileged ports
2020-12-11 13:57:46 +01:00
Claudiu Belu
77e0c55acd
test images: Adds 20H2 image to windows-servercore-cache
...
The 20H2 image was released in the second half of the year, and
we are going to need images for testing the release.
The image tag can be found here:
https://hub.docker.com/_/microsoft-windows-servercore
2020-12-11 03:22:55 -08:00
Dave Chen
b9d9a5ebed
Make sure the volume name is not empty when the PVC is bound
...
Current logic to check whether a PVC is fully bound are:
1. PVC's volume name is not empty
2. Annotation "pv.kubernetes.io/bind-completed" is properly set
The behavior in the test case only set the annotation, and leave the
volume name to be set by a `FakePVController`.
This will cause a problem for us to run some testcase like scheduler's
perf test, scheduling pod with volume as an example, the first try will
always hit "unbound immediate PersistentVolumeClaims" exception.
As a result, the metric data "schedule_attempts_total", or "scheduling_algorithm_duration_seconds"
will not accurate enough.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-11 16:57:51 +08:00
Kubernetes Prow Robot
ee8983705a
Merge pull request #96679 from stmcginnis/appspot-cleanup
...
Remove stale analytics links from docs
2020-12-10 23:17:22 -08:00
Jiawei Wang
356bea6c9f
Add storage framework and address comments
2020-12-10 22:48:06 -08:00
Jefftree
32a64cf14c
tests for buildOpenAPIModelsForApply
2020-12-10 15:33:18 -08:00
Jiawei Wang
988563f8f5
Extract testsuite api to a separate package
...
Extract TestSuite, TestDriver, TestPattern, TestConfig
and VolumeResource, SnapshotVolumeResource from testsuite
package and put them into a new package called api.
The ultimate goal here is to make the testsuites as clean
as possible. And only testsuites in the package.
2020-12-10 11:12:51 -08:00
Jiawei Wang
5dc491758c
Storage testsuite refactor & cleanup
...
Cleanup all the f.BeforeEach() before new framework to move all the
testskips in the new SkipUnsupportedTests() to make the structure easier.
And provide the standard way of RegisterTests()
Add a InitCustomXXXTestSuite(patterns []patterns) function for each
TestSuite to enable custom test suite definition.
2020-12-10 11:12:51 -08:00
Dan Winship
46470008a3
Improve error message on "CLOSE_WAIT" test failure
2020-12-10 11:00:13 -05:00
Kubernetes Prow Robot
fb02a59a6a
Merge pull request #96611 from tosi3k/lorem-ipsum
...
Remove master-log-dump.sh
2020-12-10 02:32:53 -08:00
ialidzhikov
bc432124a2
Remove CSINodeInfo feature gate
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-12-10 09:58:22 +02:00
pacoxu
75a2cc2cfd
fix legacy 'ENV name value' syntax
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-10 10:38:10 +08:00
Kubernetes Prow Robot
534531fc47
Merge pull request #96694 from andrewsykim/node-conformance-exec-probe-timeout
...
e2e/node: add exec probe timeout tests to NodeConformance
2020-12-09 07:54:49 -08:00
Kubernetes Prow Robot
77d150ae11
Merge pull request #96856 from aojea/netpolipv6
...
e2e network policy enclose IPv6 destinations
2020-12-09 03:26:50 -08:00
Kubernetes Prow Robot
65d57211e3
Merge pull request #97068 from chendave/selectors
...
Add constraint selector to pod template
2020-12-08 22:01:19 -08:00
Kubernetes Prow Robot
74a7fc46c3
Merge pull request #97029 from andrewsykim/routes-controller-allocate-node-cidr-check
...
cloud-controller-manager: routes controller should not depend on --allocate-node-cidrs
2020-12-08 22:00:50 -08:00
pacoxu
f970b2bd41
remove dup key in test
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-09 13:16:16 +08:00
Kubernetes Prow Robot
ae287e848b
Merge pull request #97001 from Jiawei0227/copySC
...
Copy the same storageclass instead of constructing one in external test
2020-12-08 21:06:07 -08:00
Kubernetes Prow Robot
31d55baf63
Merge pull request #96875 from Jiawei0227/externaldriver2
...
Remove external driver duplicated misleading SupportedSizeRange
2020-12-08 20:04:24 -08:00
Kubernetes Prow Robot
dbe67deb2b
Merge pull request #96843 from Jiawei0227/externaldriver
...
Remove unnecessary snapshot ability check for external driver
2020-12-08 20:03:59 -08:00
Kubernetes Prow Robot
a1a7f834ed
Merge pull request #96687 from jayunit100/patch-16
...
test_context.go: add "windows" to the list of options for "--node-os-distro"
2020-12-08 18:35:57 -08:00
Kubernetes Prow Robot
34baf6aeb7
Merge pull request #96666 from harche/fix_typo
...
Remove the typo in the logs while configuring firewall for node e2e
2020-12-08 18:35:13 -08:00
Kubernetes Prow Robot
c07c7317af
Merge pull request #96659 from chendave/volume
...
Create PVC first if it's referenced by PV
2020-12-08 18:34:48 -08:00
Kubernetes Prow Robot
1fe25e9f73
Merge pull request #96637 from hasheddan/node-local-env
...
Update comment to not indicate check is run for docker daemon
2020-12-08 18:34:18 -08:00
Kubernetes Prow Robot
54de7237f4
Merge pull request #96571 from smarterclayton/fedora_path_2
...
test/integration/etcd: Use the busybox shim image constant
2020-12-08 17:29:09 -08:00
Kubernetes Prow Robot
9de5f165ea
Merge pull request #96467 from jsafrane/storage-go-recover
...
Add GinkgoRecover to a local storage go routine
2020-12-08 17:28:43 -08:00
Kubernetes Prow Robot
83b2c7a1bf
Merge pull request #96311 from thockin/kep-1659-topology-labels
...
Convert users of old failure-domain labels to new
2020-12-08 17:28:27 -08:00
Kubernetes Prow Robot
9d81c4ebfa
Merge pull request #96296 from aojea/extip
...
kube-proxy treat ExternalIPs as ClusterIPs
2020-12-08 17:28:18 -08:00
Kubernetes Prow Robot
9a175b9b2a
Merge pull request #96223 from SataQiu/fix-scheduler-20201104
...
scheduler: parse Pod's Node affinity once in PreScore phase
2020-12-08 17:28:06 -08:00
Kubernetes Prow Robot
dcc863a8b3
Merge pull request #96219 from fromanirh/tm-e2e-sriovdp-usage
...
node: e2e: bring up/down SRIOV DP just once
2020-12-08 16:29:53 -08:00
Kubernetes Prow Robot
bc63d37155
Merge pull request #96042 from bertinatto/custom-timeouts
...
[sig-storage] Add custom timeouts in E2E tests
2020-12-08 16:29:44 -08:00
Kubernetes Prow Robot
5cdc3e6e20
Merge pull request #95613 from MHBauer/CAP_NET_RAW
...
CAP_NET_RAW should be NET_RAW
2020-12-08 16:29:28 -08:00
Kubernetes Prow Robot
e1c617a88e
Merge pull request #96874 from MikeSpreitzer/flaky/apnf-e2e-drown-test
...
Tweak up flaking end-to-end tests of API Priority and Fairness
2020-12-04 14:37:25 -08:00
Adhityaa Chandrasekar
922548bbb4
APF e2e: disable drown-out tests temporarily
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-12-04 20:18:54 +00:00
Dave Chen
58142288a5
Add constraint selector to pod template
...
PodTopologySpread plugin will only count the existing pod when that
pod's label matches with `constraint.Selector`, which means all pods
could be scheduled to one topology zone when the constraint does not
have any selector defined.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-04 18:04:26 +08:00
Antonio Ojea
5e712b85a1
bump agnhost base image
2020-12-04 10:01:24 +01:00
Jiawei Wang
8c17534429
Copy the same storageclass instead of constructing one in external test
2020-12-03 19:52:32 -08:00
Andrew Sy Kim
0c90d8ddd9
test/integration: disable fake cloud routes controllers in cloud-controller-manager secure serving tests
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-12-03 14:03:33 -05:00
Claudiu Belu
e2ca45ca0a
test images: Adds windows/amd64/2004 BASEIMAGE
2020-12-03 15:31:09 +00:00
Dave Chen
d293ae1298
Create PVC first if it's referenced by PV
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-03 13:56:54 +08:00
Amim Knabben
00da68dbc2
Adding restart kubelet flag on e2e test
2020-12-02 18:05:22 -05:00
Fabio Bertinatto
ee082985c2
e2e: promote use of functions that support custom timeouts in storage tests.
...
WaitForPodSuccessInNamespace[Slow] are replaced by WaitForPodSuccessInNamespaceTimeout(),
so that custom timeouts are used instead of the hardcoded ones.
2020-12-02 16:14:13 -03:00
Fabio Bertinatto
c28dba5494
e2e: add new custom timeout value for slow PV deletion
2020-12-02 15:57:58 -03:00
Fabio Bertinatto
c82626f96f
e2e: use custom timeouts in all storage E2E tests
2020-12-02 15:57:58 -03:00
Fabio Bertinatto
f6e900f468
e2e: add custom timeouts support in external storage drivers
2020-12-02 15:57:58 -03:00
Fabio Bertinatto
3ec93da1b5
e2e: add custom timeouts to E2E framework
2020-12-02 15:57:58 -03:00
Abu Kashem
5b1d0b7fc1
p&f e2e test: log response header for better troubleshooting
2020-12-02 10:38:48 -05:00
Wei Huang
8cf3347d87
Increase preemption timeout from 1 minute to 2 minutes
2020-12-01 14:17:12 -08:00
Claudiu Belu
b95891b1f0
test images: sets DOCKER_CLI_EXPERIMENTAL="enabled" globally
2020-12-01 15:10:39 +00:00
Claudiu Belu
ef530c12d6
test images: Adds -p yes when calling register.sh
...
Before creating and bootstrapping a docker buildx instance, we need to call
register.sh with the -p yes flag. Without this, the docker buildx will only
support linux/amd64 and linux/386 platforms, meaning that it will fail when
trying to build images for other architecture types.
Additionally, the builder has to have qemu and its qemu-* binaries installed
in order to properly build the images. The recently created image
gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f has those requirements met.
2020-12-01 15:10:39 +00:00
Kubernetes Prow Robot
e0c587bf4f
Merge pull request #96798 from yue9944882/flaky/apnf-e2e-drown-test
...
E2E Flakiness: Eliminates client-side rate-limiting for AP&F drown-out test
2020-11-30 15:38:51 -08:00
Kubernetes Prow Robot
e3063233a5
Merge pull request #96742 from spencerhance/ingress-conformance-test
...
Update ingress conformance test for finalizers
2020-11-30 12:04:49 -08:00
Mike Spreitzer
e7b0f582d5
Mostly undo earlier reductions of expectedCompletedPercentage
2020-11-29 23:28:54 -05:00
Mike Spreitzer
3b443e59ce
a bit of cleanup
2020-11-29 23:28:28 -05:00
Mike Spreitzer
e29707d5ad
Reduce expected goodput
2020-11-29 23:28:06 -05:00
yue9944882
b0c52fd326
addressing review comments and supports parallel run
2020-11-26 18:38:46 +08:00
SataQiu
2b38078de1
scheduler: parse Pod's Node affinity once in PreScore phase
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-11-26 11:19:52 +08:00
Jiawei Wang
6f74a7cbfa
Remove external driver duplicated misleading SupportedSizeRange
2020-11-25 16:07:55 -08:00
Stephen Heywood
24402fddba
Include any other events in e2e test logs
2020-11-26 11:46:30 +13:00
Stephen Heywood
b2a3b25954
Update e2e test logging to include pod labels
2020-11-26 10:22:04 +13:00
Spencer Hance
47ea73bfb9
Update ingress conformance test for finalizers
2020-11-25 11:24:21 -08:00
ravisantoshgudimetla
1304be0c89
Fix test failures
2020-11-25 20:16:07 +05:30
Antonio Ojea
60f739ac17
e2e network policy enclose IPv6 destinations
...
We moved to DNS destination to IP:Port, so we need to be sure
that IPv6 addresses are enclosed in square brackets with that
format.
2020-11-25 10:56:24 +01:00
Jiawei Wang
24aa872a2a
Remove unnecessary snapshot ability check
2020-11-24 16:58:14 -08:00
Andrew Sy Kim
a5aba23813
test/integration: add helper function serviceHasNodePorts for service load balancer tests
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-24 10:00:58 -05:00
Andrew Sy Kim
c1285ac83b
test/integration: add integration tests for service.spec.allocateLoadBalancerNodePorts
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-24 10:00:58 -05:00
Stephen Augustus
2407a70cc7
[go1.15] Update to go1.15.5
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:49:56 -05:00
Andrew Sy Kim
aa8cd31420
e2e/node: add exec probe timeout tests to NodeConformance
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-23 17:35:32 -05:00
Kubernetes Prow Robot
8b2f5be319
Merge pull request #96485 from ii/promote-lifecycle-test-pod-podstatus
...
Promote Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-11-23 11:39:01 -08:00
yue9944882
812f13fbec
matches specific usernames instead of "*"
2020-11-23 15:12:26 +08:00
yue9944882
ee31c93748
ap&f e2e: eliminates client-side rate-limiting
2020-11-23 11:19:20 +08:00
Antonio Ojea
782da4414a
e2e test regression image multiarch
...
Signed-off-by: Antonio Ojea <aojea@redhat.com>
2020-11-22 10:46:38 +01:00
DP19
9e4642211a
add e2e test for Service ExternalIPs
2020-11-22 00:57:29 +01:00
Kubernetes Prow Robot
b2ecd1b3a3
Merge pull request #96716 from tosi3k/bump-npd-to-v0.8.5
...
Bump node-problem-detector to v0.8.5
2020-11-21 06:33:33 -08:00
Kubernetes Prow Robot
8095565176
Merge pull request #96627 from aojea/hostport
...
fix e2e conformance test predicates conflict hostport
2020-11-20 15:03:34 -08:00
Antoni Zawodny
8f2dd3aaab
Bump node-problem-detector to v0.8.5
2020-11-20 20:00:25 +01:00
Jordan Liggitt
afd92b3b3e
Revert "plumb context with request deadline"
...
This reverts commit 83f869ee13
.
2020-11-19 18:15:04 -05:00
Jordan Liggitt
63d2bf72fa
Revert "add e2e tests for request timeout"
...
This reverts commit 2e6cb784d4
.
2020-11-19 18:13:28 -05:00
Kubernetes Prow Robot
d0398c395a
Merge pull request #96185 from roycaihw/dedup-owner-references
...
Apiserver dedups owner references before creating/updating objects
2020-11-19 14:54:52 -08:00
Kubernetes Prow Robot
1ea29cec9c
Merge pull request #96487 from ii/promote-lifecycle-test-deployment
...
Promote AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-11-19 13:02:51 -08:00
Kubernetes Prow Robot
18099e1ef7
Merge pull request #96495 from andrewsykim/dockershim-exec-context
...
kubelet: dockershim ExecSync should return context.DeadlineExeceeded on timeout
2020-11-19 09:06:51 -08:00
Haowei Cai
7a6afe7989
make sure managedFields are written
2020-11-18 19:21:25 -08:00
Kubernetes Prow Robot
e64ebe0131
Merge pull request #96690 from jingxu97/nov/testwindows
...
Add linuxonly on one multivolume test
2020-11-18 16:24:50 -08:00
Kubernetes Prow Robot
379ed6644d
Merge pull request #96484 from aojea/e2etest
...
add e2e test for dual-stack secondary service IPs
2020-11-18 15:28:51 -08:00
Haowei Cai
40a65577c7
generated
2020-11-18 12:48:26 -08:00
Haowei Cai
8bcf34a203
unit and integration tests
...
apiserver dedups and adds warning in CREATE/UPDATE/PATCH requests;
also handles duplication caused by mutating admission.
2020-11-18 12:46:20 -08:00
Kubernetes Prow Robot
1c49b4425b
Merge pull request #96646 from adtac/apfe2e-2
...
APF e2e tests: add request drown-out fairness test
2020-11-18 12:45:37 -08:00
jay vyas
0663e190ec
Update to include windows / description of how NodeOSDistro is used in the e2es
2020-11-18 15:45:03 -05:00
Stephen Heywood
2437b9da71
Increase timeout for pods to be ready
2020-11-19 09:37:47 +13:00
Jing Xu
2a568c95dd
Add linuxonly on one multivolume test
...
This test is not working for windows yet due to commands issued in pod
are not available for windows
Change-Id: Ia0b03afd6dfe0bbb1ab00dc821775450a7e8ce54
2020-11-18 11:58:12 -08:00
Kubernetes Prow Robot
b381baab66
Merge pull request #96681 from tkashem/request-timout-e2e
...
Use default value when the specified timeout for a request is 0s
2020-11-18 11:44:05 -08:00
Adhityaa Chandrasekar
16fc690d3a
APF e2e tests: add request drown-out fairness test
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-18 18:50:17 +00:00
Abu Kashem
2e6cb784d4
add e2e tests for request timeout
2020-11-18 13:34:48 -05:00
Kubernetes Prow Robot
1df1f882c4
Merge pull request #96619 from SergeyKanzhelev/runtimeAPIConf
...
convert the runtimeclass API tests to conformance
2020-11-18 08:40:05 -08:00
Sean McGinnis
be131457ef
Remove stale analytics links from docs
...
Many README files and other docs contained a link to a an appspot
tracking app that is no longer active. Following the links leads to an
error about Go 1.9 no longer being supported. Go 1.9 support was dropped
in appspot in 2019 and disabled June 2020.
This also resulted in a broken image link displaying when viewing these
files on GitHub. Since the app is no longer functioning, and since it
causes a potentially (but granted, minor) confusing error to display,
this just removes those links as I don't believe they are needed
anymore.
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-11-18 07:04:48 -06:00
Harshal Patil
b76abcd243
Remove the typo in the logs while configuring firewall for node e2e
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-11-18 14:20:59 +05:30
Kubernetes Prow Robot
36d12390a7
Merge pull request #95906 from harche/iptables_fix
...
Verify iptable rules are applied for tcp, udp and icmp
2020-11-17 22:08:04 -08:00
Kubernetes Prow Robot
bd2f96d10b
Merge pull request #96640 from aojea/kubenetsctp
...
e2e SCTP test must not depend on kubenet
2020-11-17 21:10:05 -08:00
Kubernetes Prow Robot
6715318ee7
Merge pull request #96644 from jingxu97/nov/tests
...
Mark some storage tests as LinuxOnly
2020-11-17 15:44:04 -08:00
Kubernetes Prow Robot
3af376d3ad
Merge pull request #96626 from jingxu97/nov/topology
...
Update topology tests for windows
2020-11-17 13:22:17 -08:00
Kubernetes Prow Robot
114f9988ff
Merge pull request #96322 from zshihang/conformance
...
Promote TokenRequest e2e test to Conformance
2020-11-17 13:22:04 -08:00
Kubernetes Prow Robot
e1ab99e0d6
Merge pull request #92743 from liggitt/gc
...
Fix GC uid races and handling of conflicting ownerReferences
2020-11-17 12:14:06 -08:00
Adhityaa Chandrasekar
e827708635
APF e2e tests: rename request drown-out priority client names
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-17 18:41:08 +00:00
Jing Xu
079a4ea30c
Mark some storage tests as LinuxOnly
...
Some storage tests has commands not available in Windows. Mark them as
LinuxOnly now. Will check later to see whether equivalent windows
commands are available.
Change-Id: I41b5668c855b2754a2e332cff4e90ebf2981aca0
2020-11-17 09:53:50 -08:00
Jordan Liggitt
14f7f3201f
Add GC integration race test
2020-11-17 10:42:48 -05:00
Antonio Ojea
59674755eb
e2e SCTP test not depend on kubenet
...
e2e test should be platform and component independent.
Consumers can filter using tags or regex.
2020-11-17 16:34:48 +01:00
Andrew Sy Kim
f5a82f70e5
e2e/node: increase timeouts seconds to 5 for liveness probe restart test
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-17 10:02:08 -05:00
hasheddan
d2f7cea12a
Update comment to not indicate check is run for docker daemon
...
Removes comment from daemons function that previously indicated that a
check was being run to make sure docker daemon was running.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-17 08:31:26 -06:00
Antonio Ojea
d5b7ef86bb
correct e2e test predicates conflict hostport
...
The e2e test, included as part of Conformance,
"validates that there is no conflict between
pods with same hostPort but different hostIP and protocol"
was only testing that the pods were scheduled without conflict
but was never testing the functionality.
The test should check that pods with containers forwarding the same
hostPort can be scheduled without conflict, and that those exposed
HostPort are forwarding the ports to the corresponding pods.
the predicate tests were using loopback addresses for the the
hostPort test, however, those have different semantics depending
on the IP family, i.e. you can not bind to ::1 and ::2 simultanously,
in addition, IP forwarding from localhost to localhost in IPv6 is
not working since it doesn't have the kernel route_localnet hack.
2020-11-17 15:28:29 +01:00
Kubernetes Prow Robot
0c97340905
Merge pull request #96453 from aojea/fixportconflict
...
e2e network tests with host network should Skip if ports are occupied
2020-11-17 05:18:07 -08:00
Jing Xu
027867b594
Update topology tests for windows
...
Update storage topology tests setup for Windows
Change-Id: I9a2773b91806a10553db06f61f7259db4df71c3b
2020-11-16 23:21:08 -08:00
Antonio Ojea
ad043f2bdd
e2e dualstack test fixes
...
remove unused variables and fix comments
2020-11-16 23:18:30 +01:00
Sergey Kanzhelev
5da4cf0478
convert the runtimeclass API tests to conformance
2020-11-16 21:56:57 +00:00
Adhityaa Chandrasekar
760573f2d2
APF e2e tests: use snake_case label
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-16 20:11:39 +00:00
Adhityaa Chandrasekar
bcd3db095f
APF e2e tests: move common code into helper functions
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-16 20:11:07 +00:00
Kubernetes Prow Robot
147a120948
Merge pull request #82222 from Huang-Wei/0-informer-sync-period
...
Set 0 sync period in scheduler integration test
2020-11-16 11:16:04 -08:00
Kubernetes Prow Robot
44b9de34fe
Merge pull request #96460 from aojea/badtestsctp
...
SCTP testing: fixes and additions
2020-11-16 10:26:05 -08:00
Antoni Zawodny
99abe0f2b2
Remove master-log-dump.sh
2020-11-16 16:03:15 +01:00
Abu Kashem
83f869ee13
plumb context with request deadline
...
- as soon as a request is received by the apiserver, determine the
timeout of the request and set a new request context with the deadline.
- the timeout filter that times out non-long-running requests should
use the request context as opposed to a fixed 60s wait today.
- admission and storage layer uses the same request context with the
deadline specified.
2020-11-14 11:54:17 -05:00
Kubernetes Prow Robot
d20e3246ba
Merge pull request #96574 from hasheddan/cleanup-resource-tests
...
Fix test name in e2e resource metrics api test
2020-11-14 05:09:04 -08:00
Kubernetes Prow Robot
05d1b94a70
Merge pull request #96317 from Jefftree/test-ssa
...
Integrate defaults marker to defaulter-gen
2020-11-13 22:35:03 -08:00
Kubernetes Prow Robot
36f571404f
Merge pull request #96527 from adtac/apfbeta
...
promote API priority and fairness types and APIs to beta
2020-11-13 19:33:04 -08:00
Kubernetes Prow Robot
0913f8a54c
Merge pull request #96551 from SergeyKanzhelev/runtimeclassconformance
...
Test on CRUD operations on RuntimeClasses API
2020-11-13 17:41:04 -08:00
Antoine Pelisse
d3e641e84e
Add default for protocol and test that it works
2020-11-13 17:06:35 -08:00
Kubernetes Prow Robot
c1967fe8b0
Merge pull request #96523 from ii/deployment-lc-watch-timeout
...
Increase watch timeout when scaling Deployment Replicas
2020-11-13 16:49:04 -08:00
yue9944882
849be447f5
APF: graduate API and types to beta
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:39 +00:00
hasheddan
bf270d1070
Fix test name in e2e resource metrics api test
...
Updates resouce to resource.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-13 15:19:55 -06:00
Sergey Kanzhelev
3af0ab440a
Test CRUD operations on RuntimeClasses API
2020-11-13 19:54:32 +00:00
Clayton Coleman
12262c99c4
test/integration/etcd: Use the busybox shim image constant
...
Instead of hardcoding fedora:latest, use one of our e2e images as
source inside the created pods. This will allow users who test with
this data outside of integration environments to reference a real
image and avoid spurious errors.
2020-11-13 13:48:04 -05:00
hasheddan
56c104a440
Relax matching on pod_memory_working_set_bytes metrics
...
Relaxes matching of pod_memory_working_set_bytes metric so that we won't
error due to presence of other pods.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-13 12:29:54 -06:00
hasheddan
25a04096e8
Match pod resource metrics to pod not container
...
Update node resource metrics e2e tests to match pod metrics to pod
instread of containers.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-13 10:29:21 -06:00
Antonio Ojea
19cf272b37
add more e2e sctp tests
...
Add more e2e SCTP tests for Services and intra-pod communication.
2020-11-13 17:07:00 +01:00
Antonio Ojea
3a6b4366a7
remove wrong test for SCTP connectivity
...
the test tries to test the connectivity between two pods, but it
acually test the connectivity against itself.
2020-11-13 17:03:03 +01:00
Francesco Romani
56106439cf
node: e2e: bring up/down SRIOV DP just once
...
The e2e topology manager want to test the resource alignment using
devices, and the easiest devices to use are the SRIOV devices at this
moment.
The resource alignment test cases are run for each supported policies,
in a loop.
The tests manage the SRIOV device plugin; up until now, the plugin
was set up and tore down at each loop.
There is no real need for that. Each loop must reconfigure (thus
restart) the kubelet, but the device plugin can set up and tore down
just once for all the policies, thus once.
The kubelet can reconnect just fine to a running device plugin.
This way, we greatly reduce the interactions and the complexity of the
test environment, making it easier to understand and more robust, and
we trim down some minutes from execution time.
However, this patch also hides (not solves) a test flake we observed
on some environment. The issue is hardly reproduceable and not well
understood, but seems caused by doing the sriov dp setup/teardown
in each policy testing loop.
Investigation so far suggests that the kubelet sometimes have a stale
state after the sriovdp teardown/setup cycle, leading to flakes and
false negatives.
We tried to address this in https://github.com/kubernetes/kubernetes/pull/95611
with no conclusive results yet.
This patch was posted because overall we believe this patch gains
exceeds the drawbacks (hiding the aforementioned flake) and
because understanding the potential interaction issues between the
sriovdp and the kubelet deserve a separate test.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-11-13 10:04:31 +01:00
Kubernetes Prow Robot
0e0cc1ead8
Merge pull request #95839 from egernst/pod-usage
...
resource-metrics: add pod/sandbox metrics to endpoint
2020-11-12 19:36:23 -08:00
Kubernetes Prow Robot
da75c26648
Merge pull request #95978 from roycaihw/storage-version/gc
...
Storage version garbage collector
2020-11-12 18:36:37 -08:00
Kubernetes Prow Robot
198b2fdb14
Merge pull request #95739 from huffmanca/relax-csi-fsgroup-validation
...
Relax validation for CSIVolumeFSGroupPolicy and move to beta
2020-11-12 17:10:24 -08:00
Haowei Cai
f675dac440
generated
2020-11-12 16:25:22 -08:00
Haowei Cai
b78effe612
GC integration test
2020-11-12 16:25:06 -08:00
Haowei Cai
59b13500c6
unblock resources that the storage version manager depends on
...
to avoid deadlock itself
2020-11-12 16:24:58 -08:00
Kubernetes Prow Robot
927d342aed
Merge pull request #96294 from jingxu97/nov/windows-gcepd
...
Separate in-tree gcepd driver for windows
2020-11-12 16:02:52 -08:00
Christian Huffman
38071e74cf
Correct rebase issues
2020-11-12 17:09:49 -05:00
Christian Huffman
df9ea74a73
Enable logging and drop permissive targets for CSI mock driver
2020-11-12 16:30:39 -05:00
Christian Huffman
6385760d9f
Update the mock driver to use 4.0.2
2020-11-12 16:30:39 -05:00
Christian Huffman
4d2d063635
Included e2e test for CSIDriver FSGroupPolicy
2020-11-12 16:30:38 -05:00
Kubernetes Prow Robot
0b1d94a849
Merge pull request #96479 from jingxu97/nov/testwindows
...
Update storage test suits for Windows
2020-11-12 13:17:29 -08:00
Kubernetes Prow Robot
55856ed727
Merge pull request #93130 from zshihang/master
...
plumb service account token down to csi driver
2020-11-12 13:16:25 -08:00
Tim Hockin
3bd337baf4
Make tests deal with old and new topology labels
2020-11-12 11:22:47 -08:00
Kubernetes Prow Robot
2ca6a87672
Merge pull request #96392 from yliaog/master
...
Fixed failure: ProvisioningFailed: Failed to provision volume with St…
2020-11-12 11:21:48 -08:00
Tim Hockin
4068402459
Change trivial topology labels
...
In these cases the actual label key is incidental.
2020-11-12 11:21:37 -08:00
Kubernetes Prow Robot
eb7bc22b95
Merge pull request #96369 from gautierdelorme/fix-objects-preserve-unknown-fields
...
Fix kubectl CRD validation with preserve-unknown-fields objects
2020-11-12 11:21:03 -08:00
Kubernetes Prow Robot
3e43d5b92a
Merge pull request #96292 from wangyx1992/cleanup-scheduler-log-capatilization
...
cleanup: fix log capitalization in scheduler
2020-11-12 11:20:45 -08:00
Kubernetes Prow Robot
7edf621277
Merge pull request #96262 from knight42/fix/npd-test
...
fix(test::npd): provide NPD with proper kubeconfig
2020-11-12 11:20:36 -08:00
Kubernetes Prow Robot
ee0d35895d
Merge pull request #96190 from soltysh/kubectl_staging
...
Move the remaining kubectl bits to k8s.io/kubectl
2020-11-12 11:20:23 -08:00
Hippie Hacker
6c74641615
Increase watch timeout when scaling Deployment Replicas
2020-11-13 07:50:19 +13:00
Shihang Zhang
d2859cd89b
plumb service account token down to csi driver
2020-11-12 09:26:43 -08:00
Yixiang2019
842cc6b4e2
cleanup: fix log capitalization in scheduler
...
Signed-off-by: Yixiang2019 <wang.yixiang@zte.com.cn>
2020-11-12 20:10:26 +08:00
Pawel Rapacz
16c7bf4db4
Implement e2e tests for pod scope alignment
...
A suite of e2e tests was created for Topology Manager
so as to test pod scope alignment feature.
Co-authored-by: Pawel Rapacz <p.rapacz@partner.samsung.com>
Co-authored-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com>
Signed-off-by: Cezary Zukowski <c.zukowski@samsung.com>
2020-11-12 12:25:55 +01:00
Antonio Ojea
be1ed2f43a
use uncommon ports for e2e network test
...
since we added tests to check connectivity against pods with
hostNetwork: true, there is the possibility that those pods
fail to run because the port is being used in the host.
Current test were using port 8080,8081 and 8082 that are commonly
used in hosts for other applications.
If the service is not ready after a certain time, and we are using
Pods with hostNetwork: true we assume that there is a conflict
and skip this test.
2020-11-12 11:09:01 +01:00
Antonio Ojea
ed694a1bf6
add e2e test for dual-stack secondary service IPs
...
Dual stack services can have two ClusterIPs, we already have tests that
exercise the connectivity from different scenarios to the first
ClusterIP of the service.
This PR adds a new functionality to the e2e network utils to enable
DualStack services, and replicate the same tests but using the
secondary ClusterIP, so we cover the connectivity to both cluster IPs.
2020-11-12 10:07:04 +01:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Harshal Patil
f3bfc9fd67
Verify iptable rules are applied for tcp, udp and icmp
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-11-12 13:29:13 +05:30
Kubernetes Prow Robot
a7ae99d364
Merge pull request #94439 from claudiubelu/tests/agnhost-usage-refactor-3
...
tests: Refactor agnhost image pod usage - common (part 2)
2020-11-11 18:49:12 -08:00
Jing Xu
8c953c21ba
Separate in-tree gcepd driver for windows
...
Add a separate in-tree gcepd driver for windows cluster because it does
not support certain features as Linux driver.
Change-Id: I2fca86b3f32f17db7703c46a36944d9ee51f355f
2020-11-11 17:07:00 -08:00
Stephen Heywood
e6f7fed324
Promote Deployment lifecycle e2e test to Conformance
2020-11-12 13:19:05 +13:00
Kubernetes Prow Robot
667d1c2c3f
Merge pull request #93370 from alaypatel07/add-new-cronjob-controller
...
Add cronjob controller v2
2020-11-11 15:42:50 -08:00
Jing Xu
56373aa10d
Update storage test suits for Windows
...
Update storage test suits to enable some tests on Windows
Change-Id: I1f596bb9f7a0f41ae398aec43406ee5c753cdce3
2020-11-11 15:22:47 -08:00
Stephen Heywood
16480d8ec0
Promote Pod/PodStatus lifecycle e2e test to Conformance
2020-11-12 12:21:40 +13:00
Wei Huang
af384f27ed
Fix failures in TestBindPlugin and TestPreemptWithPermitPlugin
2020-11-11 12:56:13 -08:00
Wei Huang
185093bd4e
Set 0 sync period in scheduler integration test
2020-11-11 12:56:13 -08:00
Sergey Kanzhelev
06da0e5e74
GA of RuntimeClass feature gate and API
2020-11-11 19:22:32 +00:00
Kubernetes Prow Robot
c3769096c6
Merge pull request #96439 from Huang-Wei/sched-policy-defaultpreemption
...
Fix a bug that DefaultPreemption plugin is disabled when using scheduler policy
2020-11-11 07:44:18 -08:00
Kubernetes Prow Robot
7766559c6d
Merge pull request #96433 from cmluciano/cml/dualstackagnhost
...
dualstack: Use Agnhost in place of BusyBox
2020-11-11 07:42:10 -08:00
Jan Safranek
94ebfec526
Add GinkgoRecover to a local storage go routine
...
All goroutines must have 'defer ginkgo.GinkgoRecover()' for ginkgo to
report errors correctly.
2020-11-11 16:10:29 +01:00
Kubernetes Prow Robot
5d5ff49b9b
Merge pull request #96383 from xing-yang/update_snapshot_crds
...
Update snapshot CRDs to v1
2020-11-11 05:11:49 -08:00
Kubernetes Prow Robot
5a75f64315
Merge pull request #95046 from SergeyKanzhelev/runtimeClass
...
RuntimeHandler test - mark as serial instead of disruptive and provide non-serial alternative
2020-11-11 02:43:48 -08:00
Kubernetes Prow Robot
423f8731ef
Merge pull request #95719 from tsmetana/add-pv_collector-provisioner-metric
...
PV Controller: Add plugin name and volume mode to PV metrics
2020-11-11 01:49:49 -08:00
Kubernetes Prow Robot
a27a357ba1
Merge pull request #86102 from derekwaynecarr/downward-api
...
Add support for hugepages in downward API
2020-11-10 21:43:57 -08:00
Kubernetes Prow Robot
7e62b1cab8
Merge pull request #96122 from cmluciano/cml/dualstackudpnode
...
dualstack: use correct IPFamily list for conntrack checks in e2e
2020-11-10 17:51:40 -08:00
Wei Huang
47a7c374c6
Fix a bug that DefaultPreemption plugin is disabled when using scheduler policy
2020-11-10 17:48:32 -08:00
Kubernetes Prow Robot
57908e7b8f
Merge pull request #96045 from leilajal/master
...
tests to check metrics labels
2020-11-10 17:48:32 -08:00
knight42
1a9600dc16
fix(test::npd): provide NPD with proper kubeconfig
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-11 09:47:09 +08:00
Kubernetes Prow Robot
f102cc887e
Merge pull request #95895 from roycaihw/apiserver-lease-gc
...
Apiserver lease garbage collector
2020-11-10 16:46:41 -08:00
Haowei Cai
bfebc7aefd
generated
2020-11-10 15:32:16 -08:00
Haowei Cai
4794ba18ed
integration test
2020-11-10 15:32:15 -08:00
Kubernetes Prow Robot
a5bce462d0
Merge pull request #94812 from aojea/e2ehostnet2
...
e2e test for services using pods with hostNetwork as backend
2020-11-10 14:35:38 -08:00
Alay Patel
8d7dd4415e
add cronjob_controllerv2.go
2020-11-10 17:32:06 -05:00
Christopher M. Luciano
8f384ce972
dualstack: Use Agnhost in place of BusyBox
...
There is a large effort to use Agnhost to limit dependencies and
overall image size.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-11-10 16:44:06 -05:00
Derek Carr
45bd6cb186
Downward API hugepages
2020-11-10 16:09:13 -05:00
Kubernetes Prow Robot
84745e2db4
Merge pull request #96381 from karan/npd-test-cmd
...
Fix command and arg in NPD e2e
2020-11-10 12:44:16 -08:00
Sergey Kanzhelev
9408c5d1e6
added new runtimeclass test and changed Disruptive to Serial
2020-11-10 20:31:34 +00:00
Christopher M. Luciano
fa7a802d55
dualstack: use correct IPFamily list for conntrack checks in e2e
...
We hardcode the index number in the KubeProxy/Conntrack e2es and
CollectAddresses returns 4 mixed IP Family addresses in a dualstack
cluster. This change ensures that the serverNodeInfo.nodeIP has only
valid addresses for the expected IPFamily per test case.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-11-10 15:02:29 -05:00
Kubernetes Prow Robot
02528ce91a
Merge pull request #96247 from saikat-royc/iss-95590
...
e2e test for PodFsGroupChangePolicy feature
2020-11-10 11:45:03 -08:00
Saikat Roychowdhury
a07096952b
FsgroupChange policy test suite
2020-11-10 08:36:07 +00:00
Kubernetes Prow Robot
9778f05c7b
Merge pull request #96320 from Huang-Wei/cleanup-annotation-wording
...
cleanup dated wording "NominatedNodeName annotation"
2020-11-09 20:56:54 -08:00
Kubernetes Prow Robot
2e55fa82df
Merge pull request #96330 from jingxu97/nov/snapshot
...
Modify storage snapshottable test for Windows
2020-11-09 19:52:41 -08:00
xing-yang
3379395471
Change snapshot test to use v1 apis
2020-11-10 02:27:38 +00:00
Kubernetes Prow Robot
6e95025994
Merge pull request #92165 from RenaudWasTaken/v1-pod-resources
...
Graduate the Pod Resources API to G.A
2020-11-09 18:24:41 -08:00
Kubernetes Prow Robot
4261200724
Merge pull request #93873 from roycaihw/storage-version/handler
...
Apiserver updates storageversions API and filters certain write requests during bootstrap
2020-11-09 17:30:41 -08:00
Jing Xu
de7eb94388
Modify storage snapshottable and disruptive test for Windows
...
Update snapshottable and disable disruptive test for Windows
Change-Id: I9d6beb25078c1941e405bf61545caae30326ddd1
2020-11-09 16:54:29 -08:00
Yu Liao
9eb0463265
Fixed failure: ProvisioningFailed: Failed to provision volume with StorageClass "standard": invalid AccessModes [ReadWriteOnce ReadOnlyMany ReadWriteMany]: only AccessModes [ReadWriteOnce ReadOnlyMany] are supported
2020-11-09 16:23:38 -08:00
Kubernetes Prow Robot
fe37798329
Merge pull request #94115 from andrewsykim/fix-dockershim-exec
...
kubelet: respect exec probe timeouts
2020-11-09 16:08:55 -08:00
Kubernetes Prow Robot
e5194dd936
Merge pull request #96202 from alculquicondor/default-node-affinity
...
Add AddedAffinity to NodeAffinity Filter and Score plugin
2020-11-09 15:14:55 -08:00
Kubernetes Prow Robot
c84c3c4858
Merge pull request #96124 from adtac/apf1ginkgo
...
e2e: add APF flowcontrol request drown-out test
2020-11-09 15:14:41 -08:00
Kubernetes Prow Robot
1d6bd259d2
Merge pull request #95608 from MHBauer/re-enable-benchmark
...
enable benchmark by matching test config
2020-11-09 12:48:41 -08:00
Gautier Delorme
eed1047c6f
update e2e kubectl test
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2020-11-09 21:23:55 +01:00
Aldo Culquicondor
3ce145787a
Add AddedAffinity to the NodeAffinityArgs
...
And use it in Filter and Score.
Change-Id: I173d8f2d5578762e9873181d5b44ea30b6dbbbc2
2020-11-09 15:19:15 -05:00
Karan Goel
ee93b3f837
Fix command and arg in NPD e2e
2020-11-09 10:58:09 -08:00
Andrew Sy Kim
81ad32e3a4
kubelet: add e2e test for exec readiness probe timeout
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-09 13:03:28 -05:00
Andrew Sy Kim
733862ed7f
kubelet: stop skipping docker exec livenessprobe timeout test
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-09 13:03:28 -05:00
Kubernetes Prow Robot
23839ba649
Merge pull request #96305 from twosigma/fixe2etestbug
...
Fixing expected pod subdomain to match framework.TestContext.ClusterD…
2020-11-09 08:22:26 -08:00
Kubernetes Prow Robot
0cba30d891
Merge pull request #95954 from sttts/sttts-go-openapi
...
apiextensions: replace go-openapi with kube-openapi fork for validation
2020-11-09 07:18:27 -08:00
Kubernetes Prow Robot
d2fd467123
Merge pull request #96310 from tsmetana/fix-recycler-test
...
PV e2e: fix race in NFS recycling test
2020-11-09 05:52:26 -08:00
Dr. Stefan Schimanski
f63b6772ca
Update bazel
2020-11-09 10:26:39 +01:00
Dr. Stefan Schimanski
69b0699610
apiextensions: switch validation to kube-openapi
2020-11-09 10:26:38 +01:00
Haowei Cai
b5b93004b5
generated
2020-11-08 18:53:40 -08:00
Chao Xu
fa1805cc5c
Add an integration test.
...
To make sure that the storage version filter can block certain requests until
the storage version updates are completed, and that the apiserver works
properly after the storage version updates are done.
2020-11-08 18:53:40 -08:00
Kubernetes Prow Robot
f43007543c
Merge pull request #96326 from Huang-Wei/cleanup-sched-perf
...
Update docs and fix redundant logic of scheduler perf
2020-11-08 18:35:37 -08:00
Wei Huang
267acdbe81
Update docs and fix redundant logic of scheduler perf
2020-11-06 23:45:09 -08:00
Kubernetes Prow Robot
4949078001
Merge pull request #93459 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test
...
Updated Create Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-11-06 19:53:36 -08:00
Kubernetes Prow Robot
151c2799d1
Merge pull request #96279 from cmluciano/cml/netutilsipv4
...
dualstack: cleanup IsIPv4 duplicates in favor of k8s/utils functions
2020-11-06 18:09:50 -08:00
Kubernetes Prow Robot
281866b35c
Merge pull request #95533 from roycaihw/apiserver-lease-controller
...
Add kube-apiserver lease controller
2020-11-06 18:09:37 -08:00
Shihang Zhang
22ae49bb5d
Promote TokenRequest e2e test to Conformance
2020-11-06 13:51:48 -08:00
Wei Huang
b5eeb8cd0f
cleanup dated wording "NominatedNodeName annotation"
2020-11-06 13:42:01 -08:00
Haowei Cai
39f8daf967
generated
2020-11-06 13:33:08 -08:00
Haowei Cai
3761a00e5b
add kube-apiserver-lease-controller poststart hook
2020-11-06 13:33:08 -08:00
Kubernetes Prow Robot
58f82efe70
Merge pull request #95032 from claudiubelu/test-images/multiarch
...
test images: Removes -p yes flag from qemu-user-static script call
2020-11-06 12:24:29 -08:00
Kubernetes Prow Robot
ba39cf58ec
Merge pull request #96302 from harche/summary_test_fix
...
Increase the timeout to allow summary test pods to start
2020-11-06 11:29:25 -08:00
Stephen Heywood
36f4527956
Add constant PodReadyTimeout to e2e test
2020-11-07 08:21:15 +13:00
Stephen Heywood
079764ebd5
Adjusted timings and management of pods in e2e test
2020-11-07 08:21:15 +13:00
Caleb Woodbine
6035ccd46c
Create Pod+PodStatus resource lifecycle test
2020-11-07 08:21:15 +13:00
Javier Diaz-Montes
c8da7128eb
Ensuring default DNS cluster-domain of Kubelet is cluster.local
...
Currently e2e tests run under test-e2e-node have a cluster-domain
equals to "". This change makes test-e2e-node consistent with other
e2e tests. For example, in hack/ginkgo-e2e.sh, cluster-domain
defaults to cluster.local and it can be changed by defining KUBE_DNS_DOMAIN.
2020-11-06 13:42:13 -05:00
Javier Diaz-Montes
d7e47cfb19
Fixing expected pod subdomain to match framework.TestContext.ClusterDNSDomain
2020-11-06 13:20:46 -05:00
Adhityaa Chandrasekar
f79e7cde68
e2e: add APF flowcontrol request drown-out test
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-06 17:35:14 +00:00
Kubernetes Prow Robot
edb105e255
Merge pull request #96307 from claudiubelu/test-images/auth
...
test images: Authenticate in order to push images
2020-11-06 09:03:16 -08:00
Tomas Smetana
bc23dd9e81
PV e2e: fix race in NFS recycling test
2020-11-06 16:38:11 +01:00
Derek Carr
7eb37a7497
Add support to size memory backed volumes
2020-11-06 09:35:14 -05:00
Maciej Szulik
2e74df97a4
Introduce kubectl-convert plugin
2020-11-06 12:04:36 +01:00
Harshal Patil
199b49941f
Increase the timeout to allow summary test pod to start
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-11-06 15:54:13 +05:30
Kubernetes Prow Robot
8f6ffb24df
Merge pull request #96236 from adtac/apfsnakecase
...
APF: use snake_case in metric labels
2020-11-06 02:20:50 -08:00
Tim Hockin
819ff9b087
Use topology labels instead of old beta names ( #96033 )
...
* Rename const for topology.../zone
* Rename const for topology.../region
* Rename const for failure-domain.../zone
* Rename const for failure-domain.../region
* Restore old names for compat
2020-11-05 20:26:50 -08:00
Kubernetes Prow Robot
0bb732842a
Merge pull request #95971 from chrishenzie/e2e-stress-snapshots
...
Add E2E stress test suite for creation / deletion of VolumeSnapshot resources
2020-11-05 14:25:03 -08:00
Kubernetes Prow Robot
43a0007fae
Merge pull request #96062 from Huang-Wei/sched-aware-of-nodes
...
Ensure created nodes are present in scheduler cache before scheduling
2020-11-05 13:13:05 -08:00
Christopher M. Luciano
dfbda1dc40
dualstack: cleanup IsIPv4 duplicates in favor of utils
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-11-05 14:29:23 -05:00
Kubernetes Prow Robot
bb4d8b0746
Merge pull request #96176 from mrunalp/mrunal_node_approver
...
Add mrunalp as a node approver
2020-11-05 10:53:29 -08:00
Kubernetes Prow Robot
d39562fd93
Merge pull request #95863 from RaunakShah/snap_e2e
...
Volume snapshot e2e test to validate PVC finalizer
2020-11-05 10:53:06 -08:00
Leila Jalali
79e1ba1ae6
minor changes in adding tests for checking metrics labels
2020-11-05 18:42:28 +00:00
Kubernetes Prow Robot
fe48ad8d22
Merge pull request #96265 from liggitt/quota-flake
...
Deflake existing configmap count
2020-11-05 09:26:18 -08:00
Kubernetes Prow Robot
b47044c611
Merge pull request #96257 from aojea/externalips
...
Revert "add e2e test for Service ExternalIPs"
2020-11-05 09:26:08 -08:00
Kubernetes Prow Robot
a6a74bf2e9
Merge pull request #96173 from twosigma/removealphae2e
...
Removing Alpha annotation as the feature is graduating to Beta in v1.20
2020-11-05 09:25:50 -08:00
Chris Henzie
fb6bc4f8b0
E2E stress test suite for VolumeSnapshots
...
Introduces a new test suite that creates and deletes many
VolumeSnapshots simultaneously to test snapshottable storage plugins
under load.
2020-11-05 08:58:13 -08:00
Kubernetes Prow Robot
eca53507be
Merge pull request #95187 from twosigma/addingfailscenario
...
Adding failure scenario for long FQDN and setHostnameAsFQDN feature
2020-11-05 08:28:53 -08:00
Kubernetes Prow Robot
ba645bb939
Merge pull request #95993 from serathius/datapolicy-e2e-framework
...
Add datapolicy tags to test/e2e/framework
2020-11-05 06:31:22 -08:00
Jordan Liggitt
cfd74b9570
Deflake existing configmap count
2020-11-05 08:21:12 -05:00
Kubernetes Prow Robot
4364ef6206
Merge pull request #95678 from SaiHarshaK/kubectl-version-check
...
check if kubectl version required values are empty
2020-11-05 02:46:54 -08:00
Antonio Ojea
76a9c8695a
Revert "add e2e test for Service ExternalIPs"
...
This reverts commit 0ed8fd6dc9
.
It turns out that ExternalIPs are not allowed to be reachable from
pods until the IP is present in the node.
However, due to a kube-proxy limitation it was working in environment
that used CNIs without bridges for the pods.
2020-11-05 10:35:24 +01:00
Claudiu Belu
5152919611
test images: Authenticate in order to push images
...
We cannot push images without being authenticated.
2020-11-04 23:22:30 -08:00
Kubernetes Prow Robot
8bdd10b7d7
Merge pull request #96197 from zshihang/token
...
separate RootCAConfigMap from BoundServiceAccountTokenVolume
2020-11-04 22:51:05 -08:00
Kubernetes Prow Robot
fdd2f51e68
Merge pull request #92787 from divyenpatel/fix-e2e-test-vsphere_statefulsets
...
fixed e2e vsphere statefulsets test
2020-11-04 20:46:52 -08:00
Shihang Zhang
d40f0c43c4
separate RootCAConfigMap from BoundServiceAccountTokenVolume
2020-11-04 17:10:39 -08:00
Kubernetes Prow Robot
f75316e294
Merge pull request #96238 from claudiubelu/test-images/set-root-home
...
test images: sets HOME=/root in cloudbuild.yaml
2020-11-04 16:41:07 -08:00
Mrunal Patel
b78be8446f
Add mrunalp as node approver
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-11-04 15:48:30 -08:00
Kubernetes Prow Robot
d40b23bdbe
Merge pull request #96050 from knight42/fix/npd-test
...
fix(test::npd): fix node problem detector test
2020-11-04 15:46:53 -08:00
Claudiu Belu
54d0c1e1d2
test images: Removes -p yes flag from qemu-user-static script call
...
Currently, the Image Builder job is failing as it cannot build images
for other architecture types. This happens because the Image Builder image
does not have any of the expected qemu-* binaries in /usr/bin/ needed in order to
run qemu-binfmt-conf.sh with the -p yes flag, so that flag is removed.
2020-11-04 23:01:24 +00:00
Kubernetes Prow Robot
468f9f6cac
Merge pull request #96138 from verb/1.20-cli-debug-unalpha
...
Remove alpha from kubectl debug command invocation
2020-11-04 14:47:07 -08:00
Adhityaa Chandrasekar
f9d57a8d5d
APF: use snake_case in metric labels
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-04 22:19:54 +00:00
shahra
e95af138b5
Volume snapshot e2e test to validate
...
VolumeSnapshotContent and PVC finalizer
2020-11-04 14:08:24 -08:00
Kubernetes Prow Robot
b835457c6e
Merge pull request #96220 from claudiubelu/test-images/experimental
...
test images: set DOCKER_CLI_EXPERIMENTAL=enabled
2020-11-04 13:26:03 -08:00
Kubernetes Prow Robot
cfc7887847
Merge pull request #96184 from ii/promote-replicationcontroller
...
Increasing withTimeout for ReplicationController Lifecycle test steps
2020-11-04 13:25:53 -08:00
Leila Jalali
9de601910f
minor changes to tests for checking metrics labels based on review comments
2020-11-04 21:23:25 +00:00
Sai Harsha Kottapalli
06148eda25
check if kubectl version required values are empty
2020-11-05 02:51:43 +05:30
Kubernetes Prow Robot
6a3fd8f3d7
Merge pull request #96204 from knight42/fix/curl-bearer-token
...
fix: pass bearer token to curl using --header instead of --oauth2-bearer
2020-11-04 10:38:53 -08:00
knight42
00e4234cc9
fix: pass bearer token to curl using -H instead of --oauth2-bearer
...
The flag `--oauth2-bearer` might have no effect in some environment.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-05 01:15:19 +08:00
Lee Verberne
30262e9b14
Remove alpha from kubectl debug
2020-11-04 17:45:28 +01:00
Claudiu Belu
cf838ca180
test images: set DOCKER_CLI_EXPERIMENTAL=enabled
...
docker buildx requires DOCKER_CLI_EXPERIMENTAL=enabled to be set
in order to be used.
This environment variable is not getting plumbed through from the
test/images/cloudbuild.yaml file, causing the docker buildx commands
to fail.
2020-11-04 14:23:44 +00:00
Kubernetes Prow Robot
739768d086
Merge pull request #93458 from ii/create-deployment-resource-lifecycle-test
...
Updated Create AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-11-04 01:08:04 -08:00
Kubernetes Prow Robot
e1909c70e2
Merge pull request #96194 from jayunit100/patch-15
...
Add a verbosity option to framework.exec
2020-11-04 00:14:12 -08:00
Kubernetes Prow Robot
89ba702d8a
Merge pull request #96144 from qinpingli/1893972
...
Bug 1893972: Skip the sig-storage e2e test as early as possible
2020-11-04 00:14:04 -08:00
Claudiu Belu
5de5ae6bd3
test images: sets HOME=/root in cloudbuild.yaml
...
The default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
We need to set the Home to /root explicitly since we're using docker buildx
2020-11-03 22:19:18 -08:00
Kubernetes Prow Robot
e54448a307
Merge pull request #96116 from DP19/add-e2e-test-for-external-ips
...
add e2e test for Service ExternalIPs
2020-11-03 17:04:17 -08:00
Kubernetes Prow Robot
e25f3d75b8
Merge pull request #95065 from JornShen/replace_restarting_kas_kp_e2e_network_provider
...
refector service some e2e cases to make it runing in multi providers
2020-11-03 17:04:03 -08:00
Wei Huang
a146cb0aa0
Replace calls to cs.CoreV1().Nodes().Create() with createNode()
2020-11-03 15:25:44 -08:00
Wei Huang
f054765762
Add a function to ensure created nodes are present in scheduler cache
2020-11-03 15:25:44 -08:00
Kubernetes Prow Robot
941e9242a5
Merge pull request #96128 from MHBauer/node-e2e-partial-fix
...
reenable e2e_node services & debugging improvements
2020-11-03 14:58:17 -08:00
jay vyas
38e49e0e0f
Add a verbosity option to exec
...
Exec is a utility function but, if you call it and are already planning to either suppress or print the exec command before hand, its ability to log can be redundant or a hinderance on test readability
2020-11-03 17:20:48 -05:00
Kubernetes Prow Robot
7e1f4a9fa3
Merge pull request #95831 from cpanato/fix-test-flaky
...
use patch instead of replace to test the dry-run option
2020-11-03 13:28:03 -08:00
Hippie Hacker
6d08d1681f
Increasing withTimeout for ReplicationController Lifecycle test steps
2020-11-04 08:50:35 +13:00
Kubernetes Prow Robot
1c403c311e
Merge pull request #95453 from danwinship/egress-networkpolicy-tests
...
Don't depend on DNS in NetworkPolicy tests
2020-11-03 11:44:04 -08:00
Eric Ernst
b26b755e94
resource-metrics: add pod metrics e2e test
...
Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-11-03 10:14:13 -08:00
Morgan Bauer
9b8c1dcd19
reenable e2e_node services & debugging improvements
...
- re-enable e2e_node services
- call GenerateSecureToken for e2e_node Conformance test-suite
- add log messages indicating location in process
- move log messages to some more accurate locations
2020-11-03 10:09:56 -08:00
Javier Diaz-Montes
19c70c7edc
Removing Alpha annotation as the feature is graduating to Beta in v1.20
2020-11-03 11:39:56 -05:00
Carlos Panato
a9ff313c5b
use patch instead of replace to test the dry-run option
2020-11-03 14:27:16 +01:00
Qin Ping
2c1ede513d
Skip the sig-storage e2e test as early as possible
2020-11-03 08:50:25 +00:00
Kubernetes Prow Robot
17376e6aef
Merge pull request #92850 from tallclair/netexec
...
Enhance agnhost netexec for SSRF E2Es
2020-11-02 18:10:14 -08:00
knight42
186be6f0d2
fix(test::npd): fix node problem detector test
...
Since the insecure port of apiserver has been disabled in e2e node tests,
we could create a service account in the test for node problem detector
and then bind the cluster role `system:node-problem-detector` with this
service account.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-03 08:57:52 +08:00
Stephen Heywood
2c4117dc73
Adjusted e2e test watch timeouts, logging and pod management
2020-11-03 11:20:27 +13:00
Kubernetes Prow Robot
716e38a102
Merge pull request #95841 from chewong/do-not-hardcode-nginx-image
...
fix: do not hardcode nginx image URL in rc e2e test case
2020-11-02 13:41:42 -08:00
Kubernetes Prow Robot
0dbfe2633e
Merge pull request #95781 from ii/porter-add-verbose-flag
...
Add verbose flag to porter so http method can be returned to client
2020-11-02 13:41:33 -08:00
Kubernetes Prow Robot
df3d0eb8d4
Merge pull request #95345 from harche/summary_test
...
Make stats summary tests more flexible
2020-11-02 13:41:11 -08:00
Kubernetes Prow Robot
e947440a4c
Merge pull request #94925 from yue9944882/apf-e2e
...
E2E cases for APF
2020-11-02 13:40:43 -08:00
Tim Allclair
c05a350b4f
Update usage information for --http-override
2020-11-02 13:30:55 -08:00
Tim Allclair
354cb6ca91
Bump agnhost version
2020-11-02 13:30:55 -08:00
Tim Allclair
700006f2d9
Add override option to netexec
2020-11-02 13:30:22 -08:00
Tim Allclair
9156360234
Add a redirect handler to netexec
2020-11-02 13:30:22 -08:00
Tim Allclair
a15f5ea836
Add optional code to netexec echo endpoint
2020-11-02 13:30:22 -08:00
Kubernetes Prow Robot
922fc82914
Merge pull request #95847 from qingsenLi/k8s201024
...
fix typo in e2e test
2020-11-02 11:56:43 -08:00
DP19
0ed8fd6dc9
add e2e test for Service ExternalIPs
2020-11-02 13:57:23 -05:00
yue9944882
c28036efa5
e2e cases for apf
2020-11-03 02:27:57 +08:00
Kubernetes Prow Robot
d1c296431e
Merge pull request #96059 from knight42/refactor/migrate-health-check
...
refactor: migrate health checks of control-plane off insecure port in tests
2020-11-02 08:21:08 -08:00
Abu Kashem
53a1307f68
make backoff parameters configurable for webhook
...
Currently webhook retry backoff parameters are hard coded, we want
to have the ability to configure the backoff parameters for webhook
retry logic.
2020-11-01 10:18:25 -05:00
Kubernetes Prow Robot
19ae1d7edc
Merge pull request #96014 from Jefftree/remove-bdd
...
Remove behaviors
2020-10-30 21:10:51 -07:00
knight42
3c4d6859c8
refactor: migrate health checks of control-plane off insecure port in tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-10-31 11:39:25 +08:00
Kubernetes Prow Robot
bf67247124
Merge pull request #93258 from zshihang/token
...
mv TokenRequest and TokenRequestProjection to GA
2020-10-30 16:36:51 -07:00
Kubernetes Prow Robot
68c41e261e
Merge pull request #95977 from robscott/esm-test-fix
...
Updating EndpointSliceMirroring e2e test to accept multiple slices
2020-10-30 15:46:51 -07:00
Kubernetes Prow Robot
4b65f70652
Merge pull request #95740 from cici37/moveCCM
...
Move cloud-controller-manager to staging k8s.io/cloud-provider
2020-10-30 13:48:51 -07:00
Kubernetes Prow Robot
3d62aad55e
Merge pull request #96023 from chrishenzie/e2e-cleanup-non-namespaced-objects
...
Cleanup non-namespaced objects in e2e test during interrupts
2020-10-30 11:14:36 -07:00
Kubernetes Prow Robot
332d17c7f5
Merge pull request #95731 from farah/split-scheduler
...
Delete framework/v1alpha1 folder and change remaining import paths
2020-10-30 11:14:22 -07:00
jornshen
1d83b28dfe
refector service some e2e cases to make it runing in multi providers
...
the cases are as fellow:
- "should work after restarting kube-proxy"
- "should work after restarting apiserver"
2020-10-30 19:39:02 +08:00
Leila Jalali
4cff1311c5
Added tests to check metrics labels
2020-10-30 11:15:50 +00:00
Kubernetes Prow Robot
f2ed1b5580
Merge pull request #96016 from cici37/informer
...
Move informer_factory to staging
2020-10-30 00:44:06 -07:00
cici37
9465d95ea6
Move CCM to staging k8s.io/cloud-provider
2020-10-29 20:50:23 -07:00
Shihang Zhang
ff641f6eb2
mv TokenRequest and TokenRequestProjection to GA
2020-10-29 20:47:01 -07:00
Stephen Heywood
f005b3a5f7
Add json-response flag to porter
...
Provides a response that includes a body and a method. This response
will enable a client (e2e test) to confirm that a proxy did not alter
the http method.
2020-10-30 14:48:16 +13:00
Kubernetes Prow Robot
f99ad43dbb
Merge pull request #95575 from oomichi/remove-non-ascii-20201014
...
Replace non-ascii string under test/
2020-10-29 18:36:18 -07:00
Kubernetes Prow Robot
ba75a6dbd7
Merge pull request #96012 from khenidak/clusterIPs-labeling
...
add tests that update services while gate is off
2020-10-29 17:40:45 -07:00
Kubernetes Prow Robot
e91cb0b1b5
Merge pull request #95196 from thockin/auto-wipe-linked-service-fields
...
Automatically wipe dependent fields on service "type" updates
2020-10-29 17:40:06 -07:00
Chris Henzie
830d7cecd7
Cleanup non-namespaced objects in e2e test during interrupts
2020-10-29 13:12:23 -07:00
cici37
a91a2cdad6
Move informer_factory to staging
2020-10-29 12:20:33 -07:00
Jefftree
4d979f6f12
Remove behaviors
2020-10-29 12:05:54 -07:00
Khaled (Kal) Henidak
7bdc244f4a
add tests that update services while gate is off
2020-10-29 18:59:48 +00:00
Kubernetes Prow Robot
1968e96165
Merge pull request #95856 from knight42/refactor/disable-apiserver-insecure-port
...
refactor(apiserver): disable insecure port
2020-10-29 10:47:58 -07:00
Marek Siarkowicz
7f59610f49
Add datapolicy tags to test/e2e/framework
2020-10-29 18:08:32 +01:00
knight42
cfc2b330a7
refactor(apiserver): ignore the insecure flags
...
Leave the insecure flags intact but stop serving on insecure port.
2020-10-29 23:20:17 +08:00
Kubernetes Prow Robot
518b826b1d
Merge pull request #95962 from xing-yang/manifests_owners
...
Update testing-manifests/storage-csi owners file
2020-10-28 23:36:59 -07:00
Rob Scott
2c7d186669
Updating EndpointSliceMirroring e2e test to accept multiple slices
...
Due to informer caching, this caused some flaky test failures.
2020-10-28 22:49:17 -07:00
Kubernetes Prow Robot
ab02182419
Merge pull request #95965 from Huang-Wei/pc-conformance-deleteCollection
...
Update PriorityClass conformance test to cover DeleteCollection
2020-10-28 18:37:12 -07:00
Kubernetes Prow Robot
1a37266208
Merge pull request #95411 from MHBauer/log-containerd
...
always collect containerd logs during e2e-node tests
2020-10-28 16:16:59 -07:00
Wei Huang
6ccbd3c9a9
Update PriorityClass conformance test to cover DeleteCollection
2020-10-28 15:35:46 -07:00
xing-yang
b55bf4c49b
Update testing-manifests/storage-csi owners file
2020-10-28 21:21:02 +00:00
Kubernetes Prow Robot
d4771b9519
Merge pull request #95907 from aojea/testdualslices
...
dualstack endpoints integration tests
2020-10-28 13:53:53 -07:00
Kubernetes Prow Robot
9391b6d844
Merge pull request #95577 from knabben/remove-flake-pre-stop
...
Removing flaky tag from preStop test
2020-10-28 12:49:57 -07:00
Tim Hockin
4f8fb1d3ca
Wipe some fields on service "type" updates
...
Service has had a problem since forever:
- User creates a service type=LoadBalancer
- We silently allocate them a NodePort
- User changes type to ClusterIP
- We fail the operation because they did not clear NodePort
They never asked for or used the NodePort!
Dual-stack introduced some dependent fields that get auto-wiped on
updates. This carries it further.
If you squint, you can see Service as a big, messy discriminated union,
with type as the discriminator. Ignoring fields for non-selected
union-modes seems right.
This introduces the potential for an apply loop. Specifically, we will
accept YAML that we did not previously accept. Apply could see the
field in local YAML and not in the server and repeatedly try to patch it
in. But since that YAML is currently an error, it seems like a very low
risk. Almost nobody actually specifies their own NodePort values.
To mitigate this somewhat, we only auto-wipe on updates. The same YAML
would fail to create. This is a little inconsistent. We could
auto-wipe on create, too, at the risk of more potential impact.
To do this properly, we need to know the old and new values, which means
we can not do it in defaulting or conversion. So we do it in strategy.
This change also adds unit tests and updates e2e tests to rely on and
verify this behavior.
2020-10-28 10:41:26 -07:00
Antonio Ojea
6526714e9a
dualstack endpoints integration tests
...
add integration tests to verify the behaviour of the endpoints
and endpointslices controller with dual stack services.
Since services can be single or dual stack, endpoints should be
generated for each IP family in the endpoint slice controller.
The legacy endpoint controller only will generate endpoints
in the first IP family configured in the service.
integration fix
2020-10-28 12:02:56 +01:00
Kubernetes Prow Robot
34ae23110a
Merge pull request #95337 from cmluciano/cml/kproxylabeltest
...
proxy: label kube_proxy test with more unique label
2020-10-27 20:44:10 -07:00
Kubernetes Prow Robot
90b3168987
Merge pull request #95040 from MHBauer/unflake-perf-tests
...
move node performance tests to separate job
2020-10-27 20:43:56 -07:00
Kubernetes Prow Robot
e5c4e74994
Merge pull request #95884 from ii/promote-e2e-verify-PriorityClass-endpoints
...
Promote: verify PriorityClass endpoints e2e test to Conformance +5 Endpoints
2020-10-27 16:36:09 -07:00
Kubernetes Prow Robot
7af88f3d98
Merge pull request #95780 from jingxu97/oct/resizetest
...
Enable Volume Expansion tests for Windows
2020-10-27 16:35:56 -07:00
Kubernetes Prow Robot
f00ec1b449
Merge pull request #95679 from EdDev/test-e2e-remove-w8-4-pod-running-after-createsync
...
test, e2e: Remove duplication when using PodClient.CreateSync
2020-10-27 15:32:11 -07:00
Renaud Gaubert
501f7b16d9
Update podresources api e2e_node tests
2020-10-27 11:23:39 -07:00
Jing Xu
eeb649d31e
Enable Volume Expansion tests for Windows
...
enable volume expansion test for Windows with ntfs file system
Change-Id: I6b8027c5e149588f66b8896a78ec5cd0e47984fe
2020-10-26 18:28:43 -07:00
Kubernetes Prow Robot
87cc9bca0f
Merge pull request #95867 from jsafrane/e2e-podexec-stderr
...
Log PodExec stdout + stderr
2020-10-26 17:55:59 -07:00
Stephen Heywood
017de540eb
Promote verify PriorityClass endpoints e2e test to Conformance
2020-10-27 12:36:28 +13:00
Kubernetes Prow Robot
227aa51b94
Merge pull request #95868 from xing-yang/update_test_owners
...
Update test/e2e/storage owners file
2020-10-26 16:24:12 -07:00
Antonio Ojea
b61faa388c
add e2e test for services with hostNetwork endpoints
...
we are missing tests that check the connectivity against services
that have backend pods with hostNetwork: true.
Because the tests run in parallel, it is possible that the pods used as
backends try to bind to the same port, and since all of them use the
host network, the scheduler will fail to create them due to port conflicts,
so we run them serially.
We have to skip networking tests with udp and endpoints using
hostNetwork, because they have a known issue.
2020-10-26 23:08:24 +01:00
Antonio Ojea
734d5bbed0
e2e use functional options to configure NetworkingTest
...
NetworkingTest is used to test different network scenarios.
Since new capabilites and scenarios are added, like SCTP or HostNetwork
for pods, we need a way to configure it with minimum disruption and code
changes.
Go idiomatic way to achieve this is using functional options.
2020-10-26 22:18:05 +01:00
Antonio Ojea
d382f299a1
fix e2e service test container listening port
...
the e2e test container used for the "Networking Granular Checks: Services"
tests only needs to listen in one port to perform do network checks.
This port is unrelated to the other ports used in the test, so we may
use a different number to avoid possible conflicts.
2020-10-26 22:07:36 +01:00
Khaled Henidak (Kal)
6675eba3ef
dual stack services ( #91824 )
...
* api: structure change
* api: defaulting, conversion, and validation
* [FIX] validation: auto remove second ip/family when service changes to SingleStack
* [FIX] api: defaulting, conversion, and validation
* api-server: clusterIPs alloc, printers, storage and strategy
* [FIX] clusterIPs default on read
* alloc: auto remove second ip/family when service changes to SingleStack
* api-server: repair loop handling for clusterIPs
* api-server: force kubernetes default service into single stack
* api-server: tie dualstack feature flag with endpoint feature flag
* controller-manager: feature flag, endpoint, and endpointSlice controllers handling multi family service
* [FIX] controller-manager: feature flag, endpoint, and endpointSlicecontrollers handling multi family service
* kube-proxy: feature-flag, utils, proxier, and meta proxier
* [FIX] kubeproxy: call both proxier at the same time
* kubenet: remove forced pod IP sorting
* kubectl: modify describe to include ClusterIPs, IPFamilies, and IPFamilyPolicy
* e2e: fix tests that depends on IPFamily field AND add dual stack tests
* e2e: fix expected error message for ClusterIP immutability
* add integration tests for dualstack
the third phase of dual stack is a very complex change in the API,
basically it introduces Dual Stack services. Main changes are:
- It pluralizes the Service IPFamily field to IPFamilies,
and removes the singular field.
- It introduces a new field IPFamilyPolicyType that can take
3 values to express the "dual-stack(mad)ness" of the cluster:
SingleStack, PreferDualStack and RequireDualStack
- It pluralizes ClusterIP to ClusterIPs.
The goal is to add coverage to the services API operations,
taking into account the 6 different modes a cluster can have:
- single stack: IP4 or IPv6 (as of today)
- dual stack: IPv4 only, IPv6 only, IPv4 - IPv6, IPv6 - IPv4
* [FIX] add integration tests for dualstack
* generated data
* generated files
Co-authored-by: Antonio Ojea <aojea@redhat.com>
2020-10-26 13:15:59 -07:00
Kubernetes Prow Robot
9cc882de87
Merge pull request #95592 from fromanirh/tm-e2e-avoid-sriovdp-leak
...
e2e: topology manager: avoid sriov device plugin pod leak on test failures
2020-10-26 09:29:02 -07:00
xing-yang
1d22030894
Update test/e2e/storage owners file
2020-10-26 13:36:59 +00:00
Kubernetes Prow Robot
0ec6602679
Merge pull request #77398 from claudiubelu/test-images/windows-support-part-2
...
test images: Adds Windows Container images support (part 2)
2020-10-26 06:19:02 -07:00
Jan Safranek
96e3bc1bfa
Log PodExec stdout + stderr
...
e2e tests should log stdout / stderr of failed commands executed via
PodExec. "command terminated with exit code 1" is not really useful.
2020-10-26 13:22:18 +01:00
Tomas Smetana
75574401e7
Add e2e test for the newPV Controller metric
2020-10-26 13:05:06 +01:00
qingsenLi
c4d0191466
fix typo in e2e test
2020-10-24 15:53:22 +08:00
Kubernetes Prow Robot
84096f02e9
Merge pull request #94968 from Lion-Wei/fix-session-affinity-case
...
fix session affinity related flaky cases in ipvs proxy mode
2020-10-23 15:19:00 -07:00
Ernest Wong
cb78e889ff
fix: do not hardcode nginx image URL in rc e2e test case
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2020-10-23 13:35:40 -07:00
Kubernetes Prow Robot
237dae5a5e
Merge pull request #95807 from Huang-Wei/postfilter-int-test-flake
...
Deflake PostFilter integration test
2020-10-23 12:15:16 -07:00
Kubernetes Prow Robot
77b725784c
Merge pull request #94723 from knight42/refactor/e2e-node
...
refactor: migrate node e2e tests off insecure port
2020-10-23 10:56:31 -07:00
Christopher M. Luciano
22b8cd5e51
proxy: label kube_proxy test with more unique label
...
The kube_proxy SIGDescribe previously only had Network in the title
and made it more difficult to select just the test cases in the
kube_proxy file and would end up running anything with Network in the
text area of SIGDescribe e2e tests.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-10-23 13:47:23 -04:00
Kubernetes Prow Robot
0c00f7b0f6
Merge pull request #95777 from alculquicondor/default-pod-spread-integration
...
Add integration test for Default PodTopologySpread
2020-10-23 00:12:07 -07:00
Lion-Wei
624f5f9fdc
extend request interval to make session affinity cases stable
2020-10-23 13:48:49 +08:00
Kubernetes Prow Robot
ba8ce9c81b
Merge pull request #95769 from alculquicondor/relax_spreading_e2e
...
Add more Pods and relax skew in E2E spread test
2020-10-22 22:17:17 -07:00
Kubernetes Prow Robot
824ad083ea
Merge pull request #95737 from verb/1.20-cli-debug-test
...
Add integration test for kubectl debug
2020-10-22 22:17:07 -07:00
Kubernetes Prow Robot
43747b55f2
Merge pull request #95713 from ii/promote-replicationcontroller
...
Promote ReplicationController lifecycle test - +7 endpoint coverage
2020-10-22 22:16:58 -07:00
Kubernetes Prow Robot
82cc713b13
Merge pull request #95328 from aojea/conntrack_invalid
...
add ipv6 support to the image issue-74839
2020-10-22 22:16:16 -07:00
Ali
bfdeda58b7
Delete framework/v1alpha1 folder and change remaining import paths
2020-10-23 13:16:13 +11:00
Wei Huang
6e7b20543c
Deflake PostFilter integration test
2020-10-22 13:48:50 -07:00
Aldo Culquicondor
f6fb0bd308
Add integration test for Default PodTopologySpread
...
Simulating a cluster with 500 nodes in 3 zones, deploying 3, 12 and 27 Pods belonging to the same service.
Change-Id: I16425594012ea7bd24b888acedb12958360bff97
2020-10-22 13:42:50 -04:00
Rajas Kakodkar
0269e2d042
bump qemu version
...
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-10-22 16:34:53 +00:00
Morgan Bauer
9eb0d76f5b
prepare node performance tests to move to separate job
2020-10-21 16:55:49 -07:00
Kubernetes Prow Robot
ededd08ba1
Merge pull request #95676 from jdef/patch-1
...
fix "forbidden" test flakes
2020-10-21 13:09:03 -07:00
Kubernetes Prow Robot
ffb233ff2d
Merge pull request #95155 from cmluciano/cml/netpolapie2e
...
netpol: Add CRUD tests for NetworkPolicy API
2020-10-21 13:08:50 -07:00
Aldo Culquicondor
1840fcd4bb
Add more Pods and relax skew in E2E spread test
...
A spreading test is more meaningful with a greater number of Pods. However, we cannot always expect perfect spreading. We accept a skew of 2 for 5*z Pods, where z is the number of zones.
Change-Id: Iab0de06a95974fbfec604f003b550f15db618ebd
2020-10-21 14:10:43 -04:00
Kubernetes Prow Robot
161df49979
Merge pull request #95594 from soltysh/fix_e2e
...
Fix --dry-run invocation in kubectl e2e
2020-10-21 10:28:20 -07:00
Harshal Patil
bff8109eb7
Adjust the acceptable value of UsageNanoCores
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-10-21 22:00:44 +05:30
Lee Verberne
d0503b228f
Add integration test for kubectl debug
2020-10-21 11:13:46 +02:00
Kubernetes Prow Robot
5d49a6253c
Merge pull request #95035 from harche/selinux_kubelet
...
Add SELinux labels for kubelet on Fedora CoreOS
2020-10-20 21:06:19 -07:00
Kubernetes Prow Robot
6b7e8070b6
Merge pull request #94796 from harche/rtclass_test
...
Move the RuntimeClass tests out of node-kubelet-orphans
2020-10-20 13:44:20 -07:00
Kubernetes Prow Robot
0f21596f65
Merge pull request #95299 from MHBauer/serial-npd-tests
...
mark node-problem-detector as serial
2020-10-20 10:22:08 -07:00
Kubernetes Prow Robot
3fe372c3da
Merge pull request #95631 from alculquicondor/enable-default-spreading
...
Graduate DefaultPodTopologySpread to beta
2020-10-20 07:58:09 -07:00
Kubernetes Prow Robot
b8ecff28d3
Merge pull request #93126 from gaurav1086/getCSINodeLimits_fix_range_issue
...
[e2e/storage] fix range iterator copy issue in getCSINodeLimits
2020-10-19 18:20:07 -07:00
Stephen Heywood
995583938a
Promote Replication Controller lifecycle e2e test to Conformance
2020-10-20 12:24:52 +13:00
Hippie Hacker
c383dc7b1f
Promote Replication Controller Lifecycle
...
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>
2020-10-20 11:56:03 +13:00
Aldo Culquicondor
87c8349bdc
Graduate DefaultPodTopologySpread to beta
...
And set to enabled by default
Change-Id: Ie4cc4758c52492924cb0663450f2747908cb5882
2020-10-19 16:58:09 -04:00
Kubernetes Prow Robot
dc6b7f848d
Merge pull request #95626 from ii/update-metadata-for-delete-collection-events
...
Switch "Events" conformance metadata from v1.19 to v1.20 to reflect actual applicable release
2020-10-19 11:10:13 -07:00
Francesco Romani
82a730f116
e2e: topomgr: fix ginkgo log
...
Due to a rebase glitch the fmt.Sprintf() was lost.
This patches restores it improving the logs readability.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-10-19 19:28:01 +02:00
Christopher M. Luciano
62ac60c4b5
netpol: Add CRUD tests for NetworkPolicy API
...
CRUD operations are the extent of conformance testing that we can add
for NetworkPolicy tests since we require a 3rd party plugin like CNI
for enforcement.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-10-19 13:22:42 -04:00
Claudiu Belu
4dbb55fe85
test images: Adds Windows support (part 2)
...
Adds Windows support for most of the images.
Adds a README explaining the image building process, including the
Windows Container image building process.
2020-10-19 16:54:28 +00:00
knight42
d321ac52a2
refactor: migrate node e2e tests off insecure port
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-10-20 00:12:58 +08:00
Claudiu Belu
2161a97505
tests: Refactor agnhost image pod usage - common (part 2)
...
A previous commit added a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-10-18 08:44:38 -07:00
Edward Haas
c104671401
test, e2e: Remove duplication when using PodClient.CreateSync
...
The CreateSync method includes the waiting for the pod to become running
and returns a fresh new pod instance.
In addition, errors are asserted in the method.
Therefore, there is no need for the callers to repeat these operations.
Some, like the error assertions, will never be reached in case they
occur as they will explode from within the method itself.
Signed-off-by: Edward Haas <edwardh@redhat.com>
2020-10-18 15:42:06 +03:00
James DeFelice
1a12c8084b
fix test flakes
...
I've observed this test occasionally failing due to 403 errors. I think there's something racing within apiserver w/ respect to RBAC and that if this test were more patient, then it would not flake this way.
2020-10-17 17:15:28 -04:00
Antonio Ojea
97a13a0f87
e2e don't use hardcoded name for containers name
2020-10-17 11:44:45 +02:00
Kubernetes Prow Robot
c1a781cce7
Merge pull request #93889 from claudiubelu/test-images/switch-to-buildx
...
Test images: switch to buildx
2020-10-17 01:10:12 -07:00
Kubernetes Prow Robot
8058942aa2
Merge pull request #95574 from swetharepakula/disable-test
...
Disable ExternalTrafficPolicy Test for large clusters
2020-10-16 18:42:12 -07:00
Kubernetes Prow Robot
f738e5b320
Merge pull request #94440 from claudiubelu/tests/agnhost-usage-refactor-2
...
tests: Refactor agnhost image pod usage - common (part 1)
2020-10-16 14:58:12 -07:00
Swetha Repakula
b38ff20f71
Disable test for large clusters
...
- Due to performance issues, service controller updates are slow
in large clusters, causing failing tests. Tag can be removed once
performance issues are resolved
2020-10-16 14:27:15 -07:00
Kubernetes Prow Robot
7b40b3410b
Merge pull request #94595 from claudiubelu/tests/agnhost-usage-refactor-5
...
tests: Refactor agnhost image pod usage - network
2020-10-16 09:01:40 -07:00
Claudiu Belu
0d24b05434
test images: Switches to buildx
...
Currently, some of the E2E test images have Windows support, and one of the goals is for most of
them to have Windows support. For that, the Image Builder is currently building those Windows
container images using a few Windows Server nodes (for 1809, 1903, 1909) with Remote Docker
enabled which are hosted on an azure subscription dedicated for CNCF.
With this, the Windows nodes dependency is removed entirely, as the images can be also built with
docker buildx. One additional benefit to this is that adding new supported Windows OS versions
to the E2E test images manifest lists becomes a lot easier (we wouldn't have to create a new Windows
Server node that matches that new OS version, assign DNS name, update certificates, etc.), and it
also becomes easier for other people to build their own E2E windows test images.
However, some dependencies are still required to run on a Windows machine. To solve this, we can
just pull helper images: e2eteam/powershell-helper:6.2.7 and e2eteam/busybox-helper:1.29.0. Their
Dockerfiles and a Makefile for them has been included in this commit. If any change is required to
them, then a new image will be built and tagged under a different version, but they are pretty
straight-forward and shouldn't require changes.
However, there is a small concern when it comes to the build time: Windows servercore images are
very large (for example, mcr.microsoft.com/windows/servercore:ltsc2019 is 4.99GB uncompressed, and
about ~2 GB compressed - those images are already cached on the Windows Server builder nodes, so
this isn't an issue there), and we currently support 1809, 1903, and 1909 (soon to add 2004).
This can lead to build times that are too big.
We have changed the base image to nanoserver (uncompressed size: 250MB), but some images still
require some DLLs or some other dependencies that can be fetched from a servercore image.
A separate job has been defined that would build a scratch windows-servercore-cache image monthly,
and then we can just get those dependencies from this cache, which will be very small.
This would be preferred, as the Windows images update periodically, and those dependencies
could be updated as well.
2020-10-16 10:42:49 +00:00
Kubernetes Prow Robot
cd8b87f25a
Merge pull request #95562 from wojtek-t/fix_metrics
...
Fix metrics reporting in kube-apiserver
2020-10-15 21:13:25 -07:00
Kubernetes Prow Robot
a5adff2b89
Merge pull request #95527 from mattcary/gke-xfs
...
Enable XFS tests for recent GKE COS versions
2020-10-15 17:35:25 -07:00
Stephen Heywood
d1caabdabd
Switch events conformance metadata from v1.19 to v1.20
2020-10-16 11:06:22 +13:00
Morgan Bauer
1ac20e931e
CAP_NET_RAW should be NET_RAW
...
Format of Capability adds CAP_ prefix automatically.
Add commentary as test progress output.
Clear up some existing comments.
2020-10-15 10:14:22 -07:00
Morgan Bauer
24125781d7
enable benchmark by matching test config
...
Change kubernetes/test-infra@fc3e91a from 105 -> 90 causes this test
not to be run.
2020-10-15 08:14:49 -07:00
Kubernetes Prow Robot
943b1dbf53
Merge pull request #95495 from deads2k/remove-secondary-retry
...
remove secondary client retries in e2e tests
2020-10-15 08:06:39 -07:00
David Eads
64c099d670
remove secondary client retries in e2e tests
2020-10-15 08:30:42 -04:00
wojtekt
3d2a80643a
Fix metrics reporting in kube-apiserver
2020-10-15 13:50:33 +02:00
Maciej Szulik
788ef39cab
Fix --dry-run invocation in kubectl e2e
2020-10-15 12:51:58 +02:00
Kenichi Omichi
788e7d9360
Replace non-ascii string under test/
2020-10-15 03:35:08 +00:00
Amim Knabben
b340bb5f95
Removing flaky tag from test
2020-10-14 21:00:24 -04:00
Francesco Romani
009b5356cb
e2e: node: topomgr: avoid plugin leak on test fail
...
We need to make sure we tear down the sriov device plugin pod
should the tests fail, to avoid leaking pods in the test environment.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-10-14 23:01:58 +02:00
Kubernetes Prow Robot
9891ac4d4d
Merge pull request #95333 from jayunit100/node_port_udp_fast_test
...
Node port udp fast test
2020-10-13 18:19:54 -07:00
Kubernetes Prow Robot
1c4f83e8c2
Merge pull request #95340 from Huang-Wei/priority-class-endpoints
...
PriorityClass lifecycle tests
2020-10-13 16:25:54 -07:00
Matthew Cary
b670fee999
Enable XFS tests for recent GKE COS versions
2020-10-13 14:31:06 -07:00
Wei Huang
f8cfbc8ac1
PriorityClass lifecycle tests
2020-10-13 12:06:07 -07:00
Ali
09b2e8f638
Move scheduler interface to pkg/scheduler/framework
2020-10-13 13:13:27 +11:00
Antoni Zawodny
636bd041fe
Fix the busybox image tag in kubemark hollow nodes
2020-10-12 17:50:41 +02:00
Kubernetes Prow Robot
57a46531f5
Merge pull request #95321 from harche/fix_cap
...
add CAP_NET_RAW capability to CRI stats summery test
2020-10-12 08:14:48 -07:00
jay vyas
e7a9a94da8
simpler addition of nodeport basic validation
2020-10-11 11:36:02 -04:00
Kubernetes Prow Robot
c72b30b3b7
Merge pull request #93534 from everpeace/score-in-preemption-handle
...
scheduler: expose Run[Pre]ScorePlugins functions to PreemptionHandle(through PluginRunner)
2020-10-09 20:34:47 -07:00
Kubernetes Prow Robot
3e36ac3093
Merge pull request #95378 from danwinship/fix-dual-stack-canaries
...
fix kubelet iptables monitoring on dual-stack
2020-10-09 19:38:59 -07:00
Kubernetes Prow Robot
6d5f928023
Merge pull request #95397 from masap/test-integratio/fix-warning
...
test-integration: Fix using deprecated default cluster IPs
2020-10-09 15:57:48 -07:00
Dan Winship
3b9f358eb9
Don't depend on DNS in NetworkPolicy tests
...
The NetworkPolicy tests work by trying to connect to a service by its
name, which means that for the tests that involved creating egress
policies, it had to always create an extra rule allowing egress for
DNS, but this assumed that DNS was running on UDP port 53. If it was
running somewhere else (eg if you changed the CoreDNS pods to use port
5353 to avoid needing to give them the NET_BIND_SERVICE capability)
then the NetworkPolicy tests would fail.
Fix this by making the tests connect to their services by IP rather
than by name, and removing all the DNS special-case rules. There are
other tests that ensure that Service DNS works.
2020-10-09 16:16:43 -04:00
Dan Winship
3f4c2d6fe0
Improve logging of iptables canary test
...
Since it's [Disruptive] it only runs in periodic jobs so it's better
to have too much debugging info than too little.
2020-10-09 11:59:21 -04:00
Kubernetes Prow Robot
ee297b6f4d
Merge pull request #95053 from tanjunchen/replace-k8s-master
...
test/e2e/framework/:use the term 'Control Plane' in comment
2020-10-08 19:31:05 -07:00
Morgan Bauer
459a20c607
always collect containerd logs
...
containerd is almost always running, even below docker
2020-10-08 12:40:01 -07:00
Masashi Honma
bcbd16b94b
test-integration: Fix using deprecated default cluster IPs
...
The integration test for pods produces a warning caused by using deprecated
default cluster IPs.
$ make test-integration WHAT=./test/integration/pods GOFLAGS="-v"
W1007 17:25:28.217410 100721 services.go:37] No CIDR for service cluster IPs specified. Default value which was 10.0.0.0/24 is deprecated and will be removed in future releases. Please specify it using --service-cluster-ip-range on kube-apiserver.
This warning appears 36 times after running all tests. This patch removes all
the warnings.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-08 20:38:58 +09:00
Kubernetes Prow Robot
128b697d55
Merge pull request #95276 from jayunit100/95216_ginkgo
...
Have udp tests return idiomatic ginkgo errors, update reporting of mutating parts
2020-10-07 10:44:15 -07:00
Antonio Ojea
a0887285f5
add ipv6 support to the image issue-74839
...
Co-authored-by: Dan Winship <danwinship@redhat.com>
2020-10-07 18:30:47 +02:00
Kubernetes Prow Robot
777e84e184
Merge pull request #95101 from a1k24/patch-92402-staticcheck
...
fixes test/integration/ttlcontroller staticcheck
2020-10-07 02:16:42 -07:00
Kubernetes Prow Robot
7a5b058f27
Merge pull request #95016 from Jefftree/remove-kubeconform
...
Remove kubeconform
2020-10-06 16:54:42 -07:00
Kubernetes Prow Robot
5430a828e1
Merge pull request #95150 from adelina-t/patch-2
...
Fix test "[sig-windows] DNS should support configurable pod DNS servers"
2020-10-06 14:14:42 -07:00
Kubernetes Prow Robot
810560dc98
Merge pull request #95318 from aojea/fixsudo
...
e2e hostexec commands does not need sudo
2020-10-06 13:00:56 -07:00
Kubernetes Prow Robot
9e1e551e83
Merge pull request #95335 from marosset/windows-e2e-owners-update
...
Adding marosset to test/e2e/windows/OWNERS approver
2020-10-06 11:16:42 -07:00
marosset
669d480a4e
Adding marosset to test/e2e/windows/OWNERS approver
2020-10-06 17:21:18 +00:00
Kubernetes Prow Robot
f30d6a463d
Merge pull request #93779 from yodarshafrir1/fix_restart_job_failure_with_restart_policy_never
...
Fix job backoff limit for restart policy Never
2020-10-06 10:02:44 -07:00
Harshal Patil
a4cd6f13c8
Add SELinux labels for kubelet on Fedora CoreOS
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-10-06 14:53:47 +05:30
Harshal Patil
17e5f4e836
add CAP_NET_RAW capability to CRI stats summery test
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-10-06 13:37:08 +05:30
Antonio Ojea
33602279a2
e2e hostexec commands does not need sudo
2020-10-06 09:36:49 +02:00
Kubernetes Prow Robot
1a66eb7b8a
Merge pull request #89482 from renatoviana12/master
...
fixed percentage behaviour in instr
2020-10-05 20:00:19 -07:00
jay vyas
8630dc924a
Update test/e2e/framework/network/utils.go
...
add logging about min/max interval
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-10-05 19:01:33 -04:00
Kubernetes Prow Robot
5e44d8ebaf
Merge pull request #95015 from Jefftree/bdd-remove-dependency
...
Remove dependency on behaviors for conformance walk.go
2020-10-05 13:04:19 -07:00
Javier Diaz-Montes
97b2082b0a
Adding Bazel dependencies
2020-10-05 15:25:41 -04:00
Javier Diaz-Montes
d4b18a646f
Adding failure scenario for long FQDN and setHostnameAsFQDN feature
2020-10-05 15:25:37 -04:00
Kubernetes Prow Robot
613ee7f0db
Merge pull request #95233 from jsafrane/framework-start-error
...
Add error text to kube-system wait error
2020-10-05 10:35:43 -07:00
Morgan Bauer
3658f66db7
mark node-problem-detector as serial
2020-10-05 07:00:07 -07:00
jay vyas
56def96d9d
Update DialFromNode to return values as is done w/ other tests. Update
...
comments to clarify missing probability check function (since they need
to be updated anyways b/c of the return value introduced)
2020-10-04 15:59:20 -04:00
Kubernetes Prow Robot
2603cc1fcf
Merge pull request #94835 from zshihang/upgrade
...
upgrade test for BoundServiceAccountTokenVolume
2020-10-03 14:17:05 -07:00
Kubernetes Prow Robot
b2730aa483
Merge pull request #95261 from sjenning/fix-pods-e2e
...
test: e2e: fix race in pods test
2020-10-02 21:47:04 -07:00
Kubernetes Prow Robot
bf9354d8cc
Merge pull request #95202 from rikatz/remove-master-clusterinfo
...
Change kubectl clusterinfo to non offensive words
2020-10-02 14:19:04 -07:00
Seth Jennings
b7c74338e8
test: e2e: fix race in pods test
2020-10-02 14:32:31 -05:00
tanjunchen
818238ae74
test/e2e/framework/:use the term 'Control Plane' in comment
2020-10-02 08:54:29 -07:00
Kubernetes Prow Robot
7029430ae3
Merge pull request #94542 from oomichi/remove-FailfWithOffset
...
Remove unused FailfWithOffset()
2020-10-01 19:27:18 -07:00
Kubernetes Prow Robot
5549a0d9bb
Merge pull request #95012 from nodo/add-namespace-to-post-based-namespace-creation
...
Make the creation of namespace using POST and PATCH consistent
2020-10-01 17:37:20 -07:00
Kubernetes Prow Robot
1ec3345eb6
Merge pull request #94922 from knabben/pre-stop-e2e
...
Verify pod termination with E2E PreStop hook
2020-10-01 16:35:19 -07:00
Kenichi Omichi
99e9096034
Remove unused FailfWithOffset()
...
The function has been unused from outside of e2e framework at all
since 30b3472f89
which added the function.
This removes it for code cleanup.
2020-10-01 21:04:12 +00:00
Kubernetes Prow Robot
c58a26d77f
Merge pull request #95014 from erain/feature/remove-unmaintained-sd-logging-e2e-tests
...
Remove unmaintained stackdriver logging e2e test
2020-10-01 13:43:19 -07:00
Amim Knabben
68ce3cf3d4
Verify pod termination with E2E PreStop hook
2020-10-01 16:04:07 -04:00
Kubernetes Prow Robot
05b3e8911a
Merge pull request #95166 from vishsangale/master-to-control-plane-test-e2e-GetMasterHost
...
Updated symbol 'framework.GetMasterHost' to not use word 'master'
2020-10-01 11:49:19 -07:00
Kubernetes Prow Robot
cc68a78ef5
Merge pull request #95160 from jayunit100/patch-12
...
Delete federation tests from sig-network because they are disruptive and no longer relevant
2020-10-01 10:47:19 -07:00
Andrea Nodari
3cb510e33e
Make the creation of namespace using POST and PATCH consistent
...
PATCH verb is used when creating a namespace using server-side apply,
while POST verb is used when creating a namespace using client-side
apply.
The difference in path between the two ways to create a namespace led to
an inconsistency when calling webhooks. When server-side apply is used,
the request sent to webhooks has the field "namespace" populated with
the name of namespace being created. On the other hand, when using
client-side apply the "namespace" field is omitted.
This commit aims to make the behaviour consistent and populates the
"namespace" field when creating a namespace using POST verb (i.e.
client-side apply).
2020-10-01 18:05:49 +02:00
Kubernetes Prow Robot
3536a488e6
Merge pull request #95234 from jayunit100/remove-7kb-log-message
...
print out the raw pod json instead of the whole golang struct
2020-10-01 08:48:54 -07:00
Kubernetes Prow Robot
1b4fa94c21
Merge pull request #95229 from aojea/sourcelb
...
e2e can't use both pod.Name and pod.GenerateName
2020-10-01 07:00:54 -07:00
jay vyas
4c52ce7f87
just log essential pod info
2020-10-01 08:32:41 -04:00
Jan Safranek
6e85ebd0cd
Add error text to kube-system wait error
...
On HA API server hiccups we saw a prow job with error:
fail [k8s.io/kubernetes@v1.19.0/test/e2e/e2e.go:284]: Sep 30 17:06:08.313: Error waiting for all pods to be running and ready: 0 / 0 pods in namespace "kube-system" are NOT in RUNNING and READY state in 10m0s
POD NODE PHASE GRACE CONDITIONS
The failure should include the last error from API server, if it's
available:
fail [k8s.io/kubernetes@v1.19.0/test/e2e/e2e.go:284]: Oct 1 11:29:45.220: Error waiting for all pods to be running and ready: 0 / 0 pods in namespace "kube-system" are NOT in RUNNING and READY state in 10m0s
Last error: Get "https://localhost:6443/api/v1/namespaces/kube-system/replicationcontrollers ": dial tcp [::1]:6443: connect: connection refused
POD NODE PHASE GRACE CONDITIONS
2020-10-01 13:33:14 +02:00
Ricardo Pchevuzinske Katz
ab129349ac
Change kubectl clusterinfo to non offensive words
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-10-01 08:25:52 -03:00
Antonio Ojea
3e182e84ea
e2e can't use both pod.Name and pod.GenerateName
...
This fixes a problem when using the framework helper
e2epod.CreateExecPodOrFail() more than once in the same test.
The problem is that this function was creating pods with both the
pod.Name and pod.GenerateName set.
The second pod failed to be created with a 500 with Reason ServerTimeout
indicating a unique name could not be found in the time allotted,
xref https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/
2020-10-01 12:28:06 +02:00
Adelina Tuvenie
9d0e1c64c2
Fix test "[sig-windows] DNS should support configurable pod DNS servers"
...
With the changes introduced by agnhost refactoring PR ( #87266 ), this test was left searching for a invalid container name. Updated to the proper name.
2020-10-01 12:28:18 +03:00
Kubernetes Prow Robot
89fdf5e7d3
Merge pull request #95167 from vishsangale/master-to-control-plane-GetAllMasterAddresses
...
Updated symbol 'framework.GetAllMasterAddresses' to not use word 'mas…
2020-09-30 18:00:53 -07:00
Renato Viana
316eff8dee
Fixed percentage behavior in instr
...
fixed syntax, wrote a test
fixed a test
.
1
Update staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>
added test
.
fix
fix test
fixed a test
gofmt
lint
fix
function name
validation fix
.
godocs added
.
2020-09-30 21:23:05 +01:00
Kubernetes Prow Robot
e67fa02095
Merge pull request #94433 from aojea/iperf
...
remove iperf e2e test ip family tags
2020-09-30 12:54:54 -07:00
Kubernetes Prow Robot
4373d9aadd
Merge pull request #95132 from jluhrsen/nw-policy-debug
...
Network policy test debug and cleanup
2020-09-30 11:24:54 -07:00
jay vyas
1c5ad9b7e7
remove dns_common.go delete configmap stuff
2020-09-30 11:12:56 -04:00
jay vyas
77b78a2c1f
Remove federation tests entirely because they break clusters and aren't relevant anymore
2020-09-30 08:26:28 -04:00
Kubernetes Prow Robot
def8fe3b4e
Merge pull request #94685 from verb/ec-admission
...
Convert to EphemeralContainers for validation in EphemeralContainersREST
2020-09-30 00:29:25 -07:00
a1k24
b3d43207e8
resolve PR comment ( add nil check )
2020-09-30 11:54:23 +05:30
a1k24
8854924e65
fixes test/integration/ttlcontroller staticcheck
2020-09-30 11:54:23 +05:30
Vishwanath Sangale
b8e733fb94
Updated symbol 'framework.GetAllMasterAddresses' to not use word 'master'
2020-09-29 21:43:10 -07:00
Vishwanath Sangale
395a6d89f6
Updated symbol 'framework.GetMasterHost' to not use word 'master'
2020-09-29 21:05:39 -07:00
Kubernetes Prow Robot
aaf9883747
Merge pull request #95055 from vinaykul/e2e-tests
...
Add LookForStringInPodExecToContainer(...) that takes container name as argument.
2020-09-29 12:05:25 -07:00
Kubernetes Prow Robot
ac519b43bd
Merge pull request #94828 from aojea/sctpflake
...
Fix sctp job flakes
2020-09-28 18:29:25 -07:00
Vinay Kulkarni
334cde51bf
Add LookForStringInPodExecToContainer that takes container name parameter, modify LookForStringInPodExec to call the new function.
2020-09-28 19:57:13 +00:00
Kubernetes Prow Robot
4b24dca228
Merge pull request #95078 from jingxu97/sep/subpathtest
...
Disable one subpath test for windows
2020-09-27 12:46:48 -07:00
Claudiu Belu
d37cbeb388
tests: Refactors agnhost image pod usage - network
...
A previous commit created a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-09-26 05:56:31 -07:00
Claudiu Belu
c99b18580d
tests: Refactor agnhost image pod usage - common (part 1)
...
A previous commit added a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-09-26 05:29:33 -07:00
Kubernetes Prow Robot
75448b3205
Merge pull request #94881 from nixpanic/test/e2e/storage/dd-without-cache
...
e2e: skip write/read cache when running Block-mode RWX PVC tests
2020-09-25 17:36:48 -07:00
Jing Xu
b80acc39a0
Disable one subpath test for windows
...
Disable subpath test "should be able to unmount after the subpath
directory is deleted" for windows because the test will fail when
deleting a dir while another container still use it.
2020-09-25 16:48:16 -07:00
Kubernetes Prow Robot
0f39af90ed
Merge pull request #94364 from wojtek-t/efficient_watch_resumption
...
Efficient watch resumption
2020-09-25 15:42:48 -07:00
Kubernetes Prow Robot
d66695653c
Merge pull request #95003 from jsafrane/cinder-delete-preprovisioned
...
Fail a test on pre-provisioned Cinder volume deletion error
2020-09-25 14:26:48 -07:00
Jamo Luhrsen
ae63d6495d
Collect debugs before framework.Failf
...
having framework.DumpDebugInfo after the FailF was
a noop and we are losing those potentially helpful
logs when we need them the most (on a failure)
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2020-09-25 13:22:24 -07:00
Kubernetes Prow Robot
ccfdc09f35
Merge pull request #91683 from tedyu/mirror-pod-owner-ref
...
Mirror pod without OwnerReference should not be created
2020-09-25 11:02:48 -07:00
Niels de Vos
f2bf2ab76e
e2e/storage: disable caching when writing/reading to block PVCs
...
By passing "oflag=nocache" and "iflag=direct", caching should be
disabled while writing/reading with "dd" to a block device. The
TestConcurrentAccessToSingleVolume() test is known to fail with certain
storage backends (like Ceph RBD) when caching is enabled.
The default BusyBox image used for testing does not support the required
options for "dd". So instead of running with BusyBox, run the test with
a Debian image.
2020-09-25 14:38:32 +02:00
Niels de Vos
00b6d7ccee
e2e: add option to create pods with different image in pod.Config
...
For testing certain features, the BusyBox image does not provide all the
tools that are needed. Notably 'dd' from BusyBox does not support
direct-io that is required for skipping caches while doing writes and
reads on a Block-mode PVC attached to different nodes.
2020-09-25 11:01:59 +02:00
Kubernetes Prow Robot
3a7d7101c5
Merge pull request #94876 from linux-on-ibm-z/nonewprivs-s390x
...
Add s390x support for nonewprivs
2020-09-25 01:37:11 -07:00
Vinay Kulkarni
18f8c14359
Fix LookForStringInPodExec(...) to take container name as argument, and refactor function usage
...
Ref: PR 92127 review discussion https://github.com/kubernetes/kubernetes/pull/92127/files#r447853904
2020-09-25 02:15:21 +00:00
Kubernetes Prow Robot
1f0d71cd0d
Merge pull request #95044 from spiffxp/add-controlplane-type-alias
...
Rename controlplane.Master struct to Instance
2020-09-24 16:53:20 -07:00
Kubernetes Prow Robot
90be932b60
Merge pull request #95027 from aojea/aoreview
...
auto nominate aojea to test reviewers
2020-09-24 15:29:25 -07:00
Kubernetes Prow Robot
807db805c3
Merge pull request #94969 from wojtek-t/list_all_namespaces_lease
...
Add test for listing Leases from all namespace
2020-09-24 13:57:39 -07:00
Kubernetes Prow Robot
9646d5998c
Merge pull request #94822 from JornShen/replace_e2essh_e2e_service_tests
...
Replace e2essh on e2e service tests
2020-09-24 13:57:11 -07:00
Daniel Smith
13b6a929bc
It's an 'Instance' of apiserver
2020-09-24 16:14:29 -04:00
Shihang Zhang
637235e893
upgrade test for BoundServiceAccountTokenVolume
2020-09-24 09:55:05 -07:00
Kubernetes Prow Robot
769f047675
Merge pull request #95024 from chendave/exported
...
Use the exported struct member directly
2020-09-24 09:24:34 -07:00
Valerii Ponomarov
c55b6cdbb4
agnhost image: use actual DNS domain instead of hardcoded cluster.local
...
'agnhost' image uses hardcoded 'cluster.local' value for DNS domain.
It leads to failure of a bunch of HPA tests when test cluster is
configured to use custom DNS domain and there is no alias for
default 'cluster.local' one.
So, fix it by reusing it's own function for reading DNS domain suffixes.
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
2020-09-24 14:24:16 +03:00
Antonio Ojea
bafea472d2
add aojea to test reviewers
2020-09-24 12:21:28 +02:00
Dave Chen
a9b71c198b
Use the exported struct member directly
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-09-24 16:15:11 +08:00
Kubernetes Prow Robot
d9b576d61e
Merge pull request #93384 from zhouya0/support_kubectl_delete_foreground
...
Support kubectl delete orphan/foreground/background options
2020-09-23 23:58:04 -07:00
Kubernetes Prow Robot
aad834b073
Merge pull request #94438 from claudiubelu/tests/agnhost-usage-refactor-4
...
tests: Refactors agnhost image pod usage in tests
2020-09-23 15:36:05 -07:00
Kubernetes Prow Robot
d9bb58fc49
Merge pull request #95009 from jsafrane/cinder-remove-ext3
...
Remove ext2 + ext3 tests from most volume plugins
2020-09-23 14:36:39 -07:00
Kubernetes Prow Robot
d3860a2b15
Merge pull request #95008 from jayunit100/reverting-antonios-revert
...
Reverting antonios revert (and re-adding the original fix to breadth first polling which was lost in the original pr)
2020-09-23 14:36:30 -07:00
Jefftree
6b8c8e44d8
Update bazel
2020-09-23 14:27:49 -07:00
Antonio Ojea
beef6ae512
e2e tests must consider duplicate endpoint slices
...
In some cases the EndpointSlice controller will create more
EndpointSlices than necessary resulting in some duplication. This is
valid and tests should only fail here if less EndpointSlices than
expected are added.
2020-09-23 22:56:02 +02:00
Jefftree
88b22516ea
Remove kubeconform
2020-09-23 13:33:37 -07:00
Jefftree
fe972b8f2f
Remove dependency on behaviors for conformance generation
2020-09-23 13:28:06 -07:00
Yu Yi
754a289f43
Remove unmaintained stackdriver logging e2e test
...
Signed-off-by: Yu Yi <yiyu@google.com>
2020-09-23 19:24:38 +00:00
Kubernetes Prow Robot
4ad26f2626
Merge pull request #89425 from claudiubelu/test-images/switch-to-nanoserver
...
test images: uses nanoserver
2020-09-23 10:14:10 -07:00
Jan Safranek
c4e6572912
Remove ext2 + ext3 tests
...
Testing with the default FS (ext4) is IMO enough, ext2/ext3 does not add much
value. It's handled by the same kernel module anyway.
Leave ext2/ext3 only in GCE PD which is tested in kubernetes/kubernetes CI
jobs regularly to catch regressions.
2020-09-23 17:32:50 +02:00
jay vyas
60c8a36a7b
Add failure logic to tests that rely on side-effect-free dial functions.
2020-09-23 09:36:23 -05:00
jay vyas
64548b3cfa
Adding back in the breadth-first-polling logic.
...
"Revert "Merge pull request #93837 from jayunit100/DialFromContainerB""
This reverts commit f7a28c3904
.
2020-09-23 09:09:38 -05:00
Jan Safranek
76254d88a5
Fail test when Cinder volume deletion fails
2020-09-23 14:41:29 +02:00
Jan Safranek
b003187053
Add extra log when Cinder volume deletion fails
...
"cinder show <id>" output will help us to debug what's wrong with the
Cinder volume.
2020-09-23 14:41:10 +02:00
Jan Safranek
ead8707f3a
Delete pre-provisioned Cinder volume by ID
2020-09-23 14:38:45 +02:00
jornshen
40474d7e2a
Replace e2essh on e2e service tests
...
test can execute whever hosts have ssh or not
relevant case:
"should be able to up and down services"
"should implement service.kubernetes.io/service-proxy-name"
"should implement service.kubernetes.io/headless"
2020-09-23 19:21:57 +08:00
Krzysztof Siedlecki
a96cbba6fb
using kubectl apply to create metric adapter
2020-09-23 11:13:32 +02:00
Kubernetes Prow Robot
d19aec8bf1
Merge pull request #92985 from serathius/summary
...
Move Kubelet Summary API to staging directory
2020-09-22 22:30:08 -07:00
Kubernetes Prow Robot
3783e03dc9
Merge pull request #87266 from claudiubelu/tests/agnhost-usage-refactor
...
tests: Refactor agnhost image pod usage
2020-09-22 19:40:08 -07:00
Kubernetes Prow Robot
61a2d0d34e
Merge pull request #94740 from tangwz/feat_use_Ticker_in_throughput
...
scheduler_perf: use time.Ticker in throughput measurement
2020-09-22 18:34:08 -07:00
Claudiu Belu
89eae73323
tests: Refactors agnhost image pod usage in tests
...
A previous commit created a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-09-22 13:09:49 -07:00
Antonio Ojea
f7a28c3904
Revert "Merge pull request #93837 from jayunit100/DialFromContainerB"
...
This reverts commit 61490bba46
, reversing
changes made to 9ecab1b4b2
.
Some methods from the networking e2e tools are dialing from a
containter to another container, and failing the test if there was no
connectivity. This PR modified the methods to return an error instead of
failing the test.
However, these methods were used by other tests in the framework, and
they are not checking if the method returns an error, expecting that
the method fail the test. With this change, any connectivity problem
will go unnoticed on the tests that are not asserting the error, so we
need to revert to previous state.
2020-09-22 21:53:10 +02:00
Kubernetes Prow Robot
f2fcbac083
Merge pull request #94292 from Jiawei0227/stress-test
...
[e2e]Fail early on stress test and improve logging
2020-09-22 12:23:11 -07:00
Kubernetes Prow Robot
3b568bbe5d
Merge pull request #94232 from swetharepakula/multiple-services
...
Add e2e multiple endpoint services test
2020-09-22 12:23:00 -07:00
Kubernetes Prow Robot
61490bba46
Merge pull request #93837 from jayunit100/DialFromContainerB
...
intra-pod test improvements for bug-triage and node-level reporting
2020-09-22 12:22:50 -07:00
Marek Siarkowicz
7d309e0104
Move Kubelet Summary API to staging repo
2020-09-22 18:23:28 +02:00
Antonio Ojea
1dbf915e7b
wait until the iptables rules are programmed
2020-09-22 15:50:22 +02:00
wojtekt
a65fec2a8a
Add test for listing Leases from all namespace
2020-09-22 14:27:49 +02:00
Kubernetes Prow Robot
82d924cea5
Merge pull request #94840 from dashpole/update_owners
...
Move dashpole to emeritus in kubelet
2020-09-21 21:23:02 -07:00
Kubernetes Prow Robot
dd466bccde
Merge pull request #94527 from brahmaroutu/mount-utils-2
...
Change code to use staging/k8s.io/mount-utils
2020-09-21 17:46:47 -07:00
Kubernetes Prow Robot
cdc7a2949b
Merge pull request #94760 from harche/crio_tests_fix
...
Add a check for crio service before starting node e2e tests
2020-09-21 08:56:31 -07:00
Claudiu Belu
46c820e793
test images: uses nanoserver
...
Using Windows nanoserver container images as a base instead of the current
Windows servercore image will reduce the image size by about ~10x.
However, the nanoserver image lacks several things we need:
- netapi32.dll
- powershell
- certain powershell commands
- chocolatey cannot be used
When building the nanoserver images, we are going to use a Windows servercore helper,
in which we are going to install the necessary dependencies, and then copy them over
to our nanoserver image, including necessary DLLs.
Other notable changes include:
- switch from wget to curl (wget was a powershell alias).
- implement in code getting the DNS suffix list and DNS server list.
- reimplement getting file permissions for mounttest.
2020-09-21 04:53:44 -07:00
tangwz
518c502f54
scheduler_perf: use time.Ticker in throughput measurement
2020-09-19 09:36:17 +08:00
Kubernetes Prow Robot
b86e725694
Merge pull request #91785 from mattcary/filtereddial
...
Specify a DialContext in storage plugin clients
2020-09-18 15:08:27 -07:00
Harshal Patil
2ad5f014a1
Add a check for crio service before starting node e2e tests
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-09-18 18:09:54 +05:30
Kubernetes Prow Robot
085beca6e1
Merge pull request #94854 from knight42/fix/run_kubectl_apply_tests
...
test(apply): deflake run_kubectl_apply_tests(round 3)
2020-09-17 19:34:45 -07:00
Matthew Cary
299a296c7a
update-bazel
...
Change-Id: Iebc99ee13587f0cd4c43ab85c7295d458d679d1e
2020-09-18 00:44:39 +00:00
Matthew Cary
f2e23afcf1
Adds filtering of hosts to DialContexts.
...
The provided DialContext wraps existing clients' DialContext in an attempt to
preserve any existing timeout configuration. In some cases, we may replace
infinite timeouts with golang defaults.
- scaleio: tcp connect/keepalive values changed from 0/15 to 30/30
- storageos: no change
2020-09-18 00:07:32 +00:00
Matthew Cary
74dbf274d9
update storageos vendor for FilteredDial change
2020-09-18 00:07:32 +00:00
Kubernetes Prow Robot
ff1d6e8c1d
Merge pull request #93252 from adtac/scheduler-perf
...
scheduler_perf: refactor to allow arbitrary workloads
2020-09-17 14:08:46 -07:00
Adhityaa Chandrasekar
71bc9ce9c2
scheduler_perf: refactor to allow arbitrary workloads
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-09-17 19:22:20 +00:00
Stephen Augustus
00a07cfd86
build: Update to debian-iptables:buster-v1.3.0
...
- Uses iptables 1.8.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-17 13:06:27 -04:00
Kubernetes Prow Robot
73b4f09dce
Merge pull request #94777 from claudiubelu/test-images/echoserver-fix
...
test images: Fixes echoserver s390x image
2020-09-17 08:12:45 -07:00
knight42
57619aa9d7
test(apply): deflake run_kubectl_apply_tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-17 22:51:19 +08:00
Kubernetes Prow Robot
660e1e4969
Merge pull request #94789 from zhouya0/cleanup_ns_flag
...
Clean up remaining ns flag
2020-09-17 07:08:45 -07:00
Kubernetes Prow Robot
3eb90c19d0
Merge pull request #94693 from smarterclayton/busybox_substitute
...
test/e2e: Busybox image is not being templatized
2020-09-17 05:24:58 -07:00
Rajas Kakodkar
7566da7f81
Add support for s390x
...
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-09-17 02:50:20 -07:00
Claudiu Belu
d663b07f7d
test images: Fixes echoserver s390x image
...
When trying to build the s390x image, it would fail when running the apk
command with the following error:
ERROR: Unable to open root: Bad address
ERROR: Failed to open apk database: Bad address
This can be fixed by updating the third_party/multiarch/qemu-user-static/register/register.sh
and third_party/multiarch/qemu-user-static/register/qemu-binfmt-conf.sh scripts
and their usage to a newer version [1].
Additionally, the packages nginx-mod-http-lua and nginx-mod-http-lua-upstream
cannot be found in the regular http://dl-cdn.alpinelinux.org/alpine/v3.9/main/s390x/
repository, but we can use an older one [2].
[1] https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
[2] http://dl-cdn.alpinelinux.org/alpine/v3.8/main
2020-09-17 09:34:40 +00:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Kubernetes Prow Robot
51184187b9
Merge pull request #94823 from zhouya0/fix_e2e_hpa_failure
...
Fix e2e autoscaling namespace error
2020-09-16 21:12:44 -07:00
Kubernetes Prow Robot
09b3f6dbb3
Merge pull request #93214 from trashhalo/prefer-error
...
test: prefer NoError/Error over Nil/NotNil
2020-09-16 15:10:45 -07:00
Clayton Coleman
aaa90476cb
test/e2e: Busybox image is not being templatized
...
All images used by e2e tests must use templates in order to allow
relocation. In addition this is hitting Dockerhub which will be
getting throttled soon.
2020-09-16 14:54:03 -04:00
David Ashpole
0ffc149ccc
move dashpole to emeritus in kubelet
2020-09-16 11:52:35 -07:00
Kubernetes Prow Robot
338d233c50
Merge pull request #93961 from aledbf/kubectl
...
Refactor kubectl stdin test
2020-09-16 07:45:19 -07:00
Kubernetes Prow Robot
5d095c8a44
Merge pull request #94785 from robscott/endpointslice-e2e-gc
...
Increasing acceptable timeout for EndpointSlice garbage collection
2020-09-16 06:29:19 -07:00
Manuel Alejandro de Brito Fontes
ee2c4e514f
Refactor kubectl without stdin test
2020-09-16 09:31:59 -03:00
Antonio Ojea
3eeed2f7fe
e2e sctp support for ipv6
2020-09-16 11:47:11 +02:00
Kubernetes Prow Robot
fcba5fe4e4
Merge pull request #94800 from mborsz/revert-92643-connDebug
...
Revert "conntrack e2e test debug connections"
2020-09-16 02:35:20 -07:00
Kubernetes Prow Robot
0a02eda2a2
Merge pull request #94380 from julianvmodesto/update-diff-csa-to-ssa-test
...
Ensure `kubectl diff --server-side` does not conflict with client-side apply
2020-09-16 01:25:20 -07:00
zhouya0
3b8603acbc
Fix e2e autoscaling namespace error
2020-09-16 14:01:44 +08:00
Rob Scott
4aef5b8f4c
Increasing acceptable timeout for EndpointSlice garbage collection
...
This should help minimize flakiness for these tests.
2020-09-15 21:32:48 -07:00
zhouya0
59bc823547
Delete namespace parameter in create adapter
2020-09-16 11:44:30 +08:00
Kubernetes Prow Robot
3e8e0dbf4a
Merge pull request #94482 from oomichi/expect_no_error-2
...
Use ExpectNoError(err) for some e2e tests
2020-09-15 18:27:19 -07:00
Kubernetes Prow Robot
303810c7a2
Merge pull request #94782 from adtac/SpreadServiceOrFail
...
ubernetes_lite.go: remove image argument from SpreadServiceOrFail
2020-09-15 16:21:33 -07:00
Kubernetes Prow Robot
aed5ffd195
Merge pull request #94449 from justaugustus/go115
...
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
Kubernetes Prow Robot
e7b9453972
Merge pull request #93537 from timuthy/enhancement.move-resourcequota
...
Move ResourceQuota admission to k8s.io/apiserver lib
2020-09-15 12:26:58 -07:00
Kubernetes Prow Robot
396dd2555d
Merge pull request #91993 from nodo/89274-change-of-managefields-via-subresources
...
Do not allow manual changes to manageFields via subresources
2020-09-15 12:26:43 -07:00
Kubernetes Prow Robot
fd9828b02a
Merge pull request #92632 from RenaudWasTaken/move-podresources-api
...
Move external facing podresources apis to staging
2020-09-15 10:04:07 -07:00
Kubernetes Prow Robot
825cf52702
Merge pull request #94747 from pwang7/patch-1
...
e2e test support microk8s
2020-09-15 08:58:21 -07:00
Renaud Gaubert
4eadf40448
Run gofmt
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 06:22:44 -07:00
Renaud Gaubert
ba95a8c641
run hack/update-vendor.sh
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Renaud Gaubert
60304452ff
Move podresources api to k8s.io/kubelet/pkg/apis
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Maciej Borsz
bb6d0f9820
Revert "conntrack e2e test debug connections"
2020-09-15 12:16:56 +02:00
Harshal Patil
feea9f3708
Move the RuntimeClass tests out of node-kubelet-orphans
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-09-15 12:51:38 +05:30
Kubernetes Prow Robot
e36e68f5f6
Merge pull request #94779 from SergeyKanzhelev/supportPidLimitsGAFollowUp
...
follow up cleanup after SupportPodPidLimits GA
2020-09-15 00:12:07 -07:00
wojtekt
af61e8fbdf
Test watchcache being updated in multietcd setup
2020-09-15 08:19:13 +02:00
zhouya0
438ec9be49
Clean up remaining ns flag
2020-09-15 10:43:51 +08:00
Kubernetes Prow Robot
76e0e25118
Merge pull request #94609 from soltysh/kubectl_e2e
...
Use namespace flag passed to RunKubectl* methods
2020-09-14 19:16:06 -07:00
Adhityaa Chandrasekar
9970966844
ubernetes_lite.go: remove image argument from SpreadServiceOrFail
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-09-14 20:32:06 +00:00
Sergey Kanzhelev
2a9228eb3c
follow up cleanup after SupportPodPidLimits GA
2020-09-14 18:50:24 +00:00
Kubernetes Prow Robot
54df1fdc90
Merge pull request #94090 from deads2k/podpreset
...
remove pod presets
2020-09-14 10:43:13 -07:00
David Eads
c0c033b12f
generated
2020-09-14 09:24:41 -04:00
David Eads
c7911a384c
remove pod presets
2020-09-14 09:24:40 -04:00
Stephen Augustus
fc673df1e4
test/{images,utils/image}: Add justaugustus as reviewer
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-14 09:11:50 -04:00
Pu Wang
40f2d1b8ff
e2e test support microk8s
...
microk8s run kubelet service as `snap.microk8s.daemon-kubelet.service`, instead of `kubelet.service`.
so e2e should use `systemctl list-units *kubelet* --state=running` to find out kubelet service of microk8s.
2020-09-13 16:11:50 +08:00
Kubernetes Prow Robot
66334f02e8
Merge pull request #94731 from spiffxp/rm-http-ingress-gce-tests
...
Remove tests related to HTTPS support for ingress-gce
2020-09-12 04:08:56 -07:00
David Ashpole
20863a8b43
add retry for creating metrics grabber to fix test flakes
2020-09-11 13:52:45 -07:00
Aaron Crickenberger
deffddbfb5
Remove tests related to HTTPS support for ingress-gce
2020-09-11 13:32:27 -07:00
Mike Danese
d182ecc1f9
output go_binary rule directly from go_binary_conditional_pure
...
And same for go_test_conditional_pure.
Instead of aliasing. Aliases are annoying in a number of ways. This is
specifically bugging me now because they make the action graph harder to
analyze programmatically. By using aliases here, we would need to handle
potentially aliased go_binary targets and dereference to the effective
target.
The comment references an issue with `pure = select(...)` which appears
to be resolved considering this now builds.
2020-09-11 13:19:37 -07:00
Stephen Augustus
a4a98f440c
[go1.15] Update to go1.15.2
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:12 -07:00
Maciej Szulik
eec4a04c2d
Use namespace flag passed to RunKubectl* methods
2020-09-11 14:51:03 +02:00
Kubernetes Prow Robot
f5a42d69c9
Merge pull request #93475 from ravisantoshgudimetla/fix-kubelet-scc
...
Strip unnecessary security contexts on Windows
2020-09-10 18:14:14 -07:00
Kubernetes Prow Robot
c7d6f796fe
Merge pull request #94144 from gnufied/prevent-stale-pv-read
...
Reduce offline volume expansion flake
2020-09-10 14:22:31 -07:00
Kubernetes Prow Robot
ac6447c76f
Merge pull request #94318 from gnufied/fix-namespace-deletion
...
Prevent deletion of namespace again
2020-09-10 10:46:03 -07:00
Kubernetes Prow Robot
6085d90897
Merge pull request #92064 from roycaihw/storage-version/serve-api
...
Serve storage-versions API in kube-apiserver
2020-09-10 10:45:48 -07:00
Lee Verberne
bf0a33d1de
Use EphemeralContainers for storage validation
...
When updating ephemeral containers, convert Pod to EphemeralContainers
in storage validation. This resolves a bug where admission webhook
validation fails for ephemeral container updates because the webhook
client cannot perform the conversion.
Also enable the EphemeralContainers feature gate for the admission
control integration test, which would have caught this bug.
2020-09-10 17:24:52 +02:00
Hemant Kumar
4614817100
Increase time it takes for second pod to startup for offline resizing
2020-09-10 10:03:12 -04:00
Kubernetes Prow Robot
c3b888f647
Merge pull request #93930 from pohly/multi-volume-generic-ephemeral-test-fix
...
e2e storage: skip multi-volume generic ephemeral volume test
2020-09-10 02:33:45 -07:00
Kubernetes Prow Robot
88e3c95d7c
Merge pull request #94647 from pohly/ephemeral-fixes
...
storage E2E: explicitly wait for PV deletion after ephemeral test
2020-09-09 20:43:44 -07:00
Kubernetes Prow Robot
b56d0acaf5
Merge pull request #94653 from jsafrane/tolerate-missing-objects
...
Tolerate NotFound errors when deleting snapshots
2020-09-09 12:21:46 -07:00
Hemant Kumar
c4ce420667
Prevent deletion of namespace again
2020-09-09 11:22:08 -04:00
Kubernetes Prow Robot
293a53f2c0
Merge pull request #94140 from derekwaynecarr/pid-ga
...
Promote PidLimits to GA
2020-09-09 06:35:52 -07:00
Jan Safranek
7df879ea95
Tolerate NotFound errors when deleting snapshots
2020-09-09 14:50:11 +02:00
Patrick Ohly
16635f5902
storage E2E: explicitly wait for PV deletion after ephemeral test
...
Even with foreground deletion, removal of the PVs that may have been
created for a pod with generic ephemeral volumes happens
asynchronously, in the worst case after the test has completed and the
driver for the volume got removed.
Perhaps this can be fixed in Kubernetes itself, but for now we need to
deal with it as part of the test.
2020-09-09 13:14:46 +02:00
Haowei Cai
07506ab384
generated
2020-09-08 19:14:36 -07:00
Chao Xu
86dd4ce3b5
Let kube-apiserver host the storage version API
...
Co-authored-by: Haowei Cai <haoweic@google.com>
2020-09-08 19:14:36 -07:00
Wei Huang
d8def59871
Initialize scheduler's podInformer in sharedInformerFactory
...
Scheduler's specific podInfomer is now initialized inside the sahredInformerFactory.
2020-09-08 12:57:17 -07:00
Kubernetes Prow Robot
7d4fb9dc2b
Merge pull request #94614 from sttts/sttts-fix-non-unique-test-env-var
...
e2e: fix deployment non-unique env vars to avoid SSA error
2020-09-08 09:43:43 -07:00
Kubernetes Prow Robot
4847c69ced
Merge pull request #91442 from saschagrunert/seccomp-ga-e2e
...
Update seccomp e2e test for GA
2020-09-08 04:53:58 -07:00
Dr. Stefan Schimanski
aa04982471
e2e: fix deployment non-unique env vars to avoid SSA error
2020-09-08 13:45:32 +02:00
Kubernetes Prow Robot
b16070f3ce
Merge pull request #92643 from aojea/connDebug
...
conntrack e2e test debug connections
2020-09-07 05:03:42 -07:00
Kubernetes Prow Robot
1f708f6e62
Merge pull request #94112 from damemi/sort-endpoints
...
Remove canonicalization of endpoints by endpoints controller for better comparison
2020-09-04 22:13:40 -07:00
Stephen Solka
203679cc61
prefer NoError/Error over Nil/NotNil
2020-09-04 18:35:52 -04:00
Tim Usner
70d440bc7e
Move ResourceQuota admission to k8s.io/apiserver
2020-09-04 14:53:52 +02:00
Antonio Ojea
0004b199d5
do not mutate endpoints in the apiserver
...
the endpoints API handler was using the Canonicalize() method to
reorder the endpoints, however, due to differences with the
endpoint controller RepackSubsets(), the controller was considering
the endpoints different despite they were not, generating unnecessary
updates evert resync period.
2020-09-04 08:42:45 -04:00
Kenichi Omichi
12c0eaef25
Use ExpectNoError(err)
...
We missed another pattern to check error doesn't happen on e2e tests.
This covers the pattern for consistent test implementation.
2020-09-03 23:29:07 +00:00
Kubernetes Prow Robot
48d5d204c3
Merge pull request #92614 from tnqn/onfailure-recreate
...
Don't create a new sandbox for pod with RestartPolicyOnFailure if all containers succeeded
2020-09-03 14:57:40 -07:00
Kubernetes Prow Robot
f736be5721
Merge pull request #94397 from wojtek-t/stop_setting_selflink
...
Stop setting SelfLink in kube-apiserver.
2020-09-03 12:31:55 -07:00
Kubernetes Prow Robot
8da7c92a2f
Merge pull request #93975 from avr1254/master
...
Removed broken link to Analytics
2020-09-03 06:16:09 -07:00
Matthew Fenwick
81219ca9d2
address review comments
2020-09-02 21:49:45 -04:00
Kubernetes Prow Robot
0455c2d5e7
Merge pull request #94407 from lavalamp/big-rename
...
Control Plane is a better name
2020-09-02 14:49:55 -07:00
Kubernetes Prow Robot
17efe1d627
Merge pull request #93394 from liggitt/shorten-apimachinery-test
...
Shorten watch restart test, run in parallel
2020-09-02 12:09:06 -07:00
Daniel Smith
a86afc12df
update scripts
2020-09-02 10:49:40 -07:00
Daniel Smith
15e0e3e90e
rename
2020-09-02 10:48:26 -07:00
Daniel Smith
75f835aa08
move port definitions to a common location
2020-09-02 10:48:25 -07:00
Antonio Ojea
b0dfe256f5
remove iperf e2e test ip family tags
2020-09-02 17:39:38 +02:00
Kubernetes Prow Robot
bdcdfe42be
Merge pull request #89582 from fedepaol/testsctppolicy
...
Add SCTP Network Policy tests
2020-09-02 00:41:06 -07:00
Kubernetes Prow Robot
dd6c53d035
Merge pull request #93946 from alexzimmer96/68026-pkg-controller-resourcequota
...
Refactor pkg/controllers/resourcequota to fix golint errors
2020-09-01 19:41:06 -07:00
Kubernetes Prow Robot
3cb89eb948
Merge pull request #94373 from MHBauer/fix-94370
...
relax matcher for ResourceMetricsAPI test
2020-09-01 18:44:28 -07:00
Kubernetes Prow Robot
6e663379ed
Merge pull request #94204 from tkashem/impersonation-with-apf
...
Impersonated user with a specified group should not fail flow schema match in Priority & Fairness
2020-09-01 18:44:00 -07:00
Kubernetes Prow Robot
19820b7bf1
Merge pull request #93876 from jsafrane/fix-wait-errormsg
...
Fix waiting for PVC to get bound
2020-09-01 18:43:42 -07:00
Swetha Repakula
e6428ae214
Add e2e multiple endpoint services test
...
- ensures that when multiple services with the same selector will
function even if one of the services is deleted
2020-09-01 16:36:33 -07:00
Kubernetes Prow Robot
b49724d5fc
Merge pull request #94287 from jingyih/update_etcd_server_3p4p13
...
Update default etcd server to 3.4.13
2020-09-01 15:35:20 -07:00
wojtekt
2539912a22
Stop setting SelfLink in kube-apiserver.
2020-09-01 20:57:38 +02:00
Kubernetes Prow Robot
e23d83eead
Merge pull request #93710 from Jiawei0227/attachable2non
...
Detect volume attach-ability in the middle of attaching
2020-08-31 17:39:50 -07:00
Julian V. Modesto
690c6b2f25
Update kubectl diff --server-side
test.
...
In 1.19, we made it so that upgrading from client-side `kubectl apply`
to server-side `kubectl apply --server-side` does not conflict.
This means that `kubectl diff --server-side` should work the same:
server-side apply diffing a resource managed originally with client-side apply
should not result in conflicts.
2020-08-31 15:49:44 -04:00
Morgan Bauer
8936adc146
relax matcher for ResourceMetricsAPI test
...
Instead of requiring only exactly the pods created, allow other pods
to exist by ignoring any extra matches.
2020-08-31 09:53:33 -07:00
Stephen Augustus
e59d9f372d
Update CNI plugins to v0.8.7
...
ref: https://github.com/containernetworking/plugins/releases/tag/v0.8.7
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-31 09:01:07 -04:00
Federico Paolinelli
254905caa7
Mark SCTPConnectivity tests as disruptive.
...
Since the SCTP module verification tests were added, their result may be affected by
running the SCTPConnectivity tests. For this reason, they are now marked as disruptive.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-08-31 10:39:32 +02:00
Federico Paolinelli
345cab6ee9
Add tests for SCTP network policies.
...
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-08-31 10:39:29 +02:00
Claudiu Belu
13849214c1
tests: Refactor agnhost image pod usage
...
Creates a few agnhost related functions that creates agnhost
pods / containers for general purposes.
The following commits will refactor tests to use those functions.
2020-08-29 15:48:03 -07:00
Kubernetes Prow Robot
044f9102dd
Merge pull request #94054 from vareti/shorten-test-run-time
...
start kube-apiserver and webhook server only once to shorten the webhook audit test time
2020-08-29 07:11:19 -07:00
Kubernetes Prow Robot
2ca9ee3928
Merge pull request #94229 from derekwaynecarr/verify-container-state-running
...
Verify running mirror pod has running containers
2020-08-28 22:15:19 -07:00
Kubernetes Prow Robot
9ac9616361
Merge pull request #94310 from twosigma/movee2etestfqdn
...
Moving SetHostnameAsFQDn e2e tests to e2e_node directory to include tests in Node Testgrid
2020-08-28 17:15:19 -07:00
Andi Li
673af97bcd
Fix testpattern check
2020-08-28 13:44:42 -04:00
Javier Diaz-Montes
0f5a03195b
Moving e2e tests to e2e_node directory
2020-08-28 12:54:12 -04:00
Andi Li
d915463451
Combine switch case into one case
2020-08-28 12:36:15 -04:00
Andi Li
5b4dffb6b7
Ran hack/update-bazel.sh but discarded changes to root build file
2020-08-28 12:36:15 -04:00
Andi Li
e748ec3de2
Move common portion of dynamic snapshot out of switch statement
2020-08-28 12:36:15 -04:00
Andi Li
7918f69055
Remove custom hash function, generate a random UUID for snapshot and snapcontent name instead
2020-08-28 12:36:15 -04:00
Andi Li
86af5a5ec3
Stack snapshot tests into one to reuse snapshot resource and reduce time taken on prow.
2020-08-28 12:36:15 -04:00
Andi Li
a4498846b1
Quick commit
2020-08-28 12:36:15 -04:00
Andi Li
854645d7c3
Remove snapshot class from prepv test because it is not needed.
...
Prepv snapshots only need to specify driver.
2020-08-28 12:36:15 -04:00
Andi Li
42b2d1c52c
Combine two tests with overlap to reduce overall snapshot test suite time
2020-08-28 12:36:15 -04:00
Andi Li
e78aee9965
Add pre provisioned snapshot tests
...
Make pre provisioned snapshots using CSI driver by
1. Take a dynamic snapshot with retain policy
2. Delete the dynamic snapshot and content
3. Create a preprovisioned snapshot with snapshotHandle
This commit adds a preprovisiond test pattern, all snapshots made using
create snapshot resource become prepv snapshots. All exisitng test cases
now run again with prepv snapshots.
2020-08-28 12:36:15 -04:00
Siva
f3ede26e20
start kube-apiserver and webhook server only once to shorten the webhook audit test time
2020-08-28 11:31:46 -05:00
Andi Li
ed85129831
Minor cleanup in snapshot test suite.
2020-08-28 12:29:07 -04:00
Kubernetes Prow Robot
3a79bb68bd
Merge pull request #94238 from jingxu97/Aug/subpathtest
...
Set snapshotType for tests with NTFS.
2020-08-28 08:04:55 -07:00
Kubernetes Prow Robot
d9789c4fa3
Merge pull request #93587 from liggitt/daemonset-test-name
...
Clean up daemonset test names
2020-08-28 06:37:40 -07:00
Kubernetes Prow Robot
9ff9e8798a
Merge pull request #93498 from luigibk/use-ebtables-from-utils
...
Update k8s.io/utils dependency and use ebtables from there
2020-08-28 06:37:21 -07:00
Kubernetes Prow Robot
936fadb56a
Merge pull request #93380 from yue9944882/apf-int-test-reject
...
Integration: Ensure no rejections in PL isolation test
2020-08-28 06:37:02 -07:00
Kubernetes Prow Robot
0eeb676468
Merge pull request #93162 from julianvmodesto/before-first-apply-test
...
Add tests for stopped managed fields tracking
2020-08-28 06:35:35 -07:00
Kubernetes Prow Robot
f6d169c7ca
Merge pull request #93120 from msau42/e2e-export
...
Export WaitForCSIDriverRegistrationOnAllNodes
2020-08-28 06:34:53 -07:00
jingyih
c96b93fbd4
Update default etcd server to 3.4.13
2020-08-28 21:19:24 +08:00
Kubernetes Prow Robot
db9916673a
Merge pull request #93081 from oomichi/MasterUpgradeGKE
...
Move MasterUpgrade() out from e2e framework
2020-08-28 03:20:53 -07:00
Kubernetes Prow Robot
a04f1b8d59
Merge pull request #93046 from oomichi/WatchUntilWithoutRetry
...
Move WatchUntilWithoutRetry() from e2e framework
2020-08-28 02:02:52 -07:00
Jiawei Wang
250d861be7
Fail early on stress test and improve logging
2020-08-27 21:10:23 -07:00
zhouya0
383b5f6766
Support kubectl delete foreground
2020-08-28 11:52:40 +08:00
Kubernetes Prow Robot
5832c44dbf
Merge pull request #92988 from nikhita/cleanup-owners-test-images
...
test/images/pets: remove OWNERS to cleanup inactive members
2020-08-27 19:08:43 -07:00
Kubernetes Prow Robot
32f034de38
Merge pull request #92845 from oomichi/remove-DeprecatedMightBeMasterNode
...
Remove DeprecatedMightBeMasterNode()
2020-08-27 19:07:25 -07:00
Kubernetes Prow Robot
ef7729e6f1
Merge pull request #92274 from SergeyKanzhelev/removeStaleToDo
...
remove stale TODO after this PR: #92204
2020-08-27 17:56:40 -07:00
Kubernetes Prow Robot
c143ea4bbf
Merge pull request #90522 from beautytiger/fix/nilranger
...
cleanup: no need nil check before range
2020-08-27 17:54:31 -07:00
Kubernetes Prow Robot
ef1655f691
Merge pull request #93963 from claudiubelu/tests/fixes-expansion-tests-negative-test
...
Fixes variable expansion false positive
2020-08-27 16:07:47 -07:00
Kubernetes Prow Robot
02838bde69
Merge pull request #93817 from habibrosyad/patch-92402-test/e2e_node
...
fix test/e2e_node staticcheck
2020-08-27 16:07:37 -07:00
Kubernetes Prow Robot
0f3262cddb
Merge pull request #94231 from twosigma/addfqdntestgrid
...
Changing label to NodeAlphaFeature to include tests in Node Testgrid
2020-08-27 14:41:24 -07:00
Kubernetes Prow Robot
b5de8b9979
Merge pull request #94242 from jingxu97/Aug/filemode
...
Remove file_mode args for Windows test
2020-08-27 10:38:33 -07:00
Kubernetes Prow Robot
597eb78b25
Merge pull request #94160 from matthyx/startupprobe-ga
...
Remove StartupProbe featuregate and related logic
2020-08-27 06:42:49 -07:00
Kubernetes Prow Robot
b9c461afe5
Merge pull request #93852 from nikhita/cleanup-vsphere-owners
...
vsphere: remove inactive members from OWNERS
2020-08-27 06:42:21 -07:00
Kubernetes Prow Robot
2770fc6128
Merge pull request #94061 from mattcary/fix-expand-offline-comment
...
fix misleading comment in expand_volume.go
2020-08-27 04:49:45 -07:00
Kubernetes Prow Robot
54d7adc1f5
Merge pull request #93982 from jayunit100/wait_func_cleanup
...
wait function and util comments and cleanup
2020-08-27 04:49:07 -07:00
Kubernetes Prow Robot
5507cb772b
Merge pull request #93950 from Jiawei0227/parse-mock-logs
...
Make CSI mock driver log parse more flexible
2020-08-27 04:48:38 -07:00
Kubernetes Prow Robot
e3bd0de6df
Merge pull request #93923 from jsafrane/reduce-cinder-sizes
...
Reduce test volume sizes
2020-08-27 04:48:11 -07:00
Kubernetes Prow Robot
d506ff062c
Merge pull request #93868 from MHBauer/resourcemetricsapi-test
...
update ResourceMetricsAPI tests
2020-08-27 04:47:16 -07:00
Kubernetes Prow Robot
1c2e8e67fb
Merge pull request #93583 from aojea/policyIPv6
...
support ipv6 in e2e policy tests
2020-08-27 00:08:10 -07:00
Kubernetes Prow Robot
9a497c8be6
Merge pull request #94246 from jingxu97/Aug/snapshot
...
Fix issue on skipTest in storage suits
2020-08-26 20:51:37 -07:00
Kubernetes Prow Robot
f4cfc8a9c5
Merge pull request #93328 from cynepco3hahue/e2e_reset_system_start_limit
...
e2e node: fix kubelet service restart failure
2020-08-26 20:51:18 -07:00
Kubernetes Prow Robot
343596b4d9
Merge pull request #92920 from gaurav1086/TestWatchBasedManager_fix_deadlock
...
[test/kubelet]: Fix deadlock in watch manager test
2020-08-26 20:51:04 -07:00
Kubernetes Prow Robot
305f48936c
Merge pull request #93588 from jsturtevant/gmsa-serial
...
Mark gmsa test serial due to race conditions
2020-08-26 19:41:02 -07:00
Kubernetes Prow Robot
38086508f8
Merge pull request #94049 from harche/ssh_user
...
Read ssh username from env variable
2020-08-26 18:23:02 -07:00
Jing Xu
d35eb56322
Fix issue on skipTest in storage suits
...
After PR https://github.com/kubernetes/kubernetes/pull/92555 , there are a number of gce pd default fs tests skipped. Here the testpatten has SnapshotType set because some provisioning tests use snapshots. But for drivers such as In-tree gce pd driver, the tests will be skipped because of the logic in skipUnsupportedTesthttps://github.com/kubernetes/kubernetes/blob/master/test/e2e/storage/testsuites/base.go#L154
Since multiple drivers might test with the same pattern, so I think we need keep SnapshotType here.
This PR removes the part of the logic in skipUnsupportedTest. This should be ok because all snapshot tests will check whether a driver has snapshot capability or not.
2020-08-25 23:31:47 -07:00
Jing Xu
0d9c8202d5
Remove file_mode args for Windows test
...
Due to issue https://github.com/kubernetes/kubernetes/issues/94237 ,
remove file_mode arg for subPath tests for now.
2020-08-25 20:05:40 -07:00
Jing Xu
b426689ca4
Set snapshotType for tests with NTFS.
...
Set the snapshotType for tests with NTFS. Return error if type is not
set.
2020-08-25 19:39:30 -07:00
Javier Diaz-Montes
c74a772794
Adding label NodeAlphaFeature to include tests in Node Testgrid
2020-08-25 16:38:11 -04:00
Abu Kashem
01619cfaf6
Add impersonated user to system:authenticated group
...
Currently if a group is specified for an impersonated user,
'system:authenticated' is not added to the 'Groups' list inside the
request context.
This causes priority and fairness match to fail. The catch-all flow
schema needs the user to be in the 'system:authenticated' or in the
'system:unauthenticated' group. An impersonated user with a specified
group is in neither.
As a general rule, if an impersonated user has passed authorization
checks, we should consider him authenticated.
2020-08-25 14:53:01 -04:00
Derek Carr
d2c78b6589
Verify running mirror pod has running containers
2020-08-25 12:23:24 -04:00
Kubernetes Prow Robot
4db3a096ce
Merge pull request #94171 from robscott/endpointslicemirroring-fix
...
Updating EndpointSliceMirroring controller to listen for Service changes
2020-08-24 18:44:16 -07:00
Jiawei Wang
a6d8e6c5c2
Detect change of volume attachability in the middle of attaching
...
- Add Unit tests for both volumemanager and attach/detach controller
- Add E2E test
2020-08-24 17:15:11 -07:00
Rob Scott
3c804502d7
Updating EndpointSliceMirroring controller to listen for Service changes
...
This fixes a bug that could occur if a custom Endpoints resource was
created before a Service was created.
2020-08-24 17:09:42 -07:00
Derek Carr
6f2153986a
Promote PidLimits to GA
2020-08-24 13:57:48 -04:00
Matthias Bertschy
ea14585500
Remove StartupProbe featuregate and related logic
2020-08-22 15:09:52 +02:00
Spencer Hance
7c0169d976
Reserve Static IP in Ingress test
2020-08-21 10:54:10 -07:00
Benjamin Elder
3e2cb2922b
synchronize agnhost image / app version
2020-08-20 17:00:41 -07:00
Benjamin Elder
9d7a94263a
track agnhost version in dependencies.yaml
2020-08-20 17:00:41 -07:00
Alexander Zimmermann
86dc0364f4
Refactored pkg/controllers/resourcequota
...
* Fixed golint issues
* Removed redundant package import names
* Improved some variables and names
Co-authored-by: Mike Danese <mikedanese@gmail.com>
2020-08-20 14:37:27 +02:00
Antonio Ojea
fcaf580c9b
fix e2e test
...
the test is not working because is trying to execute bash in a
busybox image, that is not present. Using sh works.
2020-08-19 22:45:21 +02:00
jay vyas
04b38e9f91
Update wait function w/ descriptions of global node states, TODO for kubelet
...
API.
2020-08-19 13:55:54 -04:00
Kubernetes Prow Robot
3352c44949
Merge pull request #93777 from pohly/capacity-test-flake-fix
...
e2e storage: avoid flaky test failure when watch dies
2020-08-19 04:47:12 -07:00
Claudiu Belu
8ca08f1ced
tests: Use Windows absolute path on Windows pods
...
The test "should fail substituting values in a volume subpath with absolute path" creates a pod
with a variable expansion path which is set as an absolute path. However "/tmp" is not an absolute
on Windows, it has to be prefixed with the drive letter (C:\tmp). But C:\tmp does not typically
exist on Windows nodes, so we use C:\Users instead.
2020-08-18 13:39:31 -07:00
Rob Scott
43ce0c53cc
Fixing a flaky EndpointSliceMirroring integration test
...
This test was trying to create an Endpoints resource that the Endpoints
controller would also attempt to create. This could result in a failure
if the Endpoints controller created the resource before the test did.
2020-08-18 12:52:54 -07:00
Kubernetes Prow Robot
544b74c2cb
Merge pull request #94050 from liggitt/remove-flaky-audit-test
...
Remove flaky audit e2e test
2020-08-18 09:45:31 -07:00
Andrea Nodari
c522ee08a3
Do not allow manual changes to manageFields via subresources
...
If a request tries to change managedFields, the response returns the
managedField of the live object.
2020-08-18 13:33:39 +02:00
Matthew Cary
8ea57e55d7
fix misleading comment in expand_volume.go
2020-08-17 13:51:03 -07:00
Kubernetes Prow Robot
0d1d65661c
Merge pull request #93980 from BenTheElder/emeritus-sig-testing
...
Emeritus some inactive sig testing approvers
2020-08-17 11:53:31 -07:00
Kubernetes Prow Robot
b7d59d37fa
Merge pull request #93721 from gitlawr/speedup-reconciler-tests
...
Speed up master reconciler tests
2020-08-17 08:38:18 -07:00
gitlawr
11b347ca1d
Speed up master reconciler tests
...
Start apiservers in parallel.
Reduce the number of masters.
Reduce the time for ReconcilerMasterLease.* tests from ~85s to ~41s on
average.
2020-08-17 22:28:30 +08:00
Jordan Liggitt
f5490cb5c8
Remove flaky audit e2e test
2020-08-17 09:59:59 -04:00
Harshal Patil
9d5ca30b76
Read ssh username from env variable
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-08-17 17:49:26 +05:30
Morgan Bauer
916c73b8a5
update ResourceMetricsAPI node-e2e test
...
/metrics/resource/v1alpha1 was deprecated and moved to
/metrics/resource
Renames to remove v1alpha1 from function names and matcher variables.
Pod deletion was taking multiple minutes, so set GracePeriodSeconds to 0.
Commented restart loop during test pod startup.
Move ResourceMetricsAPI out of Orphans by giving it a NodeFeature tag.
API removed in 7b7c73b
#88568
Test created 6051664
#73946
2020-08-14 11:28:35 -07:00
Benjamin Elder
885b1bc720
move krzyzacy to emeritus
2020-08-14 09:17:27 -07:00
Kubernetes Prow Robot
a42a1c8dea
Merge pull request #93921 from zhouya0/never_restart_agnhost_pod
...
[Flaky test]kubectl log test never restart pod
2020-08-14 01:54:22 -07:00
Kubernetes Prow Robot
c2bde256ae
Merge pull request #93990 from knight42/fix/run_kubectl_apply_tests
...
test(kubectl): deflake run_kubectl_apply_tests(round 2)
2020-08-14 00:48:35 -07:00
Kubernetes Prow Robot
fa1a3e0f74
Merge pull request #93665 from dims/emeritus-bgrant0607
...
Move bgrant0607 to emeritus status.
2020-08-14 00:48:22 -07:00
knight42
3cb3356645
test(kubectl): deflake run_kubectl_apply_tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-14 11:12:42 +08:00
Kubernetes Prow Robot
3647766cbc
Merge pull request #93938 from alculquicondor/revert-node-delete
...
Keep track of remaining pods when a node is deleted
2020-08-13 13:25:41 -07:00
Arjun Ramachandrula
dcc1ab176d
Removed broken link to Analytics
2020-08-13 16:03:37 -04:00
Aldo Culquicondor
16d7ecfa45
Remove direct accesses to cache's node map
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: Iebb22fc816926aaa1ddd1e4b2e52f335a275ffaa
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-08-13 14:22:06 -04:00
Jiawei Wang
0ce86eb553
Make CSI mock driver log parse more flexible
2020-08-13 10:27:38 -07:00
Kubernetes Prow Robot
fa76242bba
Merge pull request #93730 from adtac/MixedSchedulingBasePod
...
scheduler_perf/MixedSchedulingBasePod: label nodes for pod affinity
2020-08-12 19:14:14 -07:00
Kubernetes Prow Robot
68168541ea
Merge pull request #93869 from Jiawei0227/namespace-collision
...
[e2e]Bind csi driver namespace to test namespace to avoid namespace collision
2020-08-12 17:00:28 -07:00
Kubernetes Prow Robot
b1d89d67a1
Merge pull request #93939 from justaugustus/go115
...
[go1.15] Update to go1.15
2020-08-12 14:42:28 -07:00
Kubernetes Prow Robot
6704af40d4
Merge pull request #93916 from justaugustus/base-images
...
build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
2020-08-12 14:42:14 -07:00
Stephen Augustus
aa2bb18a2b
[go1.15] Update to go1.15
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Jiawei Wang
d030c64743
[e2e]Bind csi driver namespace to test namespace to avoid namespace collision
2020-08-12 10:20:30 -07:00
Matthew Fenwick
14fe811563
back out conversion of DialFromNode->DialFromTestContainer
2020-08-12 13:11:51 -04:00
Patrick Ohly
1a510a1bec
e2e storage: avoid flaky test failure when watch dies
...
As discussed in https://github.com/kubernetes/kubernetes/pull/93658 ,
relying on a watch to deliver all events is not acceptable, not even
for a test, because it can and did (at least for OpenShift testing) to
test flakes.
The solution in #93658 was to replace log flooding with a clear test
failure, but that didn't solve the flakiness.
A better solution is to use a RetryWatcher which "under normal
circumstances" (https://github.com/kubernetes/kubernetes/pull/93777#discussion_r467932080 )
should always deliver all changes.
2020-08-12 17:56:24 +02:00
Patrick Ohly
441324e8c8
e2e storage: skip multi-volume generic ephemeral volume test
...
This test might flake when run on a multi-zone cluster (similar to
persistent volumes, see
https://github.com/kubernetes/kubernetes/issues/75776 ). We don't do
that at the moment, but it's better to fix this anyway.
2020-08-12 16:01:13 +02:00
Kubernetes Prow Robot
c780554a64
Merge pull request #93829 from aojea/e2eSvcSlice
...
e2e services wait for endpoint and endpoint slices
2020-08-12 06:49:45 -07:00
Antonio Ojea
f31839acea
e2e services wait for endpoint and endpoint slices
...
Since 1.19 endpoint slices is enabled by default, so all the e2e
tests should consider them.
The e2e networking tests for services use the jig object for
all the tests, but was not taking into account endpoint slices.
This considers endpoints slices for the method waitForAvailableEndpoint()
Date: Sun Aug 9 12:34:06 2020 +0200
2020-08-12 14:13:42 +02:00
Jan Safranek
fea06a204c
Reduce test volume sizes
...
To reduce costs and to increase speed. Formating 5GiB volume took too long
in a badly overloaded CI cluster.
All in-tree volume plugins support at least 1GiB volumes.
2020-08-12 14:00:30 +02:00
Kubernetes Prow Robot
abede62bf0
Merge pull request #93857 from soltysh/fix_lb_test
...
Skip LB test per schedulable node count
2020-08-12 04:29:44 -07:00
Antonio Ojea
f9a5e5a283
support ipv6 in e2e policy tests
2020-08-12 13:01:07 +02:00
zhouya0
b18e265315
[Flaky test]kubectl log test never restart pod
2020-08-12 18:26:18 +08:00
Stephen Augustus
13f1a90f74
build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:17:26 -04:00
Kubernetes Prow Robot
fa13dc11d1
Merge pull request #93907 from robscott/endpointslice-e2e-test-fix
...
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
2020-08-11 20:07:45 -07:00
Kubernetes Prow Robot
35c8fece86
Merge pull request #93521 from msau42/update-registry
...
Update e2e csi images to k8s.gcr.io
2020-08-11 17:57:46 -07:00
Rob Scott
17ff005c4b
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
...
Although rare, the EndpointSlice controller can create duplicate
EndpointSlices. This is considered a valid state and tests that find
this state should not fail.
2020-08-11 14:51:30 -07:00
jay vyas
9ecf96cb46
Add maxTries logging statement, otherwise the numbers are really hard to interpret
2020-08-11 12:28:08 -04:00
jay vyas
56e2adbd79
implement breadth first try
2020-08-11 11:32:46 -04:00
M. Habib Rosyad
42c68c303b
fix test/e2e_node staticcheck
2020-08-11 22:11:22 +07:00
Jan Safranek
96eeb98215
Fix error messages
...
Separate different errors by ": ".
2020-08-11 11:14:15 +02:00
Jan Safranek
6a83a39ae6
Fix Poll variable name
...
Parameter names should start with lowercase
2020-08-11 11:14:15 +02:00
Jan Safranek
d3503a2881
Fix waiting for PVCs to get Bound
...
When Get() returns error, the loop should not return with nil. Make sure
that the faulty Get() marks phaseFoundInAllClaims as not satisfied.
2020-08-11 11:14:15 +02:00
yodarshafrir1
24010022ef
Number of failed jobs should exceed the backoff limit and not big equal.
...
Remove patch in e2e test of backoff limit due to usage of NumRequeues
2020-08-11 11:06:09 +03:00
Kubernetes Prow Robot
da5ec168e7
Merge pull request #93618 from Jiawei0227/e2e-csi-mock-flaky
...
Fix flaky test: wait for mock CSI Driver bringup to perform e2e test
2020-08-10 15:41:59 -07:00
jay vyas
ccbfa84173
golint
...
flip logging messages
run pod->node conformance tests the same way
2020-08-10 15:46:49 -04:00
Jiawei Wang
76b4973b42
Wait for mock CSI Driver bringup to perform e2e test
...
In our current mock CSI driver e2e test, we are not waiting
for the CSI driver register successfully to perform test
including provision PVC. This can lead to timeout when the
csi driver takes longer to register the socket.
This change adds the waiting part so that the system will
wait for up to 10 minutes for the driver to be ready. This
normally won't take this long. However, under a resource
constraint environment it can take longer than expected time.
https://github.com/kubernetes/kubernetes/issues/93358
2020-08-10 11:03:35 -07:00
Adhityaa Chandrasekar
59a6e86c0c
scheduler_perf: label nodes for pod affinity
...
3 commits:
label nodes for pod affinity
use topology.kubernetes.io/zone label
use 3 zones in pod affinity rules
2020-08-10 16:07:46 +00:00
Maciej Szulik
5765bf74ce
Skip LB test per schedulable node count
2020-08-10 16:13:29 +02:00
Nikhita Raghunath
53e87ddd15
vsphere: remove inactive members from OWNERS
...
As a part of cleaning up inactive members (who haven't been active since
beginning of 2019) from OWNERS files, this commit moves abrarshivani to
emeritus_approvers section.
2020-08-10 15:23:25 +05:30
Sascha Grunert
3bef0e40a6
Update seccomp e2e test for GA
...
We now execute the seccomp tests with `[LinuxOnly]` as described in the
appropriate KEP test plan:
https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20190717-seccomp-ga.md#test-plan
The tests have been changed to used the new seccomp field within the
security context in replacement for the annotations.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-10 08:50:44 +02:00
Kubernetes Prow Robot
7740b8124c
Merge pull request #93555 from cofyc/fix81368
...
integration: Wait for PV to be available in TestVolumeProvision
2020-08-09 22:30:20 -07:00
jay vyas
35f5e8e66f
minor logic fix
2020-08-09 16:45:51 -04:00
jay vyas
84f7d1e636
e2e test intra-pod breadth first logging and summary
...
gofmt
2020-08-09 16:35:03 -04:00
Stephen Augustus
ffcef48b83
[go1.15] Update to go1.15rc2
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:53:53 -04:00
Wei Huang
24bbedb27d
Deflake LimitRange e2e test
2020-08-07 17:22:35 -07:00
Kubernetes Prow Robot
a640545167
Merge pull request #93567 from gnufied/fix-stale-attachments
...
Make AttachDisk for EBS idempotent again
2020-08-07 07:16:19 -07:00
Hemant Kumar
f91d448e1b
Add tests for out of band attachments
2020-08-07 08:23:25 -04:00
Antonio Ojea
db4bca086d
e2e delete namespaces after finish
2020-08-07 08:35:39 +02:00
Julian V. Modesto
f2deb2417a
Add tests for managed fields tracking.
...
- Test that client-side apply users don't encounter a conflict with
server-side apply for objects that previously didn't track managedFields
- Test that we stop tracking managed fields with `managedFields: []`
- Test that we stop tracking managed fields when the feature is disabled
2020-08-05 18:22:44 -04:00
Kubernetes Prow Robot
c94242a7b1
Merge pull request #93657 from knight42/test/93651
...
fix: deflake run_kubectl_apply_tests
2020-08-05 09:56:28 -07:00
knight42
cbf8ec4e2d
fix: deflake run_kubectl_apply_tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-05 23:27:34 +08:00
Kubernetes Prow Robot
9dec51e8f3
Merge pull request #93670 from wojtek-t/fix_readyz_sync_informer
...
Fix /readyz to contain informer-sync
2020-08-04 19:48:29 -07:00
Kubernetes Prow Robot
56c76023f7
Merge pull request #93658 from dcbw/csi-fail-test-on-close
...
test/e2e: fail test rather than flooding logs if PVC watch is closed prematurely
2020-08-04 18:08:42 -07:00
Kubernetes Prow Robot
c73fef52f3
Merge pull request #93661 from Huang-Wei/flake-postbind
...
Deflake scheduler PostBind integration test
2020-08-04 09:58:20 -07:00
Shingo Omura
d0421fa9c3
Fix TestScorePlugin: numScore should be accessed with atomic.LoadInt32
2020-08-04 22:50:13 +09:00
Shingo Omura
ef1fab7642
expose Run[Pre]ScorePlugins functions in PluginRunner interface
2020-08-04 22:50:13 +09:00
wojtekt
5b4ab8f41b
Fix /readyz to contain informer-sync
2020-08-04 15:29:43 +02:00
Stephen Augustus
87e13f7665
build: Update to debian-base@v2.1.0 and debian-iptables@v12.1.1
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-04 01:15:24 -04:00
ravisantoshgudimetla
cd8686bc57
Strip unnecessary security contexts on Windows
...
As of now, the kubelet is passing the security context to container runtime even
if the security context has invalid options for a particular OS. As a result,
the pod fails to come up on the node. This error is particularly pronounced on
the Windows nodes where kubelet is allowing Linux specific options like SELinux,
RunAsUser etc where as in [documentation](https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#v1-container ),
we clearly state they are not supported. This PR ensures that the kubelet strips
the security contexts of the pod, if they don't make sense on the Windows OS.
2020-08-03 23:43:31 -04:00
Davanum Srinivas
fbca4e3ee9
Move bgrant0607 to emeritus status.
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-08-03 21:50:46 -04:00
Kubernetes Prow Robot
0d2299e227
Merge pull request #93271 from ii/promote-preferred-version
...
Promote: Discovery PreferredVersion test+16 Endpoints
2020-08-03 18:46:19 -07:00
Michelle Au
ab5b3e256b
Update e2e csi images to k8s.gcr.io
...
Change-Id: Ic6c3f805aab1647f01f40fee725d6e8be992d04e
2020-08-03 17:04:21 -07:00
Kubernetes Prow Robot
ae9f76153f
Merge pull request #93535 from gnufied/create-service-for-endpoint
...
Create service for gluster endpoint
2020-08-03 16:10:33 -07:00
Wei Huang
b6b7ab3f73
Deflake scheduler PostBind integration test
2020-08-03 12:30:22 -07:00
Dan Williams
e0f9fe2cd3
test/e2e: fail test rather than flooding logs if PVC watch is closed prematurely
...
If the watch is closed prematurely the for/select loop will
spew "PVC event : <nil>" as fast as possible until the test times
out, flooding logs.
STEP: Checking PVC events
Aug 3 16:35:53.930: INFO: PVC event ADDED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"42154", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc001639060), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc001639080)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"", StorageClassName:(*string)(0xc000876e90), VolumeMode:(*v1.PersistentVolumeMode)(0xc000876ec0), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"42159", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6060), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6080)}, v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a60a0), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a60c0)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"", StorageClassName:(*string)(0xc0012aa020), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa030), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"43201", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"pv.kubernetes.io/bind-completed":"yes", "pv.kubernetes.io/bound-by-controller":"yes", "volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6100), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6120)}, v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6140), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6160)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"pvc-221369cd-50c3-48be-8c08-dc4d8f6f36e0", StorageClassName:(*string)(0xc0012aa090), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa0a0), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"43203", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"pv.kubernetes.io/bind-completed":"yes", "pv.kubernetes.io/bound-by-controller":"yes", "volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6600), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6620)}, v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6660), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6680)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"pvc-221369cd-50c3-48be-8c08-dc4d8f6f36e0", StorageClassName:(*string)(0xc0012aa450), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa460), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Bound", AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Capacity:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}, Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
<a million lines later...>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
<test times out>
2020-08-03 13:01:00 -05:00
Caleb Woodbine
8411ada27a
Adjust default replica count to 2 replicas
2020-08-03 09:03:10 +12:00
Kubernetes Prow Robot
cf6a0868be
Merge pull request #93597 from wojtek-t/validate_endpoint_slices
...
Wait for both endpoints and endpointslices in e2e tests
2020-08-01 20:22:04 -07:00
Kubernetes Prow Robot
d3a49f7c63
Merge pull request #93589 from jingxu97/July/csiwindowstest
...
Update e2e storage tests for Windows cluster
2020-08-01 20:21:54 -07:00
Kubernetes Prow Robot
f0485f5098
Merge pull request #93557 from knight42/fix/snat-test
...
fix(e2e::network): refactor NoSNAT test
2020-08-01 20:21:41 -07:00
Kubernetes Prow Robot
0051d65f9f
Merge pull request #92954 from sbueringer/pr-fix-delete-orphan-test
...
conformance-tests: make orpan RS created by deployment test more resilient
2020-07-31 13:51:40 -07:00
Jing Xu
015f2998e5
Update e2e storage tests for Windows cluster
...
This PR fixes a few things for e2e storage suite to run on Windows
cluster.
1. increaes timeout due to longer pod startup time for windows
2. Only set SELinuxOptions or fsGroup if os is not windows
3. Add VolumeSnapshot delete policy for windows3. Add VolumeSnapshot
delete policy for windows3. Add VolumeSnapshot delete policy for windows
2020-07-31 10:09:28 -07:00
knight42
7b07b33094
fix(e2e::network): refactor NoSNAT test
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-01 00:51:51 +08:00
wojtekt
76b3fe7f6d
Wait for both endpoints and endpointslices in e2e tests
2020-07-31 17:24:53 +02:00
hasheddan
242176ab31
Make typecheck default parallelism 3
...
Typecheck is still hitting memory limits semi-regularly on periodic CI
jobs. This bumps the default parallelism down to 3 from 4 to make it
slightly less memory intensive.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-31 07:42:31 -05:00
Claudiu Belu
72a26aed7d
tests: Fixes variable expansion false positive test
...
Some of the tests are negative test cases which are supposed to ensure that those
invalid usecases are handled properly.
However, some of the tests are false positives, they can pass due to various reasons.
One such example is: "should fail substituting values in a volume subpath with absolute path".
This test can pass if:
- the Pod cannot start due to various reasons (e.g.: the container image cannot be pulled or does
not exist).
- the Pod ran to completion, even though the container was not supposed to start in the first place.
2020-07-31 01:23:09 -07:00
Kubernetes Prow Robot
20fbf09c3e
Merge pull request #93551 from brianpursley/runtimeclass-e2e-fix
...
Remove special case for node e2e tests when expecting pod rejection
2020-07-30 23:53:06 -07:00
Kubernetes Prow Robot
62b8faed40
Merge pull request #93539 from Jefftree/conformance-format
...
Update formatting of conformance comment
2020-07-30 22:11:07 -07:00
Kubernetes Prow Robot
debcc37798
Merge pull request #93327 from aojea/dnsipv6
...
e2e dns test autodetect the IP family
2020-07-30 18:39:09 -07:00
James Sturtevant
faa84d61c7
mark this test serial due to race conditions
2020-07-30 15:41:22 -07:00
Jordan Liggitt
2cea9c5d51
Clean up daemonset test names
2020-07-30 17:33:38 -04:00
Hemant Kumar
20934d7e50
Create service for gluster endpoint
...
Creating an endpoint without a service can cause endpoint to disappear
https://github.com/kubernetes/kubernetes/issues/12964
2020-07-30 16:34:11 -04:00
Jordan Liggitt
c866cb7dd0
Make verify-typecheck detect errors better
2020-07-30 13:23:34 -04:00
Jordan Liggitt
7cbdb4fb14
Limit typecheck parallelism by default
2020-07-30 11:10:08 -04:00
Kubernetes Prow Robot
9af4ad5c45
Merge pull request #93550 from Huang-Wei/refix-postfilter-flake
...
Deflake scheduler PostFilter and Filter integration test
2020-07-30 04:30:31 -07:00
Luigi Bitonti
19793bd3fa
Update k8s.io/utils dependency and use ebtables from there
2020-07-30 08:58:21 +01:00
Yecheng Fu
930409c993
integration: Wait for PV to be available
2020-07-30 13:37:20 +08:00
Jefftree
fca714f4b7
Fix conformance ordering
2020-07-29 20:50:45 -07:00
Jefftree
ace97738e2
Update formatting of conformance comment
2020-07-29 20:50:44 -07:00
Brian Pursley
6029346d0d
Remove special case for node e2e tests when expecting pod rejection
2020-07-29 22:28:03 -04:00
Wei Huang
539272cb73
Deflake scheduler PostFilter and Filter integration test
...
- Revert "Fix integration test flake on TestFilter and TestPostFilter"
This reverts commit 94fc18c2dc
.
- Relax checking logic on expected Filter/PostFilter counters.
2020-07-29 18:37:47 -07:00
Wei Huang
0e71facefe
Hold Pod in cache until all other cleanup work is completed
...
- Move "ForgetPod" after "RunReservePluginsUnreserve", so that the cache would hold the pod to
avoid it's being retried simutaneously until Unreserve is completed.
- Move "assume" ahead of "RunReservePluginsReserve". This is based on the fact that "ForgetPod" is
the last step of failure path, so "assume" should be reversly treated as the first step. The
current failure path is like this:
assume -> reserve -> unreserve -> forgetPod -> recordingFailure
- Make subtests of TestReservePluginUnreserve stateless
2020-07-29 11:27:19 -07:00
Kubernetes Prow Robot
d3edcb7924
Merge pull request #93490 from Huang-Wei/flake-post-filter
...
Fix integration test flake on TestFilter and TestPostFilter
2020-07-29 08:59:48 -07:00
Kubernetes Prow Robot
aec30be5b3
Merge pull request #93433 from dcbw/netexec-errors
...
agnhost/netexec: logging cleanup and print more verbose errors
2020-07-28 21:04:01 -07:00
Kubernetes Prow Robot
01ae0ae8c6
Merge pull request #93429 from sjenning/fix-examples-template
...
e2e: examples: fix test image reference
2020-07-28 21:03:47 -07:00
Wei Huang
94fc18c2dc
Fix integration test flake on TestFilter and TestPostFilter
2020-07-28 20:51:01 -07:00
Kubernetes Prow Robot
f105cfc210
Merge pull request #93487 from ii/fix-missing-e2e-test-metadata
...
Add missing release metadata for e2e tests
2020-07-28 19:26:10 -07:00
Kubernetes Prow Robot
5ca6d567c4
Merge pull request #93086 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-test
...
Promote Delete Collection Pods e2e test to conformance +1 endpoint coverage
2020-07-28 19:25:48 -07:00
Kubernetes Prow Robot
d2d8c63a87
Merge pull request #90939 from ii/ii-promote-endpoint-resource-lifecycle-test
...
Promote Endpoints resource lifecycle test - +4 endpoint coverage
2020-07-28 16:31:47 -07:00
Caleb Woodbine
0a6dc830da
Fix label reference in deployment checks
2020-07-29 10:33:21 +12:00
Kubernetes Prow Robot
22329fbe13
Merge pull request #93495 from Huang-Wei/flake-node-affinity-priority
...
Fix an integration test flake on NodeAfffinity ScorePlugin
2020-07-28 14:21:47 -07:00
Caleb Woodbine
d4540f2b40
Update readiness checks
2020-07-29 08:54:55 +12:00
Caleb Woodbine
29664dd77e
Update ready condition
2020-07-29 08:46:00 +12:00
Kubernetes Prow Robot
498b1e2279
Merge pull request #93491 from robscott/endpointslice-test-logging
...
Improving logging in EndpointSlice e2e tests
2020-07-28 10:09:48 -07:00
Wei Huang
862fdaaf79
Fix an integration test flake on NodeAfffinity ScorePlugin
2020-07-28 08:57:02 -07:00
Kubernetes Prow Robot
8d74486a6a
Merge pull request #93497 from robscott/endpointslicemirroring-integration-fix
...
Increasing allowed delay for EndpointSlice mirroring integration tests
2020-07-28 04:13:08 -07:00
Rob Scott
eb196be139
Increasing allowed delay for EndpointSlice mirroring integration tests.
...
The shorter 5s delay had become a source of flakes.
2020-07-27 21:43:15 -07:00
Rob Scott
6051a16edd
Improving logging in EndpointSlice e2e tests
...
When these tests failed it was unclear that the reason for the failure
could have been more EndpointSlices than expected. It was also unclear
what EndpointSlices were actually found when that occurred. This fixes
both of those issues.
2020-07-27 21:36:51 -07:00
Wei Huang
8936f9e4bf
Fix integration test flake on TestScorePlugin
2020-07-27 18:13:38 -07:00
Stephen Heywood
1077a9e862
Add missing release metadata for e2e tests
2020-07-27 21:56:49 +00:00
Kubernetes Prow Robot
00da04ba23
Merge pull request #92163 from knight42/fix/large-cluster-network-e2e
...
fix(e2e::network): eliminate the dependency of external ips
2020-07-27 07:30:17 -07:00
Caleb Woodbine
875dddf2ba
Create Deployment resource lifecycle test
2020-07-27 16:26:39 +12:00
yue9944882
40f3242cd9
apf integration test: ensure no rejection
2020-07-27 10:42:37 +08:00
Caleb Woodbine
e311df70e1
Promote Endpoint resource lifecycle test
2020-07-27 09:11:42 +12:00
Jordan Liggitt
f33dc28094
generated: hack/update-hack-tools.sh && hack/update-vendor.sh
2020-07-25 16:45:02 -04:00
Stephen Augustus
479249b3a3
[go1.15] dependencies.yaml: Update to go1.15rc1
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:02 -04:00
Stephen Augustus
05ffc95347
[go1.15] Remove client support for darwin/386
...
Removed in go1.15 (GH/golang/go/issues/37610).
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:01 -04:00
Kubernetes Prow Robot
17a2e5e990
Merge pull request #93402 from robscott/endpointslice-test-fix
...
Updating EndpointSlice e2e tests to be less flaky and easier to debug
2020-07-25 12:20:16 -07:00
Kubernetes Prow Robot
7348ab957c
Merge pull request #93356 from justaugustus/vdf
...
[VDF] Normalize container image references to k8s.gcr.io
2020-07-25 02:58:17 -07:00
Kubernetes Prow Robot
54e2070722
Merge pull request #93410 from nikhita/apimachinery-triage-labels
...
Don't apply triage/needs-information on apimachinery and instrumentation PRs
2020-07-24 19:08:16 -07:00
Kubernetes Prow Robot
c0a4d4b0b6
Merge pull request #93427 from liggitt/default-ingress-class
...
Mark default ingressclass tests serial, do not set default ingressclass in conformance
2020-07-24 14:26:30 -07:00
Kubernetes Prow Robot
6f7b6b6d13
Merge pull request #93426 from liggitt/test-certs
...
Add subjectAltName to test serving certificates
2020-07-24 14:26:16 -07:00
Dan Williams
31c563a46f
agnhost/netexec: logging cleanup and print more verbose errors
...
There's currently no way to know whether an error is for SCTP or
UDP, for example:
Jul 24 09:55:54.469: INFO: netserver-0[e2e-nettest-3476].container[webserver].log
2020/07/24 09:53:52 Started UDP server
2020/07/24 09:53:52 Error occurred. error:protocol not supported
In this case the "Error occurred. error:protocol not supported" is
actually for the SCTP socket. Make that more apparent.
2020-07-24 14:40:58 -05:00
Rob Scott
3e4745ddaf
Updating EndpointSlice e2e tests to be less flaky and easier to debug
...
This adjusts tests that were waiting for Pods to be ready to instead
just wait for them to have IPs assigned to them. This relies on the
associated publishNotReadyAddresses field on Services. Additionally this
increases the the length of time we'll wait for EndpointSlices to be garbage
collected from 12s to 30s. Finally, this adds additional logging to
ExpectNoError calls so it's easier to understand where and why a test
failed.
2020-07-24 10:35:13 -07:00
Seth Jennings
78bdf89e50
e2e: examples: fix test image reference
2020-07-24 11:22:20 -05:00
Jordan Liggitt
4c203fd96e
Mark default ingressclass tests serial, do not set default ingressclass in conformance
2020-07-24 12:12:20 -04:00
Nikhita Raghunath
3a74f461a2
Revert "Merge pull request #93160 from logicalhan/triage-instrumentation"
...
This reverts commit 1ed2cf1895
, reversing
changes made to 04ecdb9eb6
.
2020-07-24 18:09:07 +05:30
Kubernetes Prow Robot
607c5daabd
Merge pull request #93405 from liggitt/revert-pod-lifecycle-flake
...
Revert "Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 04:30:22 -07:00
Kubernetes Prow Robot
55476fb872
Merge pull request #93373 from liggitt/deflake-pod-collection
...
Delete pod collection immediately
2020-07-24 02:08:22 -07:00
Nikhita Raghunath
c00dae0607
Revert "Merge pull request #93156 from logicalhan/triage-api-machinery"
...
This reverts commit 32438cf269
, reversing
changes made to bb6a6aa391
.
2020-07-24 13:01:02 +05:30
Jordan Liggitt
3fa8b15636
Revert "Merge pull request 92589 from ii/create-deployment-resource-lifecycle-test"
2020-07-24 00:30:13 -04:00
Jordan Liggitt
bf6f87c637
Revert "Merge pull request 90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 00:24:27 -04:00
Kubernetes Prow Robot
8a3fc2d7e2
Merge pull request #92589 from ii/create-deployment-resource-lifecycle-test
...
Create AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-07-23 19:30:23 -07:00
Jordan Liggitt
c778008420
Shorten watch restart test, run in parallel
2020-07-23 17:17:29 -04:00
Kubernetes Prow Robot
8e5c02255c
Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test
...
Create Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-07-23 13:54:23 -07:00
Jordan Liggitt
acce8871d6
Add subjectAltName to test serving certificates
2020-07-23 15:57:44 -04:00
Kubernetes Prow Robot
1ed2cf1895
Merge pull request #93160 from logicalhan/triage-instrumentation
...
auto triage sig-instrumentation tagged PRs
2020-07-23 11:19:26 -07:00
Kubernetes Prow Robot
04ecdb9eb6
Merge pull request #93332 from hasheddan/wait-for-owned
...
Wait for resources owned by pod to be cleaned up in sig-storage tests
2020-07-23 08:59:40 -07:00
Artyom Lukianov
ab7acb9ee3
e2e node: fix kubelet service restart failure
...
Under e2e tests possible the situation when we restart the kubelet
number of times in the short time frame. When it happens the systemd
can fail the service restart with the `Failed with result 'start-limit-hit'.`
error.
To avoid this situation the code will reset the kubelet service start failures
on each call to the kubelet restart command.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2020-07-23 10:56:32 +03:00
Kubernetes Prow Robot
09e2230951
Merge pull request #92891 from ii/update-and-improve-endpoint-resource-lifecycle-test
...
Update and improve Endpoints resource lifecycle test
2020-07-23 00:31:40 -07:00
Kubernetes Prow Robot
77d5f10b82
Merge pull request #93340 from liggitt/test-name
...
Stabilize integration test names
2020-07-22 23:09:39 -07:00
Jordan Liggitt
6ef0fa6244
Delete pod collection immediately
2020-07-23 00:01:46 -04:00
Caleb Woodbine
642bed3c6c
Update test images to use conformance images
2020-07-23 14:13:40 +12:00
Caleb Woodbine
ee29022ac8
Update test images to use conformance images
2020-07-23 14:07:01 +12:00
hasheddan
efe3747c22
Wait for resources owned by pod to be cleaned up in ephemeral volume tests
...
sig-storage tests that delete pods need to wait for owned resources to
also be cleaned up before returning in the case that resources such as
ephemeral inline volumes are being used. This was previously implemented
by modifying the pod delete call of the e2e framework, which negatively
impacted other tests. This was reverted and now the logic has been moved
to StopPodAndDependents, which is local to the sig-storage tests.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-22 17:52:19 -05:00
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
mlmhl
3e57d8aed5
fix kubemark e2e script
2020-06-10 13:20:50 +08: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