Commit Graph

19803 Commits

Author SHA1 Message Date
Minhan Xia
e9ef140c3c mark ingress neg test flaky 2021-03-04 10:17:21 -08:00
David Eads
aeb6508e1e stop using rbac beta in integration tests 2021-03-04 12:57:52 -05:00
Han Kang
5bc56ef4e6 add myself to owners for etcd metrics 2021-03-04 09:26:32 -08:00
Kubernetes Prow Robot
5bf49baf71
Merge pull request #99558 from BenTheElder/gen-conformance-md
add test/conformance/gen-conformance-docs.sh
2021-03-04 06:42:21 -08:00
Urvashi Mohnani
ca99aa587d Move CRIContainerLogRotation to GA
Graduate the CRIContainerLogRotation feature gate
from beta to GA.

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2021-03-04 09:40:02 -05:00
Kubernetes Prow Robot
9d34bfd601
Merge pull request #99736 from deads2k/beta-policy
clean usage of admissionregistration/v1beta1 from integration tests
2021-03-04 05:42:22 -08:00
Maciej Szulik
da19e5b258
Clean unused generators 2021-03-04 13:58:44 +01:00
Kubernetes Prow Robot
2e39df89ac
Merge pull request #97743 from dims/support-m1-macbook-darwin/arm64-as-client
Support M1 MacBooks darwin/arm64 on the client-side
2021-03-04 04:18:09 -08:00
Paco Xu
061579dafc
job-e2e: wait exceeds active deadline for 15s 2021-03-04 18:55:52 +08:00
Kubernetes Prow Robot
e96b29b77d
Merge pull request #99700 from wojtek-t/cleanup_describe_12
Remove KubeDescribe
2021-03-04 02:08:32 -08:00
Kubernetes Prow Robot
f13c70e864
Merge pull request #99710 from wojtek-t/cleanup_describe_15
Remove nested SIGDescribe calls
2021-03-04 00:29:47 -08:00
Kubernetes Prow Robot
fd95f6f4ae
Merge pull request #99709 from wojtek-t/cleanup_describe_14
Make sig-storage be the owner of ubernetes_lite_volumes test
2021-03-04 00:29:39 -08:00
Kubernetes Prow Robot
f19f8fd18a
Merge pull request #99657 from deads2k/beta-csr-01
remove csr v1beta1 usage in integration tests
2021-03-04 00:28:46 -08:00
Kubernetes Prow Robot
e645472425
Merge pull request #98582 from ahg-g/ahg-scope
Implements CrossNamespacePodAffinity quota scope
2021-03-04 00:28:12 -08:00
wojtekt
d4883f532e Remove KubeDescribe 2021-03-04 07:54:53 +01:00
Kubernetes Prow Robot
da9ea2ea73
Merge pull request #99684 from wojtek-t/cleanup_describe_11
Cleanup test/e2e/common directory - part2
2021-03-03 21:31:59 -08:00
Abdullah Gharaibeh
3c5f018f8e Add CrossNamespacePodAffinity quota scope and PodAffinityTerm.NamespaceSelector APIs, and CrossNamespacePodAffinity quota scope implementation. 2021-03-03 22:52:43 -05:00
Kubernetes Prow Robot
7b0ad65d4d
Merge pull request #99288 from supriya-premkumar/ineffassign
Adds ineffassign to GO linter script.
2021-03-03 14:40:46 -08:00
David Eads
f3597cbf2a clean usage of admissionregistration/v1beta1 from tests 2021-03-03 17:39:31 -05:00
David Eads
a473ef6c0a use direct etcd creation to verify migrated v1beta1 admissionwebhooks 2021-03-03 17:33:27 -05:00
David Eads
fe8d8c2fda remove test usage of apiregistration/v1beta1 2021-03-03 17:26:02 -05:00
David Eads
fa1c57d34d update print test to remove beta dependencies 2021-03-03 17:26:02 -05:00
David Eads
58c42b7e94 move CSR v1beta1 behavior tests to a single file to remove for 1.22 2021-03-03 15:27:37 -05:00
Kubernetes Prow Robot
076bd6c401
Merge pull request #97069 from pohly/embedded-csi-mock-driver
e2e storage: embedded csi mock driver
2021-03-03 12:11:50 -08:00
James Sturtevant
1ed2b287e3 include nltest in the windows busybox image 2021-03-03 11:01:18 -08:00
Linus Arver
85d5ebef4a remove listx from OWNERS 2021-03-03 08:53:27 -08:00
Kubernetes Prow Robot
2f263b24a7
Merge pull request #99101 from deads2k/crd-beta-prune
stop using CRD v1beta1 in tests
2021-03-03 08:39:21 -08:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
Changes:
 - Enables ineffassign check in the verify scripts.
 - Fixes lint errs.
2021-03-03 08:28:10 -08:00
Wei Huang
1e5878b910
Introduce a churnOp to scheduler perf testing framework
- support two modes: recreate and create
- use DynmaicClient to create API objects
2021-03-03 06:51:53 -08:00
wojtekt
f277e4d32a Remove nested SIGDescribe calls 2021-03-03 15:25:07 +01:00
wojtekt
006dc7477f Make sig-storage be the owner of ubernetes_lite_volumes test 2021-03-03 15:17:28 +01:00
wojtekt
ca333d7a7a Tag storage windows tests with [Feature:Windows] instead of [sig-windows] 2021-03-03 12:08:59 +01:00
wojtekt
3b438eb4e5 Cleanup test/e2e/common directory - part2 2021-03-03 10:27:35 +01:00
scott
d258e005e8 add client-side detection of a successful timeout case to include the connection reset 2021-03-03 10:15:57 +08:00
llhuii
f713cbc4a4 Remove unused code in e2e/framework/framework.go 2021-03-03 10:03:21 +08:00
Kubernetes Prow Robot
452aff5fca
Merge pull request #99492 from wojtek-t/cleanup_describe_7
Assign remaining test/e2e/common test to SIGs
2021-03-02 17:51:19 -08:00
Davanum Srinivas
f719624654
Support M1 MacBooks darwin/arm64 on the client-side
testing using:
```
build/run.sh make generated_files && make quick-release-images
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-02 20:50:00 -05:00
Kubernetes Prow Robot
a5c3b24dba
Merge pull request #99631 from claudiubelu/patch-5
test images: Adds label to httpd-new image
2021-03-02 13:23:32 -08:00
David Eads
b90179e0f2 write CRD validation function only valid in beta1 direct to etcd to test apply on migrated data 2021-03-02 15:57:57 -05:00
wojtekt
f4407f4db8 Assign remaining test/e2e/common test to SIGs 2021-03-02 21:34:58 +01:00
David Eads
fd8e81eba4 remove csr v1beta1 usage 2021-03-02 15:31:21 -05:00
Kubernetes Prow Robot
4a56d8c19a
Merge pull request #99103 from liggitt/prefer-v1
Prefer v1 storage versions
2021-03-02 12:15:48 -08:00
Kubernetes Prow Robot
5b8c1b27c1
Merge pull request #98983 from navidshaikh/pr/98326-leftover-part
test/e2e: Move tests into test/e2e/node package
2021-03-02 12:15:40 -08:00
Kubernetes Prow Robot
b5c6241f1f
Merge pull request #97775 from ankeesler/exec-plugin-integration-test
exec credential provider: first integration test (static auth interaction)
2021-03-02 12:15:19 -08:00
David Eads
734e9b7dd6 fix up CRD validation tests 2021-03-02 14:34:41 -05:00
David Eads
06eb2f5d41 switch apiserver integration tests to CRD v1 2021-03-02 14:34:41 -05:00
David Eads
c72b4b3f89 coerce apply tests to CRD v1. skip CRDs that are no longer valid 2021-03-02 14:34:41 -05:00
David Eads
b261364025 try to tidy up crd v1beta1 usage 2021-03-02 14:34:41 -05:00
Sascha Grunert
0d22571519
Remove check for apparmor_parser in AppArmor host validation
The `apparmor_parser` binary is not really required for a system to run
AppArmor from a Kubernetes perspective. How to apply the profile is more
in the responsibility of lower level runtimes like CRI-O and containerd,
which may do the binary check on their own.

This synchronizes the current libcontainer implementation with the
vendored Kubernetes source code and allows distributions to use
AppArmor, even when they do not have the parser available in
`/sbin/apparmor_parser`.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-03-02 18:40:14 +01:00
Jordan Liggitt
4515889574 Prefer v1 storage versions 2021-03-02 12:06:13 -05:00
Artyom Lukianov
ef3e0fd02f e2e node: wait for kubelet health check to pass after kubelet restart
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-03-02 14:48:03 +02:00
Artyom Lukianov
a6b4868b8d e2e node: stop kubelet service instead of restarting it
The server service monitors the kubelet service and restart it
once the service is down, to avoid kubelet double restarting
we will stop the kubelet service and wait until the kubelet will be
restarted and the node will be ready.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-03-02 14:48:03 +02:00
Claudiu Belu
4f8084e3e0
test images: Adds label to httpd-new image
Adds a label to the httpd-new image, so a new SHA gets generated, so it can be pushed to staging.
2021-03-02 11:36:00 +02:00
Stephen Augustus
274133fe11 [go1.16] Update to go1.16
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Navid Shaikh
e61f790eac test/e2e: Move tests into test/e2e/node package
- assign sig-node ownership
 - Fix import aliases in test/e2e/node/examples.go
 - Fix merge conflicts in test/e2e/BUILD

Signed-off-by: Navid Shaikh <shaikhnavid14@gmail.com>
2021-03-02 10:05:53 +05:30
Kubernetes Prow Robot
4eca18b6b0
Merge pull request #99447 from lala123912/log-sanitization
typo fixed for terminatation
2021-03-01 19:23:58 -08:00
Kubernetes Prow Robot
7d2dbc5655
Merge pull request #99346 from mauriciopoppe/fix/storage-cloning-e2e
Avoid creation of the same storageclass in e2e tests
2021-03-01 19:23:45 -08:00
Kubernetes Prow Robot
be2a2988a0
Merge pull request #99609 from claudiubelu/test-images/same-sha
test images: Generates new SHAs for mirrored images
2021-03-01 17:13:33 -08:00
Stephen Heywood
3e9c44f00e Add lifecycle e2e test for service status
e2e test validates the following service status endpoints
- patchCoreV1NamespacedServiceStatus
- readCoreV1NamespacedServiceStatus
- replaceCoreV1NamespacedServiceStatus

Also includes untested service endpoint
- patchCoreV1NamespacedService
2021-03-02 12:05:52 +13:00
Kubernetes Prow Robot
0ced9d2854
Merge pull request #99498 from gavinfish/sched-preempthandle
Scheduler: unroll PreemptHandle to Handle
2021-03-01 13:58:28 -08:00
Claudiu Belu
d5cf7f652b test images: Generates new SHAs for mirrored images
The same SHA cannot be pushed twice to the staging registry. Because some images were
mirrored, their SHAs remained unchanged. This addresses this issue.
2021-03-01 20:18:06 +00:00
Mauricio Poppe
432928b673 Skip creation of the same storageclass in e2e tests 2021-03-01 20:15:54 +00:00
Andrew Keesler
8834aa133c
exec credential provider: first integration test (static auth interaction)
I also added some simple happy/sad path tests so we get some coverage at the
integration level.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-03-01 14:33:48 -05:00
Kevin Wiesmueller
98d498117b only use managedFields decoding for admission check 2021-03-01 20:29:15 +01:00
Kevin Wiesmueller
ba2f6104f6 add warning check to managedFields integration test 2021-03-01 19:59:59 +01:00
Kevin Wiesmueller
711f2dab47 fix test 2021-03-01 19:59:58 +01:00
Kevin Wiesmueller
ffbae9c5b4 disable webhook for testing 2021-03-01 19:59:55 +01:00
Kevin Wiesmueller
f18d21d6eb test managedFields admission validation 2021-03-01 19:59:06 +01:00
Patrick Ohly
06ffdbc784 e2e test: use one connection per stream
Sharing the same connection for multiple streams should have worked,
but ran into unexpected timeouts:

I0227 08:07:49.754263   80029 portproxy.go:109] container "mock" in pod csi-mock-volumes-4037-2061/csi-mockplugin-0 is running
E0227 08:07:49.779359   80029 portproxy.go:178] prepare forwarding csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: dialer failed: unable to upgrade connection: pod not found ("csi-mockplugin-0_csi-mock-volumes-4037-2061")
I0227 08:07:50.782705   80029 portproxy.go:109] container "mock" in pod csi-mock-volumes-4037-2061/csi-mockplugin-0 is running
I0227 08:07:50.809326   80029 portproxy.go:125] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: starting connection polling
I0227 08:07:50.909544   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #0, 0 open
I0227 08:07:50.912436   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #0
I0227 08:07:50.912503   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #0
I0227 08:07:50.913161   80029 portproxy.go:322] forward connection #0 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
E0227 08:07:50.913324   80029 portproxy.go:242] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: an error occurred connecting to the remote port: error forwarding port 9000 to pod 66662ea1ab30b4193dac0102c49be840971d337c802cc0c8bbc074214522bd13, uid : failed to execute portforward in network namespace "/var/run/netns/cni-c15e4e36-dad9-8316-c301-33af9dad5717": failed to dial 9000: dial tcp4 127.0.0.1:9000: connect: connection refused
I0227 08:07:50.913371   80029 portproxy.go:340] forward connection #0 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:07:50.913487   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
I0227 08:07:51.009519   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #1, 0 open
I0227 08:07:51.011912   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #1
I0227 08:07:51.011973   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #1
I0227 08:07:51.013677   80029 portproxy.go:322] forward connection #1 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:07:51.013720   80029 portproxy.go:340] forward connection #1 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:07:51.013794   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
E0227 08:07:51.017026   80029 portproxy.go:242] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: an error occurred connecting to the remote port: error forwarding port 9000 to pod 66662ea1ab30b4193dac0102c49be840971d337c802cc0c8bbc074214522bd13, uid : failed to execute portforward in network namespace "/var/run/netns/cni-c15e4e36-dad9-8316-c301-33af9dad5717": failed to dial 9000: dial tcp4 127.0.0.1:9000: connect: connection refused
I0227 08:07:51.109515   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #2, 0 open
I0227 08:07:51.111479   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #2
I0227 08:07:51.111519   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #2
I0227 08:07:51.209519   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #3, 1 open
I0227 08:07:51.766305   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/Probe","Request":{},"Response":{"ready":{"value":true}},"Error":"","FullError":null}
I0227 08:07:51.768304   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/GetPluginInfo","Request":{},"Response":{"name":"csi-mock-csi-mock-volumes-4037","vendor_version":"0.3.0","manifest":{"url":"https://k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock"}},"Error":"","FullError":null}
I0227 08:07:51.770494   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/GetPluginCapabilities","Request":{},"Response":{"capabilities":[{"Type":{"Service":{"type":1}}},{"Type":{"VolumeExpansion":{"type":1}}},{"Type":{"Service":{"type":2}}}]},"Error":"","FullError":null}
I0227 08:07:51.772899   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Controller/ControllerGetCapabilities","Request":{},"Response":{"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":3}}},{"Type":{"Rpc":{"type":10}}},{"Type":{"Rpc":{"type":4}}},{"Type":{"Rpc":{"type":6}}},{"Type":{"Rpc":{"type":5}}},{"Type":{"Rpc":{"type":8}}},{"Type":{"Rpc":{"type":7}}},{"Type":{"Rpc":{"type":12}}},{"Type":{"Rpc":{"type":11}}},{"Type":{"Rpc":{"type":9}}}]},"Error":"","FullError":null}
I0227 08:08:21.209901   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:08:21.209980   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #3, 1 open
I0227 08:08:51.211522   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:08:51.211566   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #3, 1 open
I0227 08:08:51.213451   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #3
I0227 08:08:51.213498   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #3
I0227 08:08:51.309540   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #4, 2 open
I0227 08:08:52.215358   80029 portproxy.go:322] forward connection #3 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:08:52.215475   80029 portproxy.go:340] forward connection #3 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:09:21.310003   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:09:21.310086   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #4, 1 open
I0227 08:09:51.311854   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:09:51.311908   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #4, 1 open
I0227 08:09:51.314415   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #4
I0227 08:09:51.314497   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #4
I0227 08:09:51.409527   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #5, 2 open
I0227 08:09:52.326203   80029 portproxy.go:322] forward connection #4 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:09:52.326277   80029 portproxy.go:340] forward connection #4 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:10:21.409892   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:10:21.409954   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #5, 1 open
I0227 08:10:51.411455   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:10:51.411557   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #5, 1 open
I0227 08:10:51.413229   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #5
I0227 08:10:51.413274   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #5
I0227 08:10:51.509508   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #6, 2 open
I0227 08:10:52.414862   80029 portproxy.go:322] forward connection #5 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:10:52.414931   80029 portproxy.go:340] forward connection #5 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:11:21.509879   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:11:21.509934   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #6, 1 open
I0227 08:11:51.511519   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:11:51.511568   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #6, 1 open
I0227 08:11:51.513519   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #6
I0227 08:11:51.513571   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #6
I0227 08:11:51.609504   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #7, 2 open
I0227 08:11:52.517799   80029 portproxy.go:322] forward connection #6 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:11:52.517918   80029 portproxy.go:340] forward connection #6 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:12:21.609856   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:12:21.609909   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #7, 1 open
I0227 08:12:51.611494   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:12:51.611555   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #7, 1 open
I0227 08:12:51.613289   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #7
I0227 08:12:51.613343   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #7
I0227 08:12:51.709535   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #8, 2 open
I0227 08:12:52.615858   80029 portproxy.go:322] forward connection #7 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:12:52.615989   80029 portproxy.go:340] forward connection #7 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:12:52.616116   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
I0227 08:13:21.709934   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:13:21.709997   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #8, 1 open
Feb 27 08:13:30.916: FAIL: Failed to register CSIDriver csi-mock-csi-mock-volumes-4037
Unexpected error:
    <*errors.errorString | 0xc002666220>: {
        s: "error waiting for CSI driver csi-mock-csi-mock-volumes-4037 registration on node kind-worker2: timed out waiting for the condition",
    }
    error waiting for CSI driver csi-mock-csi-mock-volumes-4037 registration on node kind-worker2: timed out waiting for the condition
occurred
2021-03-01 19:22:37 +01:00
Patrick Ohly
5089af1f23 e2e test: relax CSI call expectations
NodeUnstageVolume and DeleteVolume are not necessarily ordered and in
practice, DeleteVolume was indeed encountered first after changing the
timing by embedding the CSI driver:

Kubernetes e2e suite: [sig-storage] CSI mock volume storage capacity exhausted, immediate binding expand_less 	7m34s
test/e2e/storage/csi_mock_volume.go:953
Feb 26 18:34:04.037: while waiting for all CSI calls
Unexpected error:
    <*errors.errorString | 0xc00322b9c0>: {
        s: "error waiting for expected CSI calls: Unexpected CSI call 3: expected NodeUnstageVolume (0), got DeleteVolume (0)",
    }
    error waiting for expected CSI calls: Unexpected CSI call 3: expected NodeUnstageVolume (0), got DeleteVolume (0)
occurred
test/e2e/storage/csi_mock_volume.go:1045
2021-03-01 19:22:37 +01:00
Patrick Ohly
baecaa8209 e2e test: log gRPC calls in embedded CSI driver
It is useful to see all calls as they occur. The output format is
the more readable JSON representation.
2021-03-01 19:22:37 +01:00
Patrick Ohly
d43308e64c e2e storage: simpler port forwarding
Instead of trying to use the client-go portforward package as-is it is
simpler to copy some code from it and then use the http stream
directly. That way we don't need to go through a local listening
socket and error handling and logging becomes simpler.
2021-03-01 19:22:37 +01:00
Patrick Ohly
3adcf11b45 e2e storage: use embedded mock CSI driver
This replaces embedding of JavaScript code into the mock driver that
runs inside the cluster with Go callbacks which run inside the
e2e.test suite itself. In contrast to the JavaScript hooks, they have
direct access to all parameters and can fabricate arbitrary responses,
not just error codes.

Because the callbacks run in the same process as the test itself, it
is possible to set up two-way communication via shared variables or
channels. This opens the door for writing better tests. Some of the
existing tests that poll mock driver output could be simplified, but
that can be addressed later.

For now, only tests using hooks use embedding. How gRPC calls are
retrieved is abstracted behind the CSIMockTestDriver interface, so
tests don't need to be modified when switching between embedding
and remote mock driver.
2021-03-01 19:22:37 +01:00
Patrick Ohly
92bac8afc1 mock driver: fix no-op setDefaultCreds
The function must modify the content of the "creds" pointer, not the
pointer.

Found via hack/verify-staticcheck.sh after importing the code into
Kubernetes. It is uncertain whether this bug had any consequences.
2021-03-01 19:22:37 +01:00
Patrick Ohly
a2a34bb744 mock driver fixes 2021-03-01 19:22:37 +01:00
Patrick Ohly
ab365c091c mock driver: replace logrus with klog
klog now has structured logging.
2021-03-01 19:22:37 +01:00
Patrick Ohly
df6d3bc7dd CSI mock driver: fix faulty error message
Caught by verify-typecheck.sh after importing the code into
Kubernetes:

ERROR(linux/arm): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:404:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(linux/arm): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:795:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(linux/386): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:404:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(linux/386): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:795:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(windows/386): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:404:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(windows/386):
/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:795:20:
math.MaxUint32 (untyped int constant 4294967295) overflows int

Instead of producing our own error message, we can show the original
value and the error from strconv.
2021-03-01 19:22:37 +01:00
Patrick Ohly
7008196093 csi-test: import copyright clarification
The code originates in csi-test and this copyright change was made by
the original author in https://github.com/kubernetes-csi/csi-test/pull/324
2021-03-01 19:22:37 +01:00
Patrick Ohly
7f2b438020 e2e: import csi-test mock driver
This is a verbatim copy of the corresponding files in csi-test v4.0.2.

They'll be modified in future commits to make the code usable when
embedded in e2e.test. Some of those changes may be worthwhile
backporting to csi-test, but this is uncertain at this time.
2021-03-01 19:22:37 +01:00
Patrick Ohly
21ffdd1a28 test: update CSI mock driver
The new release properly checks for existence of the staging
directory. The names of the volumes are now the same as in
https://github.com/kubernetes-csi/csi-test/blob/master/mock/example/deploy/csi-mock-driver-deployment.yaml
2021-03-01 19:22:37 +01:00
Patrick Ohly
99248b1406 e2e: reduce worker threads during mock testing
We don't need much concurrency and having too many worker threads has
one disadvantage (besides resource usage): when the sidecar looses the
connection to the CSI driver, it calls klog.Fatal, which prints all
gouroutines. This can lead to much output.
2021-03-01 19:22:37 +01:00
Clayton Coleman
18f43e4120
daemonset: Implement MaxSurge on daemonset update
If MaxSurge is set, the controller will attempt to double up nodes
up to the allowed limit with a new pod, and then when the most recent
(by hash) pod is ready, trigger deletion on the old pod. If the old
pod goes unready before the new pod is ready, the old pod is immediately
deleted. If an old pod goes unready before a new pod is placed on that
node, a new pod is immediately added for that node even past the MaxSurge
limit.

The backoff clock is used consistently throughout the daemonset controller
as an injectable clock for the purposes of testing.
2021-03-01 13:21:12 -05:00
Kubernetes Prow Robot
5498ee641b
Merge pull request #99561 from BenTheElder/remove-bazel
Remove Bazel
2021-03-01 09:55:27 -08:00
Antonio Ojea
1b61f49995 fix e2e test kube-proxy tcp_wait 2021-03-01 00:54:57 +01:00
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
Benjamin Elder
5eedf2a0f1 nit: newlines 2021-02-28 13:04:21 -08:00
Benjamin Elder
5ed5a5fe25 add test/conformance/gen-conformance-docs.sh 2021-02-28 13:01:07 -08:00
Kubernetes Prow Robot
c410910c1f
Merge pull request #99512 from knabben/add-netpol-ports
Adding specific protocol network policy test
2021-02-28 07:36:39 -08:00
Kubernetes Prow Robot
a185bafa0c
Merge pull request #99549 from BenTheElder/conformance-make
conformance.yaml: generate with make
2021-02-28 05:30:39 -08:00
Benjamin Elder
025e6de3eb don't run generated_files when generating specsummaries.json 2021-02-28 00:54:54 -08:00
Benjamin Elder
ed09168e8a fix generated conformance filepaths when test binary is not stripped 2021-02-28 00:54:54 -08:00
Benjamin Elder
c1c3fdefe3 port conformance yaml generation to hack 2021-02-28 00:54:54 -08:00
wojtekt
749922fa46 Cleanup SIGDescribe in test/e2e/network 2021-02-27 20:29:27 +01:00
lala123912
5faa51e5d6 Replace top-level ginkgo.Describe with SIGDescribe 2021-02-27 14:26:36 +08:00
Kubernetes Prow Robot
f2d5ee2d2d
Merge pull request #99508 from wojtek-t/cleanup_describe_10
Move node_recreate test to cloud/gcp directory
2021-02-26 18:06:38 -08:00
Amim Knabben
20263a07a6 Added protocol specific netpol 2021-02-26 18:11:45 -05:00
Kubernetes Prow Robot
157c4bbf85
Merge pull request #99390 from pacoxu/use-random-node/e2e
[e2e] use random node to avoid node0 overloaded
2021-02-26 14:50:54 -08:00
Kubernetes Prow Robot
1428969a73
Merge pull request #96610 from andrewsykim/service-lb-node-port-e2e
test/integration: add integration tests for service.spec.allocateLoadBalancerNodePorts
2021-02-26 14:50:38 -08:00
wojtekt
4b98a9f1e6 Move node_recreate test to cloud/gcp directory 2021-02-26 21:47:27 +01:00
Kubernetes Prow Robot
e5e3c8d4f5
Merge pull request #99467 from wojtek-t/cleanup_describe_5
Remove KubeDescribe from SIGDescribe calls
2021-02-26 11:32:44 -08:00
Kubernetes Prow Robot
dbb6cfa7fb
Merge pull request #99445 from pohly/generic-ephemeral-volume-test
test: fix skipping of GenericEphemeralVolume volume type
2021-02-26 11:32:36 -08:00
drfish
38ad860c2f Unroll PreemptHandle to Handle 2021-02-27 00:44:05 +08:00
Kubernetes Prow Robot
43e8405d9c
Merge pull request #99434 from pacoxu/e2e/npe-fix
fix nil error e2e/network/kube_proxy.go
2021-02-26 05:34:15 -08:00
wojtekt
cad9957f95 Remove KubeDescribe from SIGDescribe calls 2021-02-26 08:49:25 +01:00
James Sturtevant
232a9ac892
Updating owners with sig-windows tech leads 2021-02-25 17:17:06 -08:00
Kubernetes Prow Robot
58052f4dff
Merge pull request #99469 from wojtek-t/cleanup_describe_6
Move common/volume.go test to the storage dir
2021-02-25 14:46:17 -08:00
Kubernetes Prow Robot
ca916183db
Merge pull request #99460 from wojtek-t/transfer_secrets_ownership
Align ownership of secret and configmap tests to sig-node
2021-02-25 13:52:56 -08:00
wojtekt
67de069dd1 Move common/volume.go test to the storage dir 2021-02-25 20:40:08 +01:00
Kubernetes Prow Robot
7791be16eb
Merge pull request #99450 from jkaniuk/revert-5m-dump
Revert "tests: Set a 5 minute timeout for kubectl cluster-info dump"
2021-02-25 10:01:53 -08:00
Kubernetes Prow Robot
8d42920e94
Merge pull request #99380 from ii/Riaankl_ReplicaSet
Write ReplicaSet Replace and Patch Test +2 Endpoints
2021-02-25 10:01:37 -08:00
Kubernetes Prow Robot
4fefc856db
Merge pull request #99213 from AliceZhang2016/affinity
parse pod's node affinity once in preFilter
2021-02-25 10:01:24 -08:00
Kubernetes Prow Robot
5feb39fdb3
Merge pull request #99458 from wojtek-t/cleanup_describe_1
Replace some nested KubeDescribe calls with ginkgo.Describe
2021-02-25 08:01:25 -08:00
wojtekt
8df355b80a Replace some nested KubeDescribe calls with ginkgo.Describe 2021-02-25 14:44:39 +01:00
wojtekt
22429ab642 Align ownership of secret and configmap tests to sig-node 2021-02-25 14:38:02 +01:00
Kubernetes Prow Robot
2b930d99bd
Merge pull request #99374 from wojtek-t/cleanup_describe_3
Cleanup tests/e2e/common directory - part 1
2021-02-25 05:13:25 -08:00
Jacek Kaniuk
f3f4d535d5 Revert "tests: Set a 5 minute timeout for kubectl cluster-info dump"
This reverts commit bc16100549.
2021-02-25 11:27:29 +01:00
lala123912
652f8fd3e9 typo fixed 2021-02-25 17:52:17 +08:00
Patrick Ohly
a255b74d11 test: fix skipping of GenericEphemeralVolume volume type
The test should run for test drivers which support dynamic
provisioning, but was skipped because of the volume type check:

External Storage [Driver: hostpath.csi.k8s.io]
[90m/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/external/external.go:175
  [Testpattern: Generic Ephemeral-volume (default fs) [Feature:GenericEphemeralVolume] (late-binding)] ephemeral
  [90m/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/framework/testsuite.go:50
    [36mshould support multiple inline ephemeral volumes [BeforeEach]
    [90m/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/testsuites/ephemeral.go:211

    [36mDriver "hostpath.csi.k8s.io" does not support volume type "GenericEphemeralVolume" - skipping

    /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/external/external.go:255
2021-02-25 10:09:40 +01:00
Alexander Minbaev
5b73122105 Fix typo in util.go 2021-02-25 00:54:37 -06:00
pacoxu
6b94cad4e9 fix nil error e2e/network/kube_proxy.go 2021-02-25 12:00:42 +08:00
pacoxu
9488decd5e use random node to avoid node0 overloaded 2021-02-25 11:10:02 +08:00
Mengxue Zhang
4fb8e343c0 parse pod's node affinity once in preFilter 2021-02-25 00:21:32 +00:00
Kubernetes Prow Robot
a7fe0bf8e5
Merge pull request #99403 from wojtek-t/move_gcp_tests
Move GKE tests to cloud/gcp package
2021-02-24 12:26:40 -08:00
Riaan Kleinhans
3e6ba4d2b1 Create ReplicaSet lifecycle test 2021-02-25 08:58:24 +13:00
wojtekt
7b2458ac01 Cleanup tests/e2e/common directory - part 1 2021-02-24 20:44:14 +01:00
wojtekt
eb0fce5672 Move GKE tests to cloud/gcp package 2021-02-24 20:37:22 +01:00
Kubernetes Prow Robot
6235ad8c74
Merge pull request #98373 from cynepco3hahue/e2e_fix_cpus_assumptions
e2e: fix CPU manager methods to be more flexible to different CPU topology
2021-02-24 11:11:03 -08:00
Kubernetes Prow Robot
bd902db13d
Merge pull request #98342 from cynepco3hahue/e2e_move_delete_state_file_to_after_each
e2e: move deleteState file to the AfterEach
2021-02-24 11:10:50 -08:00
Kubernetes Prow Robot
8f15f7cf5e
Merge pull request #99400 from wojtek-t/ttl_after_finished_test
Move TTLAfterFinished test to appropriate SIG
2021-02-24 08:53:02 -08:00
Kubernetes Prow Robot
a42ff247af
Merge pull request #90105 from xiaoanyunfei/cleanup/pkg_apis_core
Scheduler: remove pkg/apis/core/field_constants.go
2021-02-24 07:30:50 -08:00
wojtekt
9bcb480574 Move TTLAfterFinished test to appropriate SIG 2021-02-24 16:09:20 +01:00
Kubernetes Prow Robot
7322dff5b5
Merge pull request #99395 from claudiubelu/test-images/fixes-windows-nginx-entrypoints
test images: Fixes Windows nginx images entrypoints
2021-02-24 06:38:49 -08:00
Claudiu Belu
17fcda15c5 test images: Fixes Windows nginx images entrypoints
nginx expects to find its conf and logs folder locally, and fails if it cannot find them.
cd-ing into the the nginx folder solves this issue. This is a similar approach to the
echoserver image, which also uses nginx.
2021-02-24 10:58:38 +00:00
xiaofei.sun
fd62f32125 Scheduler: remove pkg/apis/core/field_constants.go 2021-02-24 18:06:29 +08:00
Kubernetes Prow Robot
267e47f548
Merge pull request #99130 from ayberk/ebs_ga_labels
Use GA topology labels for EBS
2021-02-23 23:48:49 -08:00
Kubernetes Prow Robot
9a8da9ee43
Merge pull request #97619 from andrewsykim/conformance-probe-tests
conformance: promote container exec probe timeout tests
2021-02-23 22:56:49 -08:00
Kubernetes Prow Robot
111b6866b7
Merge pull request #99087 from navidshaikh/pr/98236-sig-storage-e2e
test/e2e: Move gke local ssd tests to e2e/storage and assign sig ownership
2021-02-23 16:28:50 -08:00
Kubernetes Prow Robot
0612517d78
Merge pull request #99366 from enj/patch-2
Add enj back as test approver
2021-02-23 15:23:54 -08:00
Kubernetes Prow Robot
1db189eab2
Merge pull request #99316 from zshihang/conformance
promote RootCAConfigMap e2e test to Conformance
2021-02-23 15:23:46 -08:00
Kubernetes Prow Robot
d25df9c6f6
Merge pull request #99312 from aojea/localtraffic
e2e framework TestJig used for Service testing wasn't verifying UDP works
2021-02-23 15:23:28 -08:00
Kubernetes Prow Robot
462dbc17aa
Merge pull request #99282 from ii/Promote-ReplicaSetScale-Test
Promote Read, Replace and Patch ReplicaSetScale test to Conformance +3 endpoints
2021-02-23 15:23:19 -08:00
Kubernetes Prow Robot
f499d27535
Merge pull request #99281 from ii/Promote-DeploymentScale-Test
Promote Read, Replace and Patch DeploymentScale test to Conformance +3 endpoints
2021-02-23 15:23:12 -08:00
Kubernetes Prow Robot
a5f9f25540
Merge pull request #98645 from krmayankk/confomance
Promote RunAsGroup e2e test to Conformance
2021-02-23 15:22:51 -08:00
Kubernetes Prow Robot
9d7d3eb820
Merge pull request #99319 from wojtek-t/cleanup_describe_2
Mark remaining e2e_node tests with [sig-*] label
2021-02-23 12:00:50 -08:00
Navid Shaikh
3dd9b0e582 test/e2e: Move gke local ssd tests to e2e/storage
and assign SIG ownership of sig-storage

Signed-off-by: Navid Shaikh <shaikhnavid14@gmail.com>
2021-02-24 01:15:41 +05:30
wojtekt
a74737eb03 Mark remaining e2e_node tests with [sig-*] label 2021-02-23 20:11:09 +01:00
Mo Khan
2dc2ecf20a
Add enj back as test approver
I promise to be more involved this time :)
2021-02-23 12:28:30 -05:00
Kubernetes Prow Robot
6cacfe9e3a
Merge pull request #99314 from soltysh/cronjob_e2e_api
cronjob: Add CRUD tests for CronJob API verbs
2021-02-23 07:50:03 -08:00
Kubernetes Prow Robot
3378bb996c
Merge pull request #99313 from neolit123/1.21-update-kubeadm-owners
kubeadm: include appovers under reviewers in OWNERS
2021-02-22 23:48:03 -08:00
chymy
c32793a4c9 Remove unused code in test/e2e/{upgrades,storage,network}
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-23 02:45:51 -05:00
Kubernetes Prow Robot
16b909ce14
Merge pull request #99320 from aojea/storagepodtimeout
increase pod start timeout for storage tests
2021-02-22 17:24:48 -08:00
Kubernetes Prow Robot
d6c7476ab3
Merge pull request #99155 from soltysh/convert_release
Add kubectl-convert to client-binaries
2021-02-22 17:24:15 -08:00
Kubernetes Prow Robot
186f934e4c
Merge pull request #98346 from mortent/checkForScalePDBs
Check if resources implement scale in disruption controller
2021-02-22 13:58:03 -08:00
Maciej Szulik
263ec9b3da
cronjob: Add CRUD tests for CronJob API verbs 2021-02-22 21:52:10 +01:00
Antonio Ojea
fe5eda9a23 increase pod start timeout for storage tests 2021-02-22 20:51:32 +01:00
Kubernetes Prow Robot
5b5445c4fb
Merge pull request #99241 from chewong/dockerhub-httpd
Partially revert "tests: Switch dockerhub registry images to promoted registry"
2021-02-22 11:01:35 -08:00
Shihang Zhang
5d1774e9db promote RootCAConfigMap e2e test to Conformance 2021-02-22 10:37:41 -08:00
Lubomir I. Ivanov
e8f2d888a3 kubeadm: include appovers under reviewers in OWNERS
Looks like there is a bit of an issue in the Bluderbuss (Prow plugin)
where it prefers to pick reviewers from a parent OWNERS files,
instead of using an approver from a current OWNERS file as
an additional reviewer.
2021-02-22 20:02:09 +02:00
Antonio Ojea
cf5d98b17e use utils/net ip family helpers 2021-02-22 18:43:59 +01:00
Antonio Ojea
21ccf1d7fb simplify clusterIP IP validation 2021-02-22 18:43:59 +01:00
Antonio Ojea
c9cbe41347 remove duplicate functions 2021-02-22 18:43:59 +01:00
Antonio Ojea
a2b57b9fb2 fix test udp reachability 2021-02-22 18:43:55 +01:00
Maciej Szulik
5681a58ef7
Add kubectl-convert tests 2021-02-22 17:01:34 +01:00
Kubernetes Prow Robot
7cea81ce34
Merge pull request #99291 from zshihang/master
remove secret-based sa token client builder
2021-02-22 07:29:43 -08:00
Kubernetes Prow Robot
b0c4f5c6fa
Merge pull request #99262 from JornShen/add_check_pod_for_e2etest_basic_endpoint
e2e test replace CreateSync in createPodOrFail
2021-02-22 01:11:42 -08:00
chymy
71f33cf8e1 Remove unused field in test/e2e/kubectl/kubectl.go
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-22 02:05:29 -05:00
Shihang Zhang
1095778dcc remove secret-based sa token client builder 2021-02-21 22:00:40 -08:00
Riaan Kleinhans
8faa3307ec Promote ReplicaSetScale e2e test to Conformance 2021-02-22 04:03:17 +13:00
Kubernetes Prow Robot
89b9cf7d6f
Merge pull request #98658 from wzshiming/add-e2e-for-graceful-node-shutdown
Add GracefulNodeShutdown e2e test
2021-02-21 06:45:41 -08:00
Claudiu Belu
a391f44d86 tests: Uses newly promoted httpd and nginx images
The new images contain a few Windows fixes required to run properly.
2021-02-20 12:18:08 -08:00
jornshen
5d8f7ccc56 e2e test use CreateSync in createPodOrFail 2021-02-20 18:14:12 +08:00
Kubernetes Prow Robot
0a3cd56092
Merge pull request #82778 from chendave/split_build_scripts
Differentiate build process for non-amd platforms
2021-02-20 00:55:42 -08:00
Kubernetes Prow Robot
8eef1a9bf7
Merge pull request #99244 from chrishenzie/stress-concurrent-cleanup
Clean up e2e stress test resources concurrently
2021-02-19 23:07:41 -08:00
Ernest Wong
b86b78917c
Partially revert "tests: Switch dockerhub registry images to promoted registry"
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-19 14:46:27 -08:00
Chris Henzie
5130db416d Clean up e2e stress test resources concurrently 2021-02-19 14:25:14 -08:00
Kubernetes Prow Robot
84483a5aac
Merge pull request #98073 from damemi/fix-priority-balancedpods
(e2e/scheduler) Ensure minimum memory limit in createBalancedPodForNodes
2021-02-19 06:34:25 -08:00
Kubernetes Prow Robot
319ff51c21
Merge pull request #97701 from knabben/allow-traffic-or
Testing multiple pods using label selector
2021-02-19 03:14:26 -08:00
Kubernetes Prow Robot
83a5b4c365
Merge pull request #99202 from aojea/servicessyncpod
e2e services test pods should wait until they are ready
2021-02-19 00:20:48 -08:00
Kubernetes Prow Robot
0d8373ace2
Merge pull request #99146 from JornShen/cleanup_validateEndpointsPorts
merge error check to validateEndpointsPorts
2021-02-18 22:40:24 -08:00
Mayank Kumar
2dfc7c3943 Promote RunAsGroup e2e test to Conformance 2021-02-18 21:21:29 -08:00
Kubernetes Prow Robot
f49385d05a
Merge pull request #99167 from Jiawei0227/snapshot_flaky
Fix flaky test: CSI mock volume snapshot
2021-02-18 19:04:53 -08:00
Kubernetes Prow Robot
b710c1043a
Merge pull request #98389 from knabben/allow-traffic-other-ns
Allow ingress from pods on another namespace
2021-02-18 19:04:24 -08:00
Riaan Kleinhans
303fd4aca2 Promote DeploymentScale e2e test to Conformance 2021-02-19 13:13:29 +13:00
Kubernetes Prow Robot
df8dee80c8
Merge pull request #99149 from claudiubelu/patch-4
tests: Updates resource-consumer to 1.9 in tests
2021-02-18 15:03:00 -08:00
Kubernetes Prow Robot
2d7e8754c7
Merge pull request #99107 from justinsb/limit_time_for_kubectl_clusterinfo_dump
tests: Set a 5 minute timeout for kubectl cluster-info dump
2021-02-18 15:02:36 -08:00
Jiawei Wang
95bded5193 Flaky test: CSI mock volume snapshot 2021-02-18 11:32:30 -08:00
Kubernetes Prow Robot
473af0b8d1
Merge pull request #99201 from aojea/conninvalid
e2e conntrack invalid test should wait pod are running
2021-02-18 10:03:12 -08:00
Kubernetes Prow Robot
82df435300
Merge pull request #99016 from wojtek-t/sig_describe
Minor refactor of test/e2e/common names
2021-02-18 10:03:04 -08:00
Patrick Ohly
cefd95c51a test: err more towards ignoring logs from terminated pods
Because log capturing can end due to an error and because a pod has
terminated, it is uncertain whether all log output has been
captured. So far, the code leaned more towards restarting log
capturing based on the rationale that duplicate logs are better than
no logs.

But this is confusing and potentially makes logs much larger, so now
an additional heuristic is used to avoid log capturing when logging
was started already and the pod itself is marked for deletion. That
occurs before the individual containers shut down and get marked as
terminated.
2021-02-18 16:44:36 +01:00
Kubernetes Prow Robot
f6a9303967
Merge pull request #97644 from masap/convert
Fix tests using kubectl convert
2021-02-18 07:10:51 -08:00
Antonio Ojea
6d614c9c50 e2e services test pods should wait until they are ready 2021-02-18 16:08:59 +01:00
Antonio Ojea
60109a1632 e2e conntrack invalid test should wait pod are running 2021-02-18 15:46:07 +01:00
Mike Dame
32b0333c15 (e2e/scheduler) Ensure minimum memory limit in createBalancedPodForNodes 2021-02-18 09:30:33 -05:00
Kubernetes Prow Robot
960e5e7825
Merge pull request #99147 from aojea/waitreadyrunning
e2e createSync() method wait for pod running and ready
2021-02-18 03:46:51 -08:00
Kubernetes Prow Robot
f760c21cd1
Merge pull request #99175 from verult/csi-e2e-cleanup-cleanup
storage CSI e2e: Move csi driver cleanup functions into a common one
2021-02-18 02:14:51 -08:00
Kubernetes Prow Robot
9ead4bf2ee
Merge pull request #99027 from wojtek-t/enable_npd_test
Fix NPD test to run it in private and large clusters
2021-02-18 00:36:51 -08:00
wojtekt
d5e5f14508 Fix NPD test to run it in private and large clusters 2021-02-18 08:07:22 +01:00
wzshiming
e367d2fe0c Add GracefulNodeShutdown e2e test 2021-02-18 14:46:49 +08:00
Kubernetes Prow Robot
5bb03db026
Merge pull request #99161 from Jiawei0227/snapshot_order
Fix storage e2e snapshot test deletion order
2021-02-17 21:15:03 -08:00
Kubernetes Prow Robot
7df86b39b5
Merge pull request #99160 from Huang-Wei/dataItemsDir
sched: create dataItemsDir during a performance test if not exist
2021-02-17 19:32:51 -08:00
Dave Chen
be971ab549 Fix the comments around the quote for compatibility, expansion etc. 2021-02-18 11:04:40 +08:00
Cheng Xing
5ed2ef67cb storage CSI e2e: Move csi driver cleanup functions into a common one 2021-02-17 17:51:21 -08:00
Ayberk Yilmaz
339b8b450f Use GA topoogy labels for EBS 2021-02-18 00:34:56 +00:00
Jiawei Wang
c4dfee6262 Fix storage e2e snapshot test deletion order 2021-02-17 16:17:08 -08:00
Masashi Honma
e8c038c96d Fix tests using kubectl convert
hack/make-rules/test-cmd.sh script fails with tariling errors.

Error: unknown command "convert" for "kubectl"

1. This PR fixes the errors by replacing or removing the use of
"kubectl convert" option because it was already removed.

2. Fix trailing shell check failure as well.
In ./test/cmd/generic-resources.sh line 366:
  kube::test::get_object_assert deployment "{{range.items}}{{$image_field0}}:{{end}}" "${IMAGE_NGINX}:${IMAGE_NGINX}:"
2021-02-18 08:24:07 +09:00
Antonio Ojea
3d00e9a303 e2e emptydir shared volumes wait for running but not ready 2021-02-17 22:17:39 +01:00
Antonio Ojea
0f1125d8d1 e2e configmap wait for pod is running but not ready 2021-02-17 22:15:30 +01:00
Antonio Ojea
3967bc6942 e2e pod readiness gates wait pod is running 2021-02-17 22:15:30 +01:00
Antonio Ojea
04b1062cbc e2e createSync() method wait for pod running and ready
The user expectections calling this method is that the pod should
be ready for the test, however, it only checks that is running,
causing timing issues on busy environments.

Per example, if the pod is not ready, kube-proxy or other services
implementations will not forward traffic to it.
2021-02-17 22:15:30 +01:00
Wei Huang
983272ce6a
sched: create dataItemsDir during a performance test if not exist 2021-02-17 12:44:16 -08:00
Kubernetes Prow Robot
a1c7e528c1
Merge pull request #99112 from JornShen/fix-e2etest-validates-same-hostport-in-same-node
fix conflict hostPort e2e test
2021-02-17 11:58:59 -08:00
Kubernetes Prow Robot
4f1dd5d2fb
Merge pull request #96987 from soltysh/drop_batch-alpha
Drop batch/v2alpha1
2021-02-17 06:35:06 -08:00
Kubernetes Prow Robot
4d8b2020f6
Merge pull request #98555 from verult/pdcsi-e2e-skip-gke
Storage e2e: Remove pd csi driver installation in GKE
2021-02-17 04:55:07 -08:00
jornshen
ffa7789f7f merge error check to validateEndpointsPorts 2021-02-17 18:22:09 +08:00
Kubernetes Prow Robot
5ad3b34bde
Merge pull request #99135 from jayunit100/patch-23
Adding Ravi to Owners for sig-windows e2es
2021-02-16 23:57:06 -08:00
jornshen
6b8781cae6 fix conflict hostPort e2e test 2021-02-17 11:58:36 +08:00
Kubernetes Prow Robot
2a461afa29
Merge pull request #99131 from chewong/fix-gc-etcd-registry
test images: assign gcEtcdRegistry to the correct value
2021-02-16 16:39:27 -08:00
Kubernetes Prow Robot
93252fa433
Merge pull request #99014 from apelisse/update-smd
Update sigs.k8s.io/structured-merge-diff to v4.0.3
2021-02-16 16:39:18 -08:00
Kubernetes Prow Robot
e2f018dcda
Merge pull request #96878 from knight42/feat/kubectl-strip-managed-fields
Enable kubectl-get to strip managed fields
2021-02-16 16:39:05 -08:00
Kubernetes Prow Robot
111d82f87f
Merge pull request #98974 from dekkagaijin/master
Update kube-addon-manager image to v9.1.2
2021-02-16 13:45:27 -08:00
jay vyas
362ff0052a
Adding Ravi to Owners for sig-windows
Ravi has stepped up taking on the e2e and CSI stuff for sig-windows, so we'll want to get him into the owners file.
2021-02-16 14:43:16 -05:00
Ernest Wong
7a1f96a4af
test images: assign gcEtcdRegistry to the correct value
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-16 10:49:39 -08:00
Jian Zeng
237f051a58
feat(kubectl): add flag --show-managed-fields to kubectl-get 2021-02-16 22:52:03 +08:00
Nikhita Raghunath
c3c45b9b8c *: move balajismaniam to emeritus_approvers 2021-02-16 10:55:47 +05:30
Kubernetes Prow Robot
9e5fcc49ec
Merge pull request #99030 from claudiubelu/test-images/fixes-windows-httpd
test images: Fixes Windows httpd images
2021-02-15 16:31:06 -08:00
Justin SB
bc16100549 tests: Set a 5 minute timeout for kubectl cluster-info dump
We've observed this test causing e2e runs to time-out; the ginkgo
behaviour here is unhelpful, in that we don't see any output on a
timeout.

Set a (generous) time limit to start to get output and enforce some
limit to the response time.
2021-02-15 19:15:51 -05:00
Bob Killen
be9641ebf3
test/e2e/instrumentation: Remove inactive members from OWNERS
As a part of cleaning up inactive members (those with no activity within
the past 18 months) from OWNERS files, this commit moves fabxc from an
approver to an emeritus_approver.
2021-02-15 08:00:40 -05:00
Bob Killen
25c1f14b75
test/e2e/apimachinery: Remove inactive members from OWNERS
As a part of cleaning up inactive members (those with no activity within
the past 18 months) from OWNERS files, this commit removes gmarek as a
reviewer.
2021-02-15 07:58:55 -05:00
wojtekt
498441448c Minor refactor of test/e2e/common names 2021-02-15 08:16:01 +01:00
Amim Knabben
a41fb30d88 Adding UDP network policies tests 2021-02-13 19:01:38 -05:00
Kubernetes Prow Robot
b529be32e2
Merge pull request #99049 from knabben/agnhost28
Bump agnhost 2.28
2021-02-13 15:31:04 -08:00
Amim Knabben
aebb3faeff Bump agnhost 2.28 2021-02-12 19:13:38 -05:00
Antoine Pelisse
801aaac2b6 Fix test now that empty struct are tracked in mangaed fields 2021-02-12 10:36:15 -08:00
Kubernetes Prow Robot
528390348d
Merge pull request #98126 from ii/statefulset_test
Update: StatefulSet Replica scaling to include Patch Scale +1 endpoint
2021-02-12 09:27:09 -08:00
Maciej Szulik
7d9f36cd85
Generated changes 2021-02-12 17:51:15 +01:00
Maciej Szulik
3dab7462d1
Drop batch/v2alpha1 API 2021-02-12 17:51:12 +01:00
Kubernetes Prow Robot
a2d5c58c76
Merge pull request #98987 from ii/Riaankl_ReplicaSetScale
Write Read, Replace and Patch ReplicaSetScale test +3 endpoints
2021-02-12 08:13:09 -08:00
Claudiu Belu
030b6cc84c test images: Fixes Windows httpd images
A 32-bit php was included in the images, instead of the 64-bit one. The base image
is nanoserver-based, which does not support 32-bit apps. Because of this, httpd
fails to start.

Additionally, we've previously removed the busybox-helper dependency, but was
left in in the httpd images. This removes the dependency from the httpd images.
2021-02-12 14:11:02 +00:00
Kubernetes Prow Robot
3e96112971
Merge pull request #99020 from BenTheElder/shorter-key
shorten scheduling priorities taint key
2021-02-12 04:37:17 -08:00
Kubernetes Prow Robot
67fbf4172d
Merge pull request #98988 from ii/Riaankl_DeploymentScale
Write Read, Replace and Patch DeploymentScale test +3 endpoints
2021-02-12 04:37:10 -08:00
Benjamin Elder
ad325377b5 shorten scheduling priorities taint key 2021-02-12 01:30:30 -08:00
Claudiu Belu
d56e21c579 tests: Updates resource-consumer to 1.9 in tests
``resource-consumer:1.9`` also includes Windows support.
2021-02-11 19:16:07 -08:00
Riaan Kleinhans
7cea43a4b4 Create DeploymentScale test 2021-02-12 11:53:08 +13:00
Riaan Kleinhans
c721d8cf65 Create ReplicaSetScale test 2021-02-12 09:58:59 +13:00
Riaan Kleinhans
866f658695 Update e2e patch scale statefulset test
Test now validates patchAppsV1NamespacedStatefulSetScale endpoint.
Update conformance metadata to include v1.21

Co-authored-by: Stephen Heywood <stephen@ii.coop>
2021-02-12 09:43:48 +13:00
Kubernetes Prow Robot
f41def8d76
Merge pull request #98996 from wojtek-t/reenable_dns_autoscaling_test
Enable kube-dns-autoscaler test in scale-correctness tests
2021-02-11 11:53:45 -08:00
Kubernetes Prow Robot
e142a5e1d5
Merge pull request #98972 from dashpole/fix_metricsgrabber
Fix MetricsGrabber test by skipping if the master node isn't registered
2021-02-11 11:02:27 -08:00
Kubernetes Prow Robot
2ebd3b99ac
Merge pull request #98940 from ii/remove-conformance-metadata
Update conformance metadata for relocated test
2021-02-11 11:02:15 -08:00
Jake Sanders
927eaffe19 Update kube-addon-manager image to v9.1.2 2021-02-11 09:38:39 -08:00
wojtekt
1d68e7c0a4 Enable kube-dns-autoscaler test in scale-correctness tests 2021-02-11 13:05:32 +01:00
Kubernetes Prow Robot
ab15313f1e
Merge pull request #98586 from mtaufen/said-conform
Promote ServiceAccountIssuerDiscovery test to conformance
2021-02-11 02:40:15 -08:00
Kubernetes Prow Robot
e25b0cb6db
Merge pull request #98911 from Jeffwan/jiaxin/update_kubemark_args
Remove CONTENT_TYPE in kubemark hollow template
2021-02-11 01:48:15 -08:00
Amim Knabben
0fc096e3aa Allow ingress from pods in all namespaces 2021-02-10 21:03:54 -05:00
Kubernetes Prow Robot
71d411982a
Merge pull request #98926 from claudiubelu/tests-etcd-registry
tests: Separate registry configuration for etcd image
2021-02-10 16:56:23 -08:00
Kubernetes Prow Robot
8a8caf317b
Merge pull request #97616 from knabben/netpol-2a-allow
Netpol E2E test should allow traffic to an application
2021-02-10 16:56:16 -08:00
Kubernetes Prow Robot
838bb6a567
Merge pull request #98663 from gavinfish/sched-remove-plugin-pt
Scheduler: change config.Plugins from pointers to objects
2021-02-10 15:36:15 -08:00
Amim Knabben
61f02b85d7 Testing multiple pods using label selector 2021-02-10 16:00:02 -05:00
Kubernetes Prow Robot
a1e310b200
Merge pull request #97984 from alculquicondor/job-integration
Add integration test for parallel and non-parallel Job
2021-02-10 11:58:15 -08:00
David Ashpole
0272980ab1 Fix MetricsGrabber test: only check for the master pods if the master node is registered 2021-02-10 10:58:41 -08:00
Aldo Culquicondor
758813baa3 Add integration tests for Job
Includes controller restarts
2021-02-10 18:53:24 +00:00
drfish
74315f9c56 Change config.Plugins from pointers to objects 2021-02-10 23:45:59 +08:00
tiloso
e1ceac0783 Fix staticcheck in test/integration/{scheduler_perf,garbagecollector} 2021-02-10 10:55:09 +01:00
wojtekt
d616cd14a6 Add [sig-autoscaling] tag to remaining cluster autoscaler tests 2021-02-10 08:15:46 +01:00
Kubernetes Prow Robot
7a7778941b
Merge pull request #98897 from ii/promote-pod-service-proxy-with-path
Promote PodProxyWithPath & ServiceProxyWithPath test - + 12 endpoint coverage
2021-02-09 19:48:59 -08:00
Stephen Heywood
ee7ee85669 Update conformance metadata for relocated test 2021-02-10 13:32:58 +13:00
Kubernetes Prow Robot
324eb844d1
Merge pull request #98736 from wongma7/aws
Warn instead of erroring if --gce-zone is not passed to e2e.test when --provider=aws
2021-02-09 13:22:58 -08:00
Cheng Xing
6b3f74dafb Storage e2e: Remove pd csi driver installation in GKE 2021-02-09 13:14:58 -08:00
Kubernetes Prow Robot
49a772a122
Merge pull request #98917 from claudiubelu/test-images/resource-consumer-bump
test images: Bump resource-consumer to 1.9
2021-02-09 12:05:06 -08:00
Kubernetes Prow Robot
69110b0e67
Merge pull request #98390 from knabben/deny-all-traffic-from-ns
Deny Ingress on other namespaces
2021-02-09 12:04:59 -08:00
Jiaxin Shan
4b796c359e Remove CONTENT_TYPE in kubemark hollow template
CONTENT_TYPE in this case is `kube-api-content-type=application/vnd.kubernetes.protobuf` and it can be removed since
 we don’t see a need for setting it differently in the tests.

Signed-off-by: Jiaxin Shan <seedjeffwan@gmail.com>
2021-02-09 11:04:44 -08:00
Kubernetes Prow Robot
ab5a8c4af8
Merge pull request #98639 from knabben/udp-connect-agnhost
UDP protocol on connect agnhost command
2021-02-09 10:25:39 -08:00
Amim Knabben
96a7b2a102 Deny ingress on other namespaces 2021-02-09 10:15:59 -05:00
Kubernetes Prow Robot
943e67c01f
Merge pull request #95479 from mgjeong/feature-memory-manager-working
Memory manager
2021-02-09 03:40:56 -08:00
Kubernetes Prow Robot
d6c26a826a
Merge pull request #95281 from SaiHarshaK/staticcheck_test
fix staticcheck failures for test/e2e and test/integration
2021-02-09 03:40:38 -08:00
Kubernetes Prow Robot
1f24b504cd
Merge pull request #98831 from claudiubelu/test-images/fixes-windows-php
test images: Fixes Windows php source
2021-02-09 01:38:49 -08:00
Kubernetes Prow Robot
efb41ea0fb
Merge pull request #98887 from claudiubelu/test-images/retrigger
test images: Retrigger some image jobs
2021-02-09 00:46:10 -08:00
Kubernetes Prow Robot
fcb55645a9
Merge pull request #98547 from neolit123/1.21-update-kubeadm-owners
kubeadm: update OWNERS for 1.21
2021-02-09 00:45:16 -08:00
pacoxu
a2f87acb97 deflake a resource quota check for best-effort pods 2021-02-09 14:29:32 +08:00
Kubernetes Prow Robot
765249c524
Merge pull request #98891 from msau42/pd-e2e
PD CSI e2e: disable resizer volume inuse error check
2021-02-08 21:53:31 -08:00
Kubernetes Prow Robot
2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
Kubernetes Prow Robot
41de665385
Merge pull request #95848 from boddumanohar/master
add e2e tests for create/delete volume snapshot with secrets
2021-02-08 17:03:25 -08:00
Stephen Heywood
4cb67b8f0c Fix gofmt issues 2021-02-09 12:41:10 +13:00
Kubernetes Prow Robot
017d4dd832
Merge pull request #98739 from logicalhan/so-stable
Wire up static-analysis so that it executes in the normal 'hack' flow
2021-02-08 15:19:10 -08:00
Artyom Lukianov
932134034c memory manager: update API constant to have camel case format
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:02 +02:00
Artyom Lukianov
e8ea461bfd memory manager: update all relevant part of code to use []MemoryReservation
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:01 +02:00
Artyom Lukianov
74eeef2a0a memory manager: provide additional e2e tests
With the memory manager static policy:

- start multiple guaranteed pods and verify that pods succeeded to start
- start workload pod on each NUMA node to load the memory and start the
  pod that requested more memory than each NUMA node have, the pod should fail
  to start with the admission error, because no single NUMA node has enough
  memory to start the pod and also each NUMA node already used for single
  NUMA node allocation
  The test requires at least two NUMA nodes

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:00 +02:00
Pawel Rapacz
606fea29f5 memory manager: add e2e test to run guaranteed pod with init containers
Signed-off-by: Pawel Rapacz <p.rapacz@partner.samsung.com>
2021-02-09 01:10:00 +02:00
Artyom Lukianov
f3d4ac2f7e memory manager: add basice e2e tests
Provides basic tests e2e to verify that pod succeeds
to start with MemoryManager enabled.

Verifies both MemoryManager policies and when the node has
multiple NUMA nodes it will verify the memory pinning.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:00 +02:00
Stephen Heywood
c88a838282 Promote pod and service ProxyWithPath e2e test to Conformance 2021-02-09 11:50:22 +13:00
Han Kang
c3f550f3cb fix arguments too long error 2021-02-08 11:55:25 -08:00
Michelle Au
1025997abf PD CSI: disable resizer volume inuse error check as it is not necessary for PD and requires new RBACs
Change-Id: I5844eaed0b23389ac07584e8b9ee82f47df5a90e
2021-02-08 11:27:01 -08:00
Kubernetes Prow Robot
d11e475b9b
Merge pull request #98770 from pohly/e2e-mock-container-versions
test: bump CSI container versions for mock testing
2021-02-08 10:45:37 -08:00
Claudiu Belu
3945c8972c tests: Switch dockerhub registry images to promoted registry
Due to the dockerhub rate limiting, we had to find an alternative solution. We've mirrored the dockerhub
images into our own.

Additionally, our own busybox, httpd, and nginx images also have Windows support.
2021-02-08 08:01:04 -08:00
Navid Shaikh
2e63bad5a3 Fix golint errors in test/e2e/common
- Add comments for exported types
 - Replace Uid with UID
2021-02-08 10:47:41 +05:30
Kubernetes Prow Robot
15a8a8ec4a
Merge pull request #97738 from knabben/deny-all-ns
Default DENY all egress from pods in the namespace
2021-02-07 12:37:12 -08:00
Amim Knabben
f1da11078a UDP protocol on connect agnhost command 2021-02-07 15:29:58 -05:00
Sai Harsha Kottapalli
a2ef69060a
fix staticcheck failures for test/e2e and test/integration 2021-02-07 23:47:23 +05:30
Kubernetes Prow Robot
fc7b785e64
Merge pull request #98818 from chewong/remove-duplicated-code
fix: remove duplicated code in image-util.sh due to merge conflict
2021-02-07 09:23:11 -08:00
Amim Knabben
189edf1e73 Default deny all egress from pods in the namespace 2021-02-07 11:55:50 -05:00
Amim Knabben
c8031e5b13 Netpol e2e test should overwrite allow with another deny 2021-02-07 11:48:20 -05:00
Claudiu Belu
6b090886de tests: Separate registry configuration for etcd image
Current gcRegistry configuration is responsible for both etcd and pause images. We should
use the upstream pause image in testing.

The etcd image doesn't have Windows support yet, so we need to have a separate configuration
for it.
2021-02-07 06:20:14 -08:00
Claudiu Belu
3e0b66b802 test images: Bump resource-consumer to 1.9
We've added Windows support to the resource-consumer image and 1.8 tag is already promoted.
We need to bump the VERSION, so we can promote the new image.
2021-02-06 23:54:25 -08:00
Kubernetes Prow Robot
23a46d8843
Merge pull request #97819 from damemi/bz1876918-priorities-test-refactor
Move deferred taint cleanup call to ensure all are removed
2021-02-06 21:37:12 -08:00
Claudiu Belu
a7de2d82d3 test images: Retrigger some image jobs 2021-02-06 16:43:52 -08:00
Kubernetes Prow Robot
3534e31ade
Merge pull request #98834 from cpanato/go1158
[go1.15] Update to go1.15.8
2021-02-06 15:35:11 -08:00
Kubernetes Prow Robot
4db3c93af3
Merge pull request #98805 from cpanato/k8sio-GH-1525-csi
e2e/storage-csi: replace gcr.io/gke-release to the community registry k8s.gcr.io/sig-storage
2021-02-06 10:03:11 -08:00
Carlos Panato
8b5bf8ef91
[go1.15] Update to go1.15.8
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-02-06 15:55:39 +01:00
Claudiu Belu
6dae3054b5 test images: Fixes Windows php source
The PHP release page tends to get updated and changed every time there's a
new release, removing the old ones. Because of this, the PHP link in the
httpd and httpd-new images may become invalid.

Updating the links to the archives solves this issue.
2021-02-06 11:32:21 +00:00
Carlos Panato
c9ccfe6ccc
e2e/storage-csi: replace gcr.io/gke-release to the community registry k8s.gcr.io/sig-storage 2021-02-06 11:29:14 +01:00
Michael Taufen
f3e223cbbc Promote ServiceAccountIssuerDiscovery test to conformance
This satisfies the graduation criteria for promoting
ServiceAccountIssuerDiscovery to GA, per the KEP:
https://github.com/kubernetes/enhancements/tree/master/keps/sig-auth/1393-oidc-discovery

The test only uses GA APIs and has been passing for well
over two weeks:
https://testgrid.k8s.io/sig-release-master-blocking#gce-cos-master-alpha-features&include-filter-by-regex=ServiceAccountIssuerDiscovery
2021-02-05 16:05:15 -08:00
Kubernetes Prow Robot
89a51477c8
Merge pull request #98813 from mtaufen/said-rbac
Tolerate disabled RBAC in ServiceAccountIssuerDiscovery test
2021-02-05 15:05:11 -08:00
Ernest Wong
5a559e48f8
fix: remove duplicated code in image-util.sh due to merge conflict
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-05 14:12:25 -08:00
Patrick Ohly
d27c541b45 test: bump CSI container versions for mock testing
These are the latest stable releases. We should test with those.
The newer external-provisioner no longer needs (and doesn't support)
the --provisioner parameter.
2021-02-05 21:08:39 +01:00
Michael Taufen
05439d48aa Tolerate disabled RBAC in ServiceAccountIssuerDiscovery test
Also clean up the binding after the test.
2021-02-05 10:59:18 -08:00
Han Kang
db107b190c remove the rest of the bazel test wiring for metrics stability 2021-02-05 10:48:48 -08:00
Kubernetes Prow Robot
3f42a66bd3
Merge pull request #92719 from claudiubelu/test-images/windows-support-res-consumer
test images: Adds Windows support for resource-consumer
2021-02-05 10:45:05 -08:00
Kubernetes Prow Robot
6f5e6dad4b
Merge pull request #77269 from claudiubelu/test-images-windows-support-part-3
test images: Adds Windows Container images support (part 3)
2021-02-05 10:44:52 -08:00
Kubernetes Prow Robot
c9604bd302
Merge pull request #98699 from damemi/balance-nodes-scheduling-ubernetes-lite
Balance nodes in scheduling e2e
2021-02-05 07:28:52 -08:00
Mike Dame
6579cd8e9e Balance nodes in scheduling e2e
This adds a call to createBalancedPods during the ubernetes_lite scheduling e2es,
which are prone to improper score balancing due to unbalanced utilization.
2021-02-05 09:40:34 -05:00
Kubernetes Prow Robot
26744ac58d
Merge pull request #98781 from smarterclayton/skip_all_nodes
Bug 1920221: Allow test invokers to skip test waits before and after
2021-02-05 06:32:52 -08:00
pacoxu
0c152cbbbe update pause to 3.4.1 for tests(e2e)
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:32:53 +08:00
Kubernetes Prow Robot
1f6fe21425
Merge pull request #98761 from chymy/repeated-err-0204
Repeated err judgment in integration test
2021-02-05 00:44:52 -08:00
Kubernetes Prow Robot
c5759ab86d
Merge pull request #98787 from smarterclayton/pass_zones
test/e2e: Allow zones to be passed to e2e cloud provider
2021-02-04 19:44:51 -08:00
Clayton Coleman
9830cc911f
test/e2e: Allow zones to be passed to e2e cloud provider
Instead of allowing the cloud provider to guess at the zones that
should be applied for a cluster under test, allow the explicit list
of zones to consider to be passed as a new test context flag -gce-zones.

Only the GCE test cloud provider recognizes this value because only
the GCE test cloud provider makes assumptions about zones for verifying
values, and the default assumptions for GKE do not always match non-GKE
providers.
2021-02-04 21:53:54 -05:00
Han Kang
73d797d474 Wire up static-analysis so that it executes in the normal 'hack' flow 2021-02-04 18:48:03 -08:00
chymy
4c198dc9eb Repeated err judgment in ns_conditions_test.go
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-05 10:44:37 +08:00
Clayton Coleman
286d989d8d
test/e2e: Allow test invokers to skip test waits before and after
A number of e2e tests are useful to run after the system has been
disrupted or is in the progress of being disrupted, but the current
suite and test logic blocks progress waiting for all nodes to be
healthy.

By passing -1 to --minStartupPods or --allowed-not-ready-nodes flags
the caller can bypass wait logic before and after test suites that
would prevent running e2e during disruption. This allows use of parts
of the e2e suite during cluster duress to verify that controllers or
components still function.
2021-02-04 20:14:05 -05:00
Kubernetes Prow Robot
7be6c1c393
Merge pull request #97863 from qfen/master
97657: Removed "FromPort" in netpol tests
2021-02-04 15:02:52 -08:00
Kubernetes Prow Robot
aacd157c2e
Merge pull request #97457 from claudiubelu/test-images-readme-updates
test images: Updates Image Builder process in the README
2021-02-04 09:52:47 -08:00
Kubernetes Prow Robot
11ab887ccd
Merge pull request #95567 from claudiubelu/test-images/linux-busybox
test images: Mirrors dockerhub images to staging
2021-02-04 09:52:29 -08:00
Claudiu Belu
9b09d8752f test images: Adds Windows support (part 3)
Adds the httpd, nginx, images that are used in tests.

Two different versions of nginx have to build, and thus, the have
different folders. An ALIAS file was added to nginx-new in order to
keep the same image name.
2021-02-04 06:15:54 -08:00
Kubernetes Prow Robot
35bc0fbad5
Merge pull request #98721 from adtac/sprefunsched
scheduler_perf: remove implicit barrier at the end
2021-02-04 02:02:28 -08:00
Kubernetes Prow Robot
5b3333a262
Merge pull request #98722 from yangjunmyfm192085/run-test10
Fix the error of kms_transformation_test about integration test
2021-02-03 21:28:28 -08:00
JunYang
256f891728 Fix the error of kms_transformation_test about integration test
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-02-04 19:23:59 +08:00
Manohar Reddy
a6ec62f76d add e2e tests for DeleteSnapshotsecrets 2021-02-04 10:46:00 +05:30
Morten Torkildsen
96ea28aa77 Check if resources implement scale in disruption controller 2021-02-03 20:19:35 -08:00
Kubernetes Prow Robot
bff6452893
Merge pull request #98738 from liyanhui1228/addvspheresetup
Add e2e test setup for windows vsphere driver
2021-02-03 18:08:28 -08:00
Kubernetes Prow Robot
429eaca536
Merge pull request #98700 from Jiawei0227/update_label
Update gce-pd volume topology label to GA
2021-02-03 16:42:28 -08:00
liyanhui1228
390eee44ba Only add ntfs to vsphere driver 2021-02-03 15:59:04 -08:00
liyanhui1228
cd8dc20f7f Add e2e test setup for windows vsphere driver 2021-02-03 13:57:44 -08:00
Matthew Wong
f3062a83d2 Warn instead of erroring if --gce-zone is not passed to e2e.test when --provider=aws 2021-02-03 12:54:32 -08:00
Kubernetes Prow Robot
10e11baa05
Merge pull request #98345 from ii/pod-service-proxy-with-path
Fix possible flake while testing service endpoints via proxy
2021-02-03 10:52:29 -08:00
Adhityaa Chandrasekar
b5808c6df9 scheduler_perf: remove implicit barrier at the end
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-02-03 12:49:28 +00:00
Jiawei Wang
e76f60d2b8 Update gce-pd volume topology label to GA 2021-02-02 19:13:57 -08:00
Wei Huang
9a67558784
Fix a bug that untolerated variable is used as tolerated 2021-02-02 16:04:02 -08:00
Stephen Heywood
8be427f71a Confirm proxy endpoints provide valid response via polling 2021-02-03 11:15:07 +13:00
Kubernetes Prow Robot
ed6b4797a1
Merge pull request #98690 from fedepaol/hosttoservicedualstack
Dual stack tests: cover hostnetwork endpoints on dual stack
2021-02-02 10:46:28 -08:00
Claudiu Belu
28e1dee333 test images: Adds Windows support for resource-consumer
stress was being used for the memory consumption part. This adds a golang equivalent,
which will also work on Windows.
2021-02-02 14:50:35 +00:00
Federico Paolinelli
b74cafd43a Dual stack tests: cover hostnetwork endpoints on dual stack
This creates a test similar to "should function for service endpoints using hostNetwork"
for dual stack tests, using the secondary clusterip / nodeip.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-02-02 10:58:49 +01:00
Kubernetes Prow Robot
ee2b7a5049
Merge pull request #98049 from pacoxu/enhancements/redir-links
fix all keps links 404 for kep folder migration
2021-02-01 21:48:28 -08:00
Kubernetes Prow Robot
f27318c0da
Merge pull request #98445 from damemi/taint-toleration-internal-helpers
Move Taint/Toleration helpers to component-helpers repo
2021-02-01 17:50:27 -08:00
Zach Mandeville
0f597e23aa add ineligible_endpoints.yaml
This yaml contains GA endpoints currently ineligible for conformance,
along with the reason for their ineligibility and a link with
context to that reason.  It's intention is to give a transparent and
community-supported way to track these endpoints.
2021-02-02 11:25:47 +13:00
Kubernetes Prow Robot
7561fb876c
Merge pull request #98670 from liggitt/dryrunflake
retry dry-run update on conflict
2021-02-01 13:42:09 -08:00
Kubernetes Prow Robot
6aef7ca013
Merge pull request #98553 from mtaufen/said-ga
Graduate ServiceAccountIssuerDiscovery to GA
2021-02-01 13:42:01 -08:00
Kubernetes Prow Robot
f084d11ba3
Merge pull request #98655 from fedepaol/checkhosttoserviceerrors
Network tests: check for errors when dialing from node to services
2021-02-01 12:49:58 -08:00
Michael Taufen
6aa80d9172 Graduate ServiceAccountIssuerDiscovery to GA
Waiting on KEP updates first:
https://github.com/kubernetes/enhancements/pull/2363
2021-02-01 11:44:23 -08:00
Jordan Liggitt
a1e57a4c6d retry dry-run update on conflict 2021-02-01 13:49:51 -05:00
Lubomir I. Ivanov
afea70f9ae kubeadm: update OWNERS for 1.21 2021-02-01 20:14:00 +02:00
Federico Paolinelli
ab9e5a59fa Network tests: check for errors when dialing from node to services
The current implementation does not check for errors, so any failure in
DialFromNode won't float.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-02-01 17:12:34 +01:00
Mike Dame
578ff3ec34 Move Taint/Toleration helpers to component-helpers repo
This is part of the goal for scheduling to remove dependencies on internal
packages for the scheduling framework. It also provides these functions in an
external location for other components and projects to import.
2021-02-01 11:06:03 -05:00
Kubernetes Prow Robot
101cdbf932
Merge pull request #97295 from tiloso/staticcheck-test-integration
Fix staticcheck in test/integration/{examples,framework}
2021-02-01 04:49:48 -08:00
pacoxu
a10bdfed09 fix all keps links 404 for kep folder migration
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 19:41:59 +08:00
pacoxu
8811275ea4 update pause image 3.4.1 for hack testdatas only
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 15:09:25 +08:00
Kubernetes Prow Robot
c241a237f9
Merge pull request #98587 from mtaufen/said-test
Move ServiceAccountIssuerDiscovery test into main e2e suite
2021-01-30 04:03:48 -08:00
Kubernetes Prow Robot
573a6a9faa
Merge pull request #98584 from mattfenwick/issue-98581
improve hairpin warning message for network policy tests
2021-01-29 17:22:05 -08:00
Kubernetes Prow Robot
0a0490e34f
Merge pull request #98576 from kevindelgado/ssa
Fix SSA for APIService
2021-01-29 17:21:58 -08:00
Kubernetes Prow Robot
61e9ffbad8
Merge pull request #98521 from JornShen/check_externalNameService_more_time
check externalNameService more time
2021-01-29 17:21:49 -08:00
Michael Taufen
cf809c37c4 Move ServiceAccountIssuerDiscovery test into main e2e suite
By removing feature tag. In preparation for GA.
2021-01-29 16:18:26 -08:00
Claudiu Belu
6e22aac8fe test images: Updates Image Builder process in the README
A few details about the image builder postsubmit jobs changed, so the README had to
be updated as well.

Added a few extra bits of information regarding the Windows images.
2021-01-29 14:04:51 -08:00
Matthew Fenwick
45ae7069f4 improve hairpin warning message for network policy tests 2021-01-29 17:04:05 -05:00
Kubernetes Prow Robot
2f4778ca86
Merge pull request #98551 from aojea/ipv6conn
deflake ipv6 tcp close_wait
2021-01-29 11:37:31 -08:00
Jordan Liggitt
46699bf9de Use apply to create objects in TestApplyStatus 2021-01-29 18:30:35 +00:00
Jordan Liggitt
0f6873c025 Stop skipping APIService in apply test 2021-01-29 18:30:35 +00:00
Mike Dame
cc1eab1ca2 Move deferred taint cleanup call to ensure all are removed 2021-01-29 10:17:21 -05:00
Kubernetes Prow Robot
952e6f4451
Merge pull request #98299 from aojea/hostportcoformance
move e2e hostport conflict test to sig-network
2021-01-29 05:17:40 -08:00
Dave Chen
721da10205 Differentiate build process for non-amd64 platforms
- reset `binfmt_misc` is needn't when the building platform is non-amd64 and the
target arch is the same as building platform

- non-amd64 platform doesn't supported cross-build well, and there is no binary of
`qemu-user-static` able to do that, and thus skip the cross-build on non-amd64
platform.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-01-29 19:04:10 +08:00
jornshen
415fe230b4 check externalNameService more time 2021-01-29 19:02:58 +08:00
Kubernetes Prow Robot
eb2b71c727
Merge pull request #98320 from chewong/use-promoted-images
test images: use recently promoted images
2021-01-28 17:00:41 -08:00
Kubernetes Prow Robot
8f856793ae
Merge pull request #98245 from Huang-Wei/garbage-char
Remove garbage characters (^M) under test/*
2021-01-28 17:00:24 -08:00
Kubernetes Prow Robot
f402e472a1
Merge pull request #98041 from Huang-Wei/sched-enqueue-1
Surface info of failed plugins during PerFilter and Filter
2021-01-28 17:00:07 -08:00
Kubernetes Prow Robot
970c4db574
Merge pull request #97815 from justinsb/node_counting
e2e: DNS autoscaler test was not counting nodes correctly
2021-01-28 16:59:52 -08:00
Antonio Ojea
5f6763067b deflake ipv6 tcp close_wait 2021-01-29 00:39:40 +01:00
Kubernetes Prow Robot
4a8b2d377b
Merge pull request #98336 from pacoxu/fix/94791-update-image
update metadata-concealment to 1.6 for removing legacy checking
2021-01-28 14:42:00 -08:00
Kubernetes Prow Robot
0bf26180dd
Merge pull request #96901 from tkashem/context-wiring
plumb context with request deadline
2021-01-28 14:41:40 -08:00
Wei Huang
f8a6bdb044
Surface info of failed plugins during PerFilter and Filter 2021-01-28 12:20:42 -08:00
Kubernetes Prow Robot
927cc48fdf
Merge pull request #98421 from qingsenLi/210126
fix Geting -> Getting
2021-01-28 11:41:46 -08:00
Abu Kashem
df7a890d94
apiserver: add e2e tests for request context deadline 2021-01-28 14:15:05 -05:00
Abu Kashem
e416c9e574
apiserver: 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.

we use the default timeout enforced by the apiserver:
- if the user has specified a timeout of 0s, this implies no timeout on the user's part.
- if the user has specified a timeout that exceeds the maximum deadline allowed by the apiserver.
2021-01-28 14:15:04 -05:00
Kubernetes Prow Robot
f81a9adfd7
Merge pull request #98491 from knabben/swap-netpol-folder
Rolling back network policy tests
2021-01-28 10:39:34 -08:00
Ernest Wong
40713f7666
test images: use recently promoted images
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-28 10:09:00 -08:00
Kubernetes Prow Robot
816e67ab9d
Merge pull request #97456 from claudiubelu/remove-busybox-helper
test images: Remove busybox-helper image
2021-01-28 08:21:34 -08:00
Sascha Grunert
1acaf32cff
Bump debian-base to v1.4.0 and debian-iptables to v1.5.0
Both images are now sane multi-architecture images and should fix the
kube-proxy container image in the same way.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-28 13:47:09 +01:00
pacoxu
f85cbdb410 update metadata-concealment to 1.6 for removing legacy checking
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-28 10:06:47 +08:00
Matthew Fenwick
35a7f91208 Removed "FromPort" in netpol tests
Co-authored-by: Dan Fenwick <dfenwick@fastmail.com>
Co-authored-by: Matt Fenwick <mfenwick100@gmail.com>
2021-01-27 20:24:35 -05:00
Amim Knabben
9a8a74f79a Rolling back network policy tests 2021-01-27 18:58:52 -05:00
Antonio Ojea
08a8e80c9f move e2e hostport conflict test to sig-network
The test "validates that there is no conflict between pods with same
hostPort but different hostIP and protocol" was testing the scheduler
capability to schedule pods on the same node with hostPorts, however,
it wasn´t validating that the HostPorts was working, causing false
positives, because the pods were scheduled, but the HostPort exposed
wasn´t working.

In order to test the HostPort functionality, we have to use HostNetwork
pods, that are incompatible with Windows platforms. Also, since this
is touching both network and scheduling, there is no clear the ownership,
but sig-network is happy to adopt it.

We also add a new test for scheduling only under "scheduling", so Windows
folks can use it to test the scheduled in that platform.
2021-01-27 21:55:36 +01:00
Kubernetes Prow Robot
6a4a0cdb91
Merge pull request #98187 from jsafrane/skip-2node
Skip PD tests on 1 node cluster
2021-01-27 07:23:39 -08:00
Claudiu Belu
bdaf849c0f test images: Remove busybox-helper image
We cannot have any RUN commands in the Windows stage when using docker buildx,
which is why we were using the busybox-helper image. The purpose of the image
was to contain a few things that we would obtain by running a few commands:

- symlinks for the busybox binary
- run vcredist_x64.exe which would also give us the vcruntime140.dll which is
  necessary for dig or httpd.

There are alternatives to the commands above that can be achieved in a Linux stage
as well:

- we can create the symlinks in a Linux stage with ln -s. Copying them over to
Windows will allow them to work just as well as if they were being copied over
from a Windows image. The 'Files\' prefix issue to the symlink target still persists.
- we can download the vcruntime140.dll directly, allowing us to skip the vcredist_x64.exe
  installation.
2021-01-27 04:22:38 -08:00
Carlos Panato
e76fc62258
[go1.15] Update to go1.15.7
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-01-27 11:43:01 +01:00
Kubernetes Prow Robot
15252db5f2
Merge pull request #98430 from liggitt/ingress-flake
Deflake ingress e2e updates
2021-01-27 02:03:40 -08:00
Kubernetes Prow Robot
5310e4f30e
Merge pull request #98437 from dims/add-dims-to-test/utils/image
Add dims to test/utils/image/OWNERS
2021-01-26 21:53:48 -08:00
Kubernetes Prow Robot
a8e819350c
Merge pull request #98401 from pacoxu/debian-base/1.3.0
update debian-base to buster-v1.3.0 for CVEs
2021-01-26 21:53:39 -08:00
Kubernetes Prow Robot
21d3c73f54
Merge pull request #93179 from chendave/preemption_improve
prefer nominated node - IMPL
2021-01-26 21:03:40 -08:00
Kubernetes Prow Robot
0221f68ac3
Merge pull request #94015 from mattfenwick/issue-94005
run node bandwidth tests using iperf2 and collecting more detailed information
2021-01-26 15:15:40 -08:00
Artyom Lukianov
97ac255513 e2e: move deleteState file to the AfterEach
Under the CPU manager and topology manager e2e tests possible the situation
when one of steps under the test will fail and it will not clean the CPU manager
state file. Move the deletion of the state file to `AfterEach` to guarantee that
the state file will be always removed from the node.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-01-26 20:34:17 +02:00
Kubernetes Prow Robot
6ced23a93c
Merge pull request #98405 from aojea/e2elbudp
Fix loadbalancer e2e udp: Part 2
2021-01-26 09:40:55 -08:00
Kubernetes Prow Robot
a107769005
Merge pull request #96691 from ii/fix-e2e-timeout
Increase timeout for pod lifecycle test to reach pod status=ready
2021-01-26 09:40:34 -08:00
Davanum Srinivas
933b8eaeb8
Add dims to test/utils/image/OWNERS
Missed this directory in d9fdc68bae

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-26 12:12:21 -05:00
Jordan Liggitt
9a61b305d2 Deflake ingress updates 2021-01-26 10:54:17 -05:00
10177505
0e0e5a09e3 fix Geting -> Getting 2021-01-26 20:17:34 +08:00
Antonio Ojea
a38b7e5ecb fix e2e loadbalancer udp test 2021-01-26 11:30:23 +01:00
Kubernetes Prow Robot
83aee3462f
Merge pull request #98341 from knabben/delete-network-policy
Removing network_policy.go test file
2021-01-26 00:42:34 -08:00
pacoxu
03048e8b25 update debian-iptables to buster-v1.4.0 for base change
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-26 14:24:56 +08:00
Dave Chen
6d800ffe07 Prefer nominated node in the new scheduling cycle
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-01-26 09:59:00 +08:00
Antonio Ojea
2402059380 fix e2e loadbalancer test 2021-01-25 23:26:54 +01:00
Kubernetes Prow Robot
18f4156c40
Merge pull request #97808 from aojea/miekdns
remove e2e miekg/dns dependency
2021-01-25 11:43:00 -08:00
Amim Knabben
131c35d074 Removing network_policy.go file 2021-01-25 14:02:51 -05:00
Kubernetes Prow Robot
b7fc3f91ea
Merge pull request #98312 from deads2k/finish-export-option-removal
finish removal of exportoptions
2021-01-25 08:15:15 -08:00
Artyom Lukianov
d2c3f52532 e2e: fix CPU manager methods to be more flexible to different CPU topology
- fix the issue when the test runs on the node with the single CPU
- fix the issue when the CPU topology has only one core per socket, it can
  be easily reproduced by configuring VM with multi NUMA, but when each socket
  has only one core

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-01-25 18:02:38 +02:00
Kubernetes Prow Robot
16ed85a6d5
Merge pull request #98333 from aojea/e2escale
e2e sig-network loadbalancer tests
2021-01-25 04:10:54 -08:00
Matthew Fenwick
069ec05037 run node bandwidth tests using iperf2 and collecting more detailed information 2021-01-24 16:06:41 -05:00
Kubernetes Prow Robot
3433f099fb
Merge pull request #97898 from knabben/api-netpol-test
Copying Netpol API tests from networkpolicy folder
2021-01-24 09:48:53 -08:00
Amim Knabben
92066e9e28 Copying Netpol API tests from networkpolicy folder 2021-01-24 10:48:10 -05:00
Ikko Ashimine
5155decbbf
Fix typo in device_plugin_test.go
assignement -> assignment
2021-01-24 17:42:34 +09:00
Kubernetes Prow Robot
fb276ce201
Merge pull request #98318 from dims/adding-dims-to-test/images-owners
Adding dims to test/images OWNERS file
2021-01-23 18:06:53 -08:00
Antonio Ojea
e08a00f97d split tcp/udp e2e loadbalancer test
splitting the test, one per protocol, we can run them in parallel.
2021-01-24 01:42:04 +01:00
Antonio Ojea
63dce95fd2 e2e network test reorganization
the sig-network e2e tests related to services has more than 3k lines.
Some of those e2e tests are related to loadbalancers, that are
cloud provider specific and have special requirements.

We split up the services file and keeps the loadbalancers e2e tests
in their own file and with their own tag, so it is easier to skip
for people that don't run e2e tests in cloud providers.
2021-01-24 01:12:42 +01:00
Kubernetes Prow Robot
676079605d
Merge pull request #97789 from pacoxu/fix/gce-depre-version
metadata concealment: remove the legacy endpoints from the check
2021-01-23 10:41:39 -08:00
Kubernetes Prow Robot
ecb3a682b8
Merge pull request #98313 from claudiubelu/test-images/fixes-apparmor-loader
test images: Fixes apparmor-loader image
2021-01-23 01:51:39 -08:00
David Eads
37cc89ed8d finish removal of exportoptions 2021-01-22 13:47:31 -05:00
Davanum Srinivas
d9fdc68bae
Adding dims to test/images OWNERS file
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-22 13:17:54 -05:00
Antonio Ojea
3790290c9b remove e2e miekg/dns dependency
miekg dependency was forking some of the golang standard library.
We can fork it directly into the third_party folder respecting
the LICENSE.
2021-01-22 18:27:25 +01:00
Claudiu Belu
cbeab55eb6
test images: Adds --progress=plain to docker buildx build
The default value for the progress is ``auto``, which will eat the output of RUN commands. This makes it a bit hard to debug when issues occur. Changing that option to ``plain`` will ensure that the output is properly kept.
2021-01-22 17:34:15 +02:00
Claudiu Belu
f56d832943 test images: Fixes apparmor-loader image
Currently, the image is not working properly because of the apparmor_parser giving this error:

Error relocating /sbin/apparmor_parser: secure_getenv: symbol not found

Updating musl to 1.1.20 or newer will fix this problem.
2021-01-22 15:25:47 +00:00
Kubernetes Prow Robot
88c652c154
Merge pull request #98227 from claudiubelu/test-images/metadata-concealment-fix
test images: Fixes metadata-concealment image building
2021-01-21 18:47:26 -08:00
Claudiu Belu
ab3bd32d22 test images: Fixes metadata-concealment image building
The metadata-concealment image does not have any BASEIMAGE file, which means
that the image will be built from scratch. In this case, there are a few
fixes that need to be made in the image-build.sh script.
2021-01-21 20:47:55 +00:00
Kubernetes Prow Robot
56d1b5a6da
Merge pull request #98271 from chewong/use-promoted-kitten-nautilus
test images: use promoted kitten 1.4 and nautilus 1.4
2021-01-21 12:01:19 -08:00
Kubernetes Prow Robot
044bcb5f06
Merge pull request #98226 from claudiubelu/test-images/peer-finder-fix
test images: Prepend linux/ to peer-finder BASEIMAGEs
2021-01-21 12:01:11 -08:00
Kubernetes Prow Robot
579b62d541
Merge pull request #97556 from heqg/unused02
remove unused variable in e2e test[types.go]
2021-01-21 09:57:15 -08:00
Kubernetes Prow Robot
759ac2e8c8
Merge pull request #94684 from ingvagabund/e2e-priorities-avoidPods-wait-for-pods-getting-deleted
[sig-scheduling] SchedulerPriorities [Serial] Pod should avoid nodes that have avoidPod annotation: clean remaining pods
2021-01-21 09:57:01 -08:00
Ernest Wong
886a01c8a3
test images: use promoted kitten 1.4 and nautilus 1.4
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-21 12:53:23 -05:00
Jan Chaloupka
2318992227 e2e: Pod should avoid nodes that have avoidPod annotation: clean remaining pods
The test is not cleaning all pods it created.
Memory balancing pods are deleted once the test namespace is.
Thus, leaving the pods running or in terminating state when a new test is run.
In case the next test is "[sig-scheduling] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run",
the test can fail.
2021-01-21 17:08:40 +01:00
Kubernetes Prow Robot
6a161bf6d3
Merge pull request #98189 from claudiubelu/test-images/echoserver-windows
test images: Fixes echoserver image for Windows
2021-01-21 04:39:01 -08:00
Kubernetes Prow Robot
e1ba7546bf
Merge pull request #78862 from claudiubelu/tests/cleanup-node
tests: Removes node created by test
2021-01-21 02:59:01 -08:00
Kubernetes Prow Robot
a04b6e4b16
Merge pull request #98228 from claudiubelu/test-images/trigger-jobs2
test images: Small changes to trigger image postsubmit jobs
2021-01-20 17:51:12 -08:00
Kubernetes Prow Robot
81d241b492
Merge pull request #98237 from smarterclayton/test_logging
test/e2e/framework: Log arguments at a higher level
2021-01-20 17:01:12 -08:00
Wei Huang
e2d44e3b47
Remove garbage characters (^M) under test/* 2021-01-20 16:42:30 -08:00
pacoxu
5d6c41cfc9 metadata concealment: remove the legacy endpoints from the check, bump the image version
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-21 07:58:45 +08:00
Kubernetes Prow Robot
3dbd7498f2
Merge pull request #95503 from ii/pod-service-proxy-with-path
Write PodProxyWithPath & ServiceProxyWithPath test - + 12 endpoint coverage
2021-01-20 15:33:00 -08:00
Kubernetes Prow Robot
39115c64b0
Merge pull request #97599 from gavinfish/refact-updatewithpod
Scheduler: Update the PreFilterExtensions interface to use PodInfo
2021-01-20 12:09:01 -08:00
Clayton Coleman
02a13a4a39
test/e2e/framework: Log arguments at a higher level
Both of these are explicit arguments and are more elegantly logged
in a test framework by logging the arguments to the test.

The namespaces to be deleted are already logged inside
WaitForNamespacesDeleted
2021-01-20 14:48:46 -05:00
Claudiu Belu
483ed6a783 test images: Fixes echoserver image for Windows
The Windows echoserver image no longer relies on a helper image.
2021-01-20 14:48:07 +00:00
Claudiu Belu
8d565064ab test images: Prepend linux/ to peer-finder BASEIMAGEs
The BASEIMAGE entries should be formated as: OS/ARCH=image. The peer-finder
image BASEIMAGE file does not respect that format.
2021-01-20 13:43:19 +00:00
Kubernetes Prow Robot
e99f60f59b
Merge pull request #95351 from aojea/conntrack_invalid2
Support IPv6 on the e2e test ""should resolve connection reset issue #74839 "
2021-01-20 02:17:59 -08:00
Kubernetes Prow Robot
1e21a2eb35
Merge pull request #98181 from wojtek-t/deflake_network_tests
Attempt to deflake networking tests in large clusters
2021-01-20 01:19:59 -08:00
wojtekt
fa0b7dee9e Attempt to deflake networking tests in large clusters 2021-01-20 09:32:39 +01:00
Kubernetes Prow Robot
2eb456ba4f
Merge pull request #98193 from mattfenwick/patch-1
add knabben to test/e2e/network/netpol/OWNERS
2021-01-19 20:36:10 -08:00
Kubernetes Prow Robot
7f87f5174a
Merge pull request #98190 from claudiubelu/test-images/trigger-jobs
test images: Minor changes to trigger postsubmit image building jobs
2021-01-19 20:35:58 -08:00
Matt Fenwick
1786cd9867 add knabben to test/e2e/network/netpol/OWNERS 2021-01-19 15:46:30 -05:00
Ernest Wong
9af74a6be9
test images: bump BASEIMAGE of kitten and nautilus to agnhost 2.26
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-19 13:24:50 -05:00
Jan Safranek
b356030abb Skip PD tests on 1 node cluster
The PD tests should skip themselves if they observe only 1 node is
schedulable.
2021-01-19 18:34:01 +01:00
drfish
d4418c1402 Update the PreFilterExtensions interface to use PodInfo 2021-01-19 00:49:52 +08:00
Kubernetes Prow Robot
d70ee902fd
Merge pull request #97858 from lyzs90/pull-real-node-images
Pull hollow node images from real nodes
2021-01-18 06:25:44 -08:00
Stephen Heywood
6c1f3b7d5d Use json response to validate method sent via proxy 2021-01-18 12:55:30 +13:00
Stephen Heywood
e29a3f21bc Remove obsolete log message 2021-01-18 12:55:30 +13:00
Stephen Heywood
226f7c28e0 Response body checked for all requests other than http HEAD 2021-01-18 12:55:29 +13:00
Stephen Heywood
e9e74aa98b Create e2e test for pod & service ProxyWithPath endpoints 2021-01-18 12:55:29 +13:00
jay vyas
4d757f1c52 remove weird pause args from this networking.go, that break the periodic sig-network tests 2021-01-17 13:42:41 -05:00
Kubernetes Prow Robot
97cf67b329
Merge pull request #97897 from knabben/sctp-netpol-test
Copying SCTP tests to Netpol e2e framework
2021-01-17 07:27:43 -08:00
Kubernetes Prow Robot
d73693cb44
Merge pull request #98101 from aojea/agnhost26
bump agnhost to 2.26
2021-01-15 17:08:31 -08:00
Kubernetes Prow Robot
f4fd7cf86c
Merge pull request #98025 from hasheddan/fqdn-test
Default cluster dns-domain to empty string in e2e_node suite
2021-01-15 17:08:13 -08:00
Kubernetes Prow Robot
d5a75dc7e8
Merge pull request #97987 from jayunit100/directly_resolve_dns
directly query dns and resolve it in the e2es for windows
2021-01-15 13:57:56 -08:00
Antonio Ojea
44653fc21b bump agnhost to 2.26 2021-01-15 16:21:31 +01:00
Kubernetes Prow Robot
e1c1fd9edf
Merge pull request #97880 from justinsb/spelling
Fix spelling typos: scheduable -> schedulable
2021-01-15 03:43:51 -08:00
Kubernetes Prow Robot
33ee864e92
Merge pull request #97003 from ravisantoshgudimetla/remove-scheduler-preemption-test-from-conformance
make hostPort match test linuxonly
2021-01-14 19:39:51 -08:00
ravisantoshgudimetla
32c2ec5ceb conformance changes 2021-01-14 16:40:39 -05:00
ravisantoshgudimetla
c183ac16d1 make hostPort match test linuxonly 2021-01-14 16:40:39 -05:00
Kubernetes Prow Robot
0b4a30bb25
Merge pull request #93510 from smarterclayton/one_repo_test_images
test/utils/image: Support a single repository
2021-01-14 11:55:30 -08:00
Claudiu Belu
180b9527bd test images: Small changes to trigger image postsubmit jobs 2021-01-14 09:05:57 -08:00
Justin SB
d1b67f9683 e2e: DNS autoscaler test was not counting nodes correctly
The DNS autoscaler test was not correctly counting tainted but
schedulable nodes, meaning that the target count was not correct for
clusters with multiple control-plane nodes (which are often tainted
but schedulable).

The cluster-proportional-autoscaler ignores non-schedulable nodes, but
does not consider taints.
2021-01-14 11:19:32 -05:00
Adelina Tuvenie
577b335d65
Update Dockerfile_windows
Change Dockerfile Copyright year. Reason: retrigger image build job.
2021-01-14 17:04:02 +02:00
Antonio Ojea
6176597b0d update agnhost readme 2021-01-14 09:58:14 +01:00
Claudiu Belu
38dea811cb test images: Minor changes to trigger postsubmit image building jobs
Some of these images didn't have any job run for them. Some of these
images previously failed due to an issue that has been addressed since.

Making a change into their image directory will spawn a postsubmit job
that will build that image.
2021-01-13 21:44:55 -08:00
jayunit100
834ce35ba1 directly query dns and resolve it in the e2es for windows
add failure scenario for 1.1.1.1, so that no-op DNS CRI's are caught red-handed
2021-01-13 17:57:55 -08:00
Kubernetes Prow Robot
e1369ecfb4
Merge pull request #97878 from justinsb/e2e_split_network_test
e2e: split test into kubeup & generic tests
2021-01-13 13:27:03 -08:00
Amim Knabben
425e544a66 Copying SCTP netpol tests to new e2e framework 2021-01-13 13:34:11 -05:00
hasheddan
40ca31f524
Default cluster dns-domain to empty string in e2e_node suite
Changes default cluster DNS domain to empty string to align with the
default kubelet configuration value.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 10:53:11 -06:00
Kubernetes Prow Robot
f6e04cd3ad
Merge pull request #97638 from knabben/netpol-egress-func
Moving egress deny with DNS to a policy function
2021-01-13 04:18:35 -08:00
Antonio Ojea
67e2c37440 Use new image for e2e regression test 2021-01-13 11:02:58 +01:00
Antonio Ojea
7d699b3037 e2e test for invalid conntrack entry
This test is testing a bad conntrack behaviour, it doesn´t apply
only to kube-proxy.
2021-01-13 11:02:58 +01:00
Kubernetes Prow Robot
a098b5b16c
Merge pull request #97976 from claudiubelu/patch-2
test images: Print docker version and docker buildx version
2021-01-12 22:00:36 -08:00
Kubernetes Prow Robot
70435a298c
Merge pull request #97172 from Jefftree/opentest
Fix openapi model generation for apply when x-int-or-string is set
2021-01-12 16:02:35 -08:00
Kubernetes Prow Robot
981afd2bff
Merge pull request #97209 from jayunit100/patch-17
Update hybrid_network.go
2021-01-12 15:06:48 -08:00
Clayton Coleman
386f94ff03
test/utils/image: Support a single repository
In downstream contexts, it's extremely useful to be able to combine
all the "testable" images in Kubernetes into a single repo so that
a user could mirror these offline in one chunk, and audit the set of
images for changes. For instance, within OpenShift we would like to
have a single place we can place all the images used by all the tests
with a single authentication scheme. While some images are not "real"
and can't be mirrored (for instance, the images that point to an
auth protected registry), that is not the majority.

This code makes it possible to specify an environment variable
KUBE_TEST_REPO that maps the static strings of the registry to a
single repository by placing the uniqueness in a tag. For instance:

KUBE_TEST_REPO=quay.io/openshift/community-e2e-images

would translate `k8s.gcr.io/prometheus-to-sd:v0.5.0` to `quay.io/openshift/community-e2e-images:e2e-30-k8s-gcr-io-prometheus-to-sd-v0-5-0-6JI59Yih4oaj3oQOjRfhyQ`.

The tag is a safe form of the name, plus the index (the constant within
manifest.go), plus a hash of the full input. The length of the tag is
constrained to the minimum of hash + index + the safe name.

The public method is changed to return two maps - index to original
name and index to test repo name. These maps would be the same if
the env var is not set.
2021-01-12 15:22:30 -05:00
Kubernetes Prow Robot
cbcb26e7a5
Merge pull request #97653 from heqg/unused-kubeletPort
remove unused constant of kubeletPort in e2e test
2021-01-12 11:56:35 -08:00
Kubernetes Prow Robot
e414d4e5c2
Merge pull request #96315 from twosigma/dnsdomainteste2e
Ensuring default DNS cluster-domain of Kubelet is cluster.local
2021-01-12 10:28:35 -08:00
Claudiu Belu
77ca485321
test images: Print docker version and docker buildx version
For debugging purposes, it should be useful to run ``docker version`` and ``docker buildx version`` in order to more easily check and verify issues encountered with the Image Builder.
2021-01-12 19:35:56 +02:00
Kubernetes Prow Robot
db183c7e80
Merge pull request #97754 from wzshiming/fix-kubectl-convert
Fix kubectl-convert import known versions
2021-01-12 09:27:54 -08:00
wzshiming
df9a7797bb kubectl-convert import known versions 2021-01-12 19:04:50 +08:00
Claudiu Belu
ee9be7ce5a tests: Removes node created by test
The test "A node shouldn't be able to create another node" could create
a node during its run, but it doesn't delete it in this case.

This commit addresses this issue.
2021-01-11 15:39:43 -08:00
Kubernetes Prow Robot
f1941c9c6d
Merge pull request #97046 from claudiubelu/test-images-2004
test images: Adds BASEIMAGE for windows/amd64/2004 and windows/amd64/20H2
2021-01-11 11:18:25 -08:00
Kubernetes Prow Robot
ba5f5bea64
Merge pull request #96984 from adtac/apfe2e-3
APF e2e test: wait for steady state before proceeding
2021-01-11 09:36:25 -08:00
Kubernetes Prow Robot
1f0ef8e679
Merge pull request #97293 from roycaihw/storage-version/gc-rbac
add rbac rule for storage version garbage collector
2021-01-11 08:39:07 -08:00
Adhityaa Chandrasekar
1ae5ed9f6f APF e2e: wait for steady state before proceeding
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-01-11 15:46:05 +00:00
Justin SB
8797738c02 Fix spelling typos: scheduable -> schedulable
Bulk fix of a common typo.
2021-01-09 12:59:33 -05:00
Justin Santa Barbara
33055a8b6b e2e: recognize multi-node control planes
We were treating multiple nodes as a failure; instead we can return all
the node (internal) IPs we find.
2021-01-09 09:18:29 -05:00
Justin Santa Barbara
ae26042e1a e2e: split test into kubeup & generic tests
The "should have correct firewall rules for e2e cluster" test is GCE
specific, and likely specific to the kube-up configuration.

However, the second half of the test is a generic behaviour based test
that verifies that ports are not reachable.

We can split this into two tests, with an eye to running the generic
test in more places.
2021-01-09 09:15:47 -05:00
Kubernetes Prow Robot
be839a4365
Merge pull request #97177 from pacoxu/cleanup/docker-20.10
cleanup: legacy 'ENV name value' syntax deprecated(Docker 20.10)
2021-01-08 20:01:04 -08:00
Kubernetes Prow Robot
06482704e6
Merge pull request #97816 from jayunit100/fix_node_selector_hostmaps
Fix node selector hostmaps
2021-01-08 16:57:06 -08:00
Kubernetes Prow Robot
781eb03b89
Merge pull request #96792 from aojea/promotev6image
e2e test regression image multiarch
2021-01-08 15:39:05 -08:00
jayunit100
13b0a3e4f2 volumes tests - adding support for windows labels 2021-01-08 11:53:53 -08:00
Haowei Cai
83b30bc92f generated 2021-01-08 11:39:41 -08:00
Haowei Cai
be172d6900 add rbac role for storage version GC 2021-01-08 11:39:08 -08:00
Kubernetes Prow Robot
04e3106b1e
Merge pull request #97809 from jayunit100/fix_node_port_windows
Fix node port tests windows nodeSelector metadata
2021-01-08 10:34:29 -08:00
lyzs90
7b3322f677 Pull hollow node images from real nodes 2021-01-09 00:12:56 +08:00
Kubernetes Prow Robot
b259c92dda
Merge pull request #96966 from tkashem/pf-e2e
p&f e2e: the test should log expected and actual response header in case it fails.
2021-01-08 07:56:56 -08:00
Kubernetes Prow Robot
cc09a6df58
Merge pull request #97844 from aojea/essip
don´t panic on e2e ESIPP tests
2021-01-08 03:36:53 -08:00
Antonio Ojea
6bedf4a98b don´t panic on e2e ESIPP tests
The ESIPP tests are using a function to poll an HTTP endpoint.
This function failed the framework if the request to the http endpoint
timed out, causing a panic that ginkgo couldn´t recover.

Also, this function was used inside a pollImmediate loop, so it should
return the error instead of fail.
2021-01-08 10:52:49 +01:00
Antonio Ojea
2548fa1112 Revert "dump conntrack table on e2e conntrack failures"
This reverts commit 0ef7f27fc1.

The info is not enough to debug the problems, there are simply no
conntrack entries but there is no clue about it.

Another problem is that it dumps the conntrack entries from all
nodes, that is more than 40 mins in a scale test job with 5000 nodes.
2021-01-08 10:04:40 +01:00
Kubernetes Prow Robot
611aff9221
Merge pull request #97702 from jayunit100/patch-21
set numberOfWorkers for netpol suite to the ideal value (3) that is n…
2021-01-07 14:08:54 -08:00
jayunit100
89120be5c3 adding a windows nodeSelector for nodePort tests
jig modifier
2021-01-07 14:01:55 -08:00
Kubernetes Prow Robot
84b4569390
Merge pull request #97804 from jayunit100/windows-node-selector
adding windows os selector to the dnsPolicy tests
2021-01-07 11:51:13 -08:00
jay vyas
9aca5f8e41 Update hybrid_network.go
Add By clauses to windows networking test so that we always know where it failed and how
2021-01-07 12:44:00 -05:00
jayunit100
4ddd22c9c9 adding windows os selector to the dnsPolicy tests
adding a feature selector to the windows Describe dns test
2021-01-07 12:41:51 -05:00
jay vyas
ba0a87015a set numberOfWorkers for netpol suite to the ideal value (3) that is non-disruptive 2021-01-07 12:36:19 -05:00
Kubernetes Prow Robot
f9c7c59e25
Merge pull request #97451 from pacoxu/fix/cluster-ip-quota
bugfix: nodeport quota check failure result into failing to create a clusterip service
2021-01-07 06:41:45 -08:00
Kubernetes Prow Robot
c5cc25d1cb
Merge pull request #97615 from wojtek-t/immutable_secrets_ga
Promote Immutable Secrets/ConfigMaps to Stable
2021-01-07 00:03:45 -08:00
Kubernetes Prow Robot
585fc57cc7
Merge pull request #97327 from ii/update-apiservice-test
Update: Write Read Status, Patch & List APIService test +3 endpoints
2021-01-06 23:07:45 -08:00
Kubernetes Prow Robot
d5e8aa2d03
Merge pull request #97524 from NillsF/master
Add e2e networkPolicy test to validate egress deny precedence over ingress allow
2021-01-06 19:57:45 -08:00
Kubernetes Prow Robot
ab8dda3c88
Merge pull request #97736 from knabben/default-deny-egress
Default deny egress with pod label selector
2021-01-06 16:41:50 -08:00
pacoxu
15867d9e8a bugfix: check Spec.AllocateLoadBalancerNodePorts for nodeport and skip zero usage in delta evaluator
Signed-off-by: pacoxu <paco.xu@daocloud.io>

When Spec.AllocateLoadBalancerNodePorts is "false" NodePort shall
not be included when computing quota for type:LoadBalancer.

Co-authored-by: uablrek
2021-01-07 07:11:22 +08:00
Kubernetes Prow Robot
24f4fe7c8c
Merge pull request #97571 from mattfenwick/issue-97425
97425: improve netpol comments
2021-01-06 13:05:52 -08:00
Kubernetes Prow Robot
f7c1f84ad7
Merge pull request #97526 from mattfenwick/patch-1
add OWNERS file to kubernetes/test/e2e/network/netpol
2021-01-06 12:01:52 -08:00
Matt Fenwick
5f80d7b3cf add OWNERS file to kubernetes/test/e2e/network/netpol 2021-01-06 11:17:24 -05:00
Kubernetes Prow Robot
02bce1fbb0
Merge pull request #96866 from ravisantoshgudimetla/increase-timeout
Fix test failures
2021-01-05 19:57:51 -08:00
Kubernetes Prow Robot
b959f01c5a
Merge pull request #97629 from heqg/typo-formatted
Fix Spelling error about [formatted] for statefulset.go
2021-01-05 17:10:27 -08:00
Amim Knabben
fc46c0a75a Default deny egress with pod label selector 2021-01-05 15:31:09 -05:00
Kubernetes Prow Robot
974404757d
Merge pull request #96929 from gavinfish/sched-plugin-core
Scheduler: Move PodPassesFiltersOnNode out of core to avoid plugin dependency
2021-01-05 11:46:13 -08:00
Kubernetes Prow Robot
07bd985724
Merge pull request #96561 from ialidzhikov/cleanup/csi-node-info
Remove CSINodeInfo feature gate
2021-01-05 11:46:00 -08:00
Nills Franssens
eaad78c8fe adding egress ingress test case 2021-01-05 08:47:37 -08:00
Andrew Sy Kim
2242d0ffc4 test/conformance: generate testdata for adding probe exec timeout tests
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-04 10:39:01 -05:00
Andrew Sy Kim
af3e118b1f test/e2e/common: promote container probe exec timeout tests to conformanec
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-04 10:39:01 -05:00
Ling Samuel
99cdc37e2a
fix kubectl wait --for=delete ignore not found
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-04 13:38:06 +08:00
he.qingguo
24e890455d remove unused variable of Code
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-04 10:32:27 +08:00
Kubernetes Prow Robot
ff4234720d
Merge pull request #97469 from jayunit100/patch-19
Adding casey (sig-net chair) to approvers list for test/e2e/network
2021-01-03 10:41:55 -08:00
Matthew Fenwick
19dd785870 97425: improve netpol comments 2021-01-02 16:03:34 -05:00
he.qingguo
ced98afe56 remove unused constant of kubeletPort in e2e test
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-02 12:16:07 +08:00
Amim Knabben
d378fca35a Moving egress deny with DNS to policy function 2020-12-31 08:10:36 -05:00
he.qingguo
c1e1eb4d29 Fix Spelling error about [formatted] for statefulset.go
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2020-12-31 15:48:36 +08:00
wojtekt
60828f36f8 Update conformance tests list 2020-12-30 16:56:08 +01:00
wojtekt
0f88bbe9b1 Promote Immutable Secrets/ConfigMaps feature to GA 2020-12-30 16:00:41 +01:00
he.qingguo
c39d5da986 remove unused variable in e2e test[types]
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2020-12-29 10:39:43 +08:00
Kubernetes Prow Robot
47c2983490
Merge pull request #97432 from saikat-royc/skip-multiaz-volume-test
Skip multi az PD storage test if no extra zone detected
2020-12-23 12:00:38 -08:00
Kubernetes Prow Robot
e20300b1a0
Merge pull request #93285 from aarnaud/windows-devicemanager
Port deviceManager to windows container manager to enable GPU access
2020-12-23 12:00:26 -08:00
Kubernetes Prow Robot
fec1a366c3
Merge pull request #91592 from jayunit100/netpol-impl2
new NetworkPolicy Validation suite
2020-12-23 05:56:27 -08:00
jay vyas
36ae8fd91a import the netpol testing package so that ownership is attributed correctly in the network policy testing suit 2020-12-23 07:40:47 -05:00
jay vyas
59517f7335
Adding casey (sig-net chair) to approvers list for test/e2e/network
Adding casey (sig-net chair) to approvers list for test/e2e/network
2020-12-22 16:20:59 -05:00
Saikat Roychowdhury
bc4977724f Skip multi az PD storage test if no extra zone detected 2020-12-22 21:06:44 +00:00
Kubernetes Prow Robot
c6b3e72e0e
Merge pull request #97421 from claudiubelu/test-images-20h2
test images: Adds 20H2 to the windows_os_versions
2020-12-22 07:52:41 -08:00
David Xia
0756e54dfc
Fix typo in comment 2020-12-21 20:02:20 -05:00
Kubernetes Prow Robot
b10d82b93b
Merge pull request #97422 from claudiubelu/sample-apiserver-tty
test images: Allows sample-apiserver to be built without a TTY
2020-12-21 14:00:25 -08:00
drfish
070773c399 Remove scheduler plugins package's dependency from core package 2020-12-20 00:18:40 +08:00
Kubernetes Prow Robot
7da7d2084c
Merge pull request #96918 from aojea/agnhostbump
bump agnhost base image
2020-12-17 13:54:24 -08:00
Claudiu Belu
64934518fd test images: Allows sample-apiserver to be built without a TTY
Currently, the image's postsubmit job fails because of the docker run -t
in the image's Makefile. We don't need it in order to build the image.

Logs: https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/post-kubernetes-push-e2e-sample-apiserver-test-images/1331076845436669952
2020-12-17 13:02:19 -08:00
Claudiu Belu
31101408d3 test images: Adds 20H2 to the windows_os_versions
We are planing to test and support 20H2 release of Windows, thus,
we need to build test images for it as well. The busybox image already
has a BASEIMAGE entry for it, but we also need to add it to the image-util.sh's
windows_os_versions, so the OS Version can be properly included in the
manifest list.
2020-12-17 12:43:22 -08:00
Riaan Kleinhans
de9dd82c54 Extend APIService e2e testing of endpoints
e2e test validates the following 3 extra endpoints
- readApiregistrationV1APIServiceStatus
- patchApiregistrationV1APIService
- listApiregistrationV1APIService
2020-12-18 09:25:13 +13:00
Claudiu Belu
479f37e5e9 test images: Adds 20H2 to the windows_os_versions
We are planing to test and support 20H2 release of Windows, thus,
we need to build test images for it as well. The busybox image already
has a BASEIMAGE entry for it, but we also need to add it to the image-util.sh's
windows_os_versions, so the OS Version can be properly included in the
manifest list.
2020-12-17 19:03:01 +00:00
Claudiu Belu
6816b2e7e9 test images: Adds dockerhub images for mirroring
Dockerhub will introduce rate limiting in November, and a lot of E2E tests
are relying on the busybox image. It could potentially become an issue
causing jobs to fail because of this.

Ideally, we'd have the busybox image mirrored on gcr.io, but that could take
some time. Until then, we can just have the Image Builder mirror the image
for us in the staging registry and use that for tests until this issue is
solved. The busybox image should NOT be promoted out of staging.

During the sig-testing meeting, it was decided that we should do the same
for the other images are hosted on dockerhub.

Two different versions of httpd and nginx have to be built, and thus, the have
different folders. An ALIAS file was added to httpd-new and nginx-new in order
to keep the same image name.
2020-12-17 19:02:26 +00:00
Antonio Ojea
bbfed8a7db fix sctp hostPort test
The test create a pod with a hostPort to expose an SCTP port, then
it checks if the iptables rules were installed correctly in the host.

The iptables rules MUST be checked in the same host where the pod
is running :)
2020-12-17 18:31:35 +01:00
Kubernetes Prow Robot
b9ce4ac212
Merge pull request #97346 from linux-on-ibm-z/issue-97318
Bump agnhost and nonewprivs versions
2020-12-16 19:19:08 -08:00
Rajas Kakodkar
902f4a9038 bump agnhost VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 17:48:28 +00:00
Kubernetes Prow Robot
dc39ab2417
Merge pull request #97345 from mm4tt/service-test-disabled-for-large-clusters
Remove the 'DisabledForLargeClusters' tags from non-session-affinity LB network tests
2020-12-16 07:12:21 -08:00
Kubernetes Prow Robot
970b532379
Merge pull request #97344 from towca/jtuznik/ca-e2e-fix
Update autoscaling e2e test after an event message was changed
2020-12-16 05:38:21 -08:00
Mateusz Matejczyk
3affac239e Remove the 'DisabledForLargeClusters' tags from non-session-affinity LB network tests
Ref. https://github.com/kubernetes/kubernetes/issues/90047
2020-12-16 13:26:42 +01:00
Kubernetes Prow Robot
609f46715b
Merge pull request #97151 from pacoxu/fix/97138
cleanup: remove dup key VolumeStatsUsedBytesKey in test
2020-12-16 03:14:21 -08:00
Jakub Tużnik
f9b66102de Update autoscaling e2e test after an event message was changed
The test no longer passes because it checks for a part of an event
message which has recently been removed from Cluster Autoscaler.
2020-12-16 11:17:01 +01:00
Kubernetes Prow Robot
60cfd74e6b
Merge pull request #97324 from claudiubelu/test-images/busybox-2004-20h2
test images: Adds Windows 2004 and 20H2 base images for busybox
2020-12-16 01:20:20 -08:00
Rajas Kakodkar
794080c8da bump VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 07:36:31 +00:00
Rajas Kakodkar
7a82831255 bump VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 07:35:59 +00:00
Kerstin08
dc86fb9390 Add e2e test for windows device manager 2020-12-16 00:30:05 -05:00
Kubernetes Prow Robot
8bfdd6a21b
Merge pull request #97311 from zzzkl/master
Fix typo in e2e test log
2020-12-15 17:20:20 -08:00
Claudiu Belu
f78aa177fa test images: Adds windows/amd64/20H2 BASEIMAGE 2020-12-15 16:35:01 +00:00
Kubernetes Prow Robot
6d43e2b3bb
Merge pull request #96834 from chendave/fix_race
Add performance benchmark for the preemption with volume
2020-12-15 07:13:49 -08:00
zzzkl
987562bb8e
Fix typo in e2e test log 2020-12-15 15:39:09 +08:00
Dave Chen
ebcca92771 Add performance benchmark for the preemption with volume
This will help to reveal the potential issues when the
volume is in place.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-15 10:54:01 +08:00
Kubernetes Prow Robot
2b23e71f6c
Merge pull request #97229 from 249043822/br-e2e-scheduling
remove unused funcs for e2e predicates
2020-12-14 18:34:01 -08:00
Kubernetes Prow Robot
52bf6641f7
Merge pull request #95019 from aojea/sliceFalke
Fix e2e endpoint slice flake test
2020-12-14 18:33:48 -08:00
Kubernetes Prow Robot
d4ff560d73
Merge pull request #97291 from Jiawei0227/fixTest
Skip unsupported tests for disruptive testsuite
2020-12-14 15:42:20 -08:00
Kubernetes Prow Robot
868d185ffb
Merge pull request #97137 from ii/update-logging-for-pod-lifecycle-test
Update Error logging for Pod+PodStatus resource lifecycle test
2020-12-14 15:42:11 -08:00
Kubernetes Prow Robot
658bf92879
Merge pull request #81209 from mlmhl/kubemark-e2e
fix kubemark e2e script
2020-12-14 15:41:48 -08:00
jay vyas
debbe9dce9 New NetworkPolicy tests: Part 2, all truth table validation scenario definitions
Co-authored-by: Matt Fenwick <mfenwick100@gmail.com>
Co-authored-by: Jay Vyas <jvyas@vmware.com>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
2020-12-14 17:14:25 -05:00
Kubernetes Prow Robot
84ba901b60
Merge pull request #97247 from claudiubelu/test-images/20h2-windows
test images: Adds 20H2 image to windows-servercore-cache
2020-12-14 14:02:10 -08:00
Kubernetes Prow Robot
caab2fb4d7
Merge pull request #97183 from lala123912/suffix_clear_4
remove suffixes from generated StorageClasses and VolumeSnapshotClass
2020-12-14 14:02:02 -08:00
Matthew Fenwick
65632b8677 NetworkPolicy Validation suite
Co-authored-by: Matt Fenwick <mfenwick100@gmail.com>
Co-authored-by: Jay Vyas <jvyas@vmware.com>
Co-authored-by: Rich Renner <renner@sunder.io>
Co-authored-by: Sedef Savas <ssavas@vmware.com>
Co-authored-by: Guangyang Wang <wguangyuan@vmware.com>
Co-authored-by: Akash Sarda <akashsarda3@gmail.com>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
Co-authored-by: Antonin Bas <abas@vmware.com>
Co-authored-by: Antonio Ojea <aojea@redhat.com>

addressed remaining minor comments

initial netpol-framework
2020-12-14 16:47:39 -05:00
tiloso
3cbdc711de Fix staticcheck in test/integration/{examples,framework}
Part of #92402, fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
2020-12-14 21:54:37 +01:00
Kubernetes Prow Robot
568cd3df0b
Merge pull request #97282 from aojea/revHostNetwork
Revert "use uncommon ports for e2e network test"
2020-12-14 12:41:49 -08:00
Jiawei Wang
d0a3faa829 Skip unsupported tests for disruptive testsuite 2020-12-14 11:18:20 -08:00
Kubernetes Prow Robot
bd4d197b52
Merge pull request #96447 from chendave/bind_postfilter
Remove the deprecated metrics from scheduler
2020-12-14 06:31:28 -08:00
lala123912
165907f60a remove suffixes from generated StorageClasses and VolumeSnapshotClass 2020-12-14 16:48:41 +08:00
Antonio Ojea
638da25dd1 Revert "use uncommon ports for e2e network test"
This reverts commit be1ed2f43a.

The problem happens when the pod tries to be scheduled, not the
service. Also, maybe skipping is not the best idea ...
2020-12-14 08:56:16 +01:00
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