Commit Graph

19803 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
29e4fdab4d
Merge pull request #102167 from aojea/removekubemci
remove ingress kubemci tests from e2e
2021-05-20 05:49:04 -07:00
Kubernetes Prow Robot
584fbd23d6
Merge pull request #101889 from pacoxu/add-e2e-log-cleanup
e2e: add log for running which cleanup action
2021-05-20 03:47:04 -07:00
Kubernetes Prow Robot
f4f238e038
Merge pull request #101601 from AliceZhang2016/indexed-job-stable-hostname
specify pod name and hostname in indexed job
2021-05-20 01:41:05 -07:00
Antonio Ojea
da9ec0d4c7 remove ingress kubemci tests from e2e 2021-05-20 10:18:43 +02:00
Kubernetes Prow Robot
254c77bb89
Merge pull request #101612 from ikeeip/tests_e2e_resolve_todo_1
cleanup: remove TODO at e2e scheduling preemption test
2021-05-19 20:49:04 -07:00
Kubernetes Prow Robot
f01c9e8683
Merge pull request #102030 from aojea/ingress_beta
bump ingress e2e tests  to v1
2021-05-19 17:23:17 -07:00
marosset
ae424160bd Adding e2e test for HostProcess containers on Windows 2021-05-19 16:24:14 -07:00
Kubernetes Prow Robot
3cc0ca0988
Merge pull request #102129 from SataQiu/clean-critical-pod-annotation
Cleanup useless 'scheduler.alpha.kubernetes.io/critical-pod' annotation
2021-05-19 15:25:31 -07:00
Kubernetes Prow Robot
4e0245389f
Merge pull request #101995 from ii/Riaankl-daemonset-list-deletecollection
Write List and DeleteCollection DaemonSet Test +2 endpoints
2021-05-19 15:25:15 -07:00
Kubernetes Prow Robot
8709f18356
Merge pull request #101382 from ii/Riaankl-update-ineligible_endpoints.yaml
Add NetworkPolicy Endpoint to Ineligible endpoints
2021-05-19 15:24:52 -07:00
Lubomir I. Ivanov
6d6c6cfb0d kubeadm: remove e2e test for ClusterStatus
Remove the e2e test for ClusterStatus in the kubeadm suite.
The object was deprecated in a previous release and is no longer
written by kubeadm v1.22 in the kubeadm-config config map.
2021-05-20 01:15:05 +03:00
Kubernetes Prow Robot
43c39ea7da
Merge pull request #101261 from ii/Riaankl-replicaset-list-deletecollection
Write ReplicaSet List and DeleteCollection test +2 endpoints
2021-05-19 14:22:50 -07:00
ravisantoshgudimetla
040e9c8b51 Promote DS MaxSurge to beta 2021-05-19 16:12:52 -04:00
Mengxue Zhang
e64e34e029 specify pod name and hostname in indexed job 2021-05-19 15:30:13 +00:00
xing-yang
e3cc96e002 Update test/e2e/framework/volume owners file 2021-05-19 13:43:21 +00:00
Antonio Ojea
5ffed5133d tag ingress multicluster test and adapt to v1 2021-05-19 13:28:22 +02:00
Antonio Ojea
c822a1f2c6 gcp ingress only supports ImplementationSpecific path type 2021-05-19 11:48:01 +02:00
SataQiu
ff18e391e9 cleanup useless 'scheduler.alpha.kubernetes.io/critical-pod' annotation 2021-05-19 17:46:35 +08:00
Antonio Ojea
7b38012e74 add pathtype to scale ingress 2021-05-19 11:41:49 +02:00
Konstantin Misyutin
351f4e9c9c cleanup: remove TODO at e2e scheduling preemption test
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-05-19 17:34:50 +08:00
Antonio Ojea
fa56d296e0 e2e ingress don't set class if empty 2021-05-19 10:23:49 +02:00
Antonio Ojea
0839ed41ac mark test that restart kcm as disruptive 2021-05-19 09:31:57 +02:00
Kubernetes Prow Robot
80093635c6
Merge pull request #102109 from mauriciopoppe/remove-v1beta1-test-volume-provisioning
Remove v1beta1 volume provisioning test
2021-05-18 23:33:20 -07:00
Stephen Heywood
3c1576ae57 Create e2e Deployment status lifecycle test
e2e test validates the following 3 endpoints
- readAppsV1NamespacedDeploymentStatus
- replaceAppsV1NamespacedDeploymentStatus
- patchAppsV1NamespacedDeploymentStatus
2021-05-19 16:34:10 +12:00
Stephen Heywood
bcfa3604a2 Create e2e test for Statefulset Status endpoints
e2e test validates the following 3 endpoints
- patchAppsV1NamespacedStatefulSetStatus
- readAppsV1NamespacedStatefulSetStatus
- replaceAppsV1NamespacedStatefulSetStatus
2021-05-19 16:17:19 +12:00
Shiming Zhang
990d0949c4 Add test, after restart dbus, should be able to gracefully shutdown 2021-05-19 10:06:06 +08:00
Zihong Zheng
903c2301cf Update dns autoscaler test to look at node allocatable instead of capacity 2021-05-18 16:33:49 -07:00
Antonio Ojea
8f5020a3aa skip nginx controller e2e tests 2021-05-18 22:49:07 +02:00
Mauricio Poppe
88165b02ba remove v1beta1 volume provisioning test 2021-05-18 20:46:57 +00:00
Antonio Ojea
7d7179ebfd bump e2e test to ingress v1 2021-05-18 21:42:48 +02:00
Kubernetes Prow Robot
1bd66f0301
Merge pull request #100859 from lack/relax_mount_propagation_e2e_test
Position e2e Mount Propagation test to be kubelet-specific
2021-05-18 09:44:49 -07:00
Jordan Liggitt
4b45d0d921 Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94"
This reverts commit b1b06fe0a4, reversing
changes made to 382a33986b.
2021-05-18 09:13:47 -04:00
Kubernetes Prow Robot
7ccd90e7d7
Merge pull request #102004 from chendave/ceph_rbd
Fix the ceph deploy for e2e testing for ARM64
2021-05-18 05:53:31 -07:00
Arda Güçlü
0965cad63a Use builtin JoinHostPort function 2021-05-18 14:49:02 +03:00
Arda Güçlü
2ae12e6345 Add Node IP IPv6 formatting in NodeAuthenticator tests 2021-05-18 11:47:15 +03:00
Kubernetes Prow Robot
5c58620118
Merge pull request #101726 from ankeesler/exec-plugin-integration-test
test/integration/client: add TestExecPluginRotationViaInformer
2021-05-18 01:29:30 -07:00
Dave Chen
f95a56a99b Fix the ceph deploy for e2e testing for ARM64
- ceph deploy on ARM64 depends on "libec_jerasure_neon.so" which is not included
in `ceph-base` package in fedora26 distro, updated the distro to fedora33 to
fix the issue

```
sh ./mon.sh "$(hostname -i)"
/usr/lib64/ceph/erasure-code/libec_jerasure_neon.so: cannot open shared object file
```

- default pool `rbd` is not created on arm64, need to created this pool manually.

```
rbd import --image-feature layering block foo
rbd: error opening default pool 'rbd'
```

Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-05-18 16:01:05 +08:00
Andrew Keesler
a14cd8e3de
test/integration/client: add TestExecPluginRotationViaInformer
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-17 17:22:09 -04:00
Kubernetes Prow Robot
4d4b530114
Merge pull request #101903 from cynepco3hahue/e2e_remote_kernel_args
e2e node: make possible to add additional kernel arguments
2021-05-17 13:39:59 -07:00
Kubernetes Prow Robot
b1b06fe0a4
Merge pull request #101888 from kolyshkin/update-runc-rc94
vendor: bump runc to rc94
2021-05-17 09:43:30 -07:00
Peri Thompson
f01cc7f09a
replace hardcoded docker image 2021-05-17 14:18:26 +01:00
pacoxu
8255288b20 e2e: add log for running which cleanup action
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-05-16 15:50:43 +08:00
Jian Zeng
32c14da902
fix(metrics-proxy): wait for enough component pods to show up first
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-15 22:07:05 +08:00
Kubernetes Prow Robot
49a60be8ab
Merge pull request #101496 from ahg-g/ahg-nss-beta
Graduate pod affinity NamespaceSelector to Beta
2021-05-14 08:48:04 -07:00
Abdullah Gharaibeh
e49d1144d5 graduate pod affinity NamespaceSelector to Beta 2021-05-14 10:44:57 -04:00
Shihang Zhang
88b31814f4 BoundServiceAccountTokenVolume ga 2021-05-13 20:45:47 -07:00
Kubernetes Prow Robot
8abdf8cf45
Merge pull request #99840 from deads2k/try-beta
update to handle beta removals in 1.22
2021-05-13 16:42:05 -07:00
Kubernetes Prow Robot
9739592e84
Merge pull request #101895 from pacoxu/scheduler-proxy-port-wait
e2e: waiting for scheduler pod to expose metrics once
2021-05-13 09:34:38 -07:00
David Eads
d6a4afa5b8 update integration tests to reflect the kube version to stop serving removed APIs 2021-05-13 12:04:15 -04:00
Kubernetes Prow Robot
b7e50cd60c
Merge pull request #101931 from ii/update-current-term-period
Increase TerminationGracePeriodSeconds to 1 second
2021-05-13 07:12:26 -07:00
Kubernetes Prow Robot
f35e587087
Merge pull request #99899 from hasheddan/update-node-e2e-note
Update dependencies in local node test runner
2021-05-13 03:54:25 -07:00
pacoxu
c496b1d335 e2e: waiting for scheduler pod to expose metrics once
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-05-13 16:54:35 +08:00
Kubernetes Prow Robot
1c8f2c3d77
Merge pull request #100753 from johnSchnake/newCustomRegistries
Clean up and make more image handling consistent
2021-05-12 22:10:24 -07:00
Kubernetes Prow Robot
e6e6536c1f
Merge pull request #101950 from liggitt/watch-order
Make watch order conformance test reliable
2021-05-12 17:26:24 -07:00
Jordan Liggitt
630573adac Make watch order conformance test reliable 2021-05-12 08:38:01 -04:00
Stephen Heywood
4e3d006001 Increase TerminationGracePeriodSeconds to 1 2021-05-12 11:09:34 +12:00
Masaki Kimura
382f37142c storage e2e: auto detect sector size 2021-05-11 22:32:05 +00:00
Jordan Liggitt
7877539e30 Promote apiserver_requested_deprecated_apis metric to stable 2021-05-11 16:25:14 -04:00
Artyom Lukianov
93ff47b05b e2e node: make possible to add additional kernel arguments
Add an option to configure additional kernel arguments during
the setup of e2e node environment.

The example:
cos-stable1:
image_family: cos-89-lts # docker v19.03.6, deprecated after 2021-06-24
project: cos-cloud
metadata: "user-data<test/e2e_node/jenkins/cos-init-live-restore.yaml,gci-update-strategy=update_disabled"
kernel_arguments:
- "numa=fake=2"
machine: n1-standard-4

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-05-11 13:49:32 +03:00
sanposhiho
074f25523b scheduler_perf: correct error handling 2021-05-11 11:47:20 +09:00
Kubernetes Prow Robot
0e13f93c26
Merge pull request #101461 from cynepco3hahue/fix_race_condition_under_memory_manager_test
e2e node: fix the race condition under the memory manager test
2021-05-10 18:51:36 -07:00
Giuseppe Scrivano
a460aaf41d test: adjust number of expected page faults
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-05-10 17:34:49 -07:00
Kubernetes Prow Robot
7563d3092e
Merge pull request #96216 from knight42/refactor/disable-insecure-port-in-ctrler-mgr
refactor: disable insecure serving in controller-manager
2021-05-10 13:49:36 -07:00
Kubernetes Prow Robot
117952b397
Merge pull request #101833 from pacoxu/patch-9
upgrade nvidia-driver-installer to 2.0.5
2021-05-10 09:45:41 -07:00
Davanum Srinivas
79e5a1d5f1
Use tonistiigi/binfmt instead of our multi-arch register.sh
Looking deeper into the logs there are a lot of errors like:
`script exited with error 1`

Initial reaction was that there was a problem with download, but it
looks like the script we use to register the qemu emulators may be at
fault, let's try this alternate mechanism.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-08 20:25:30 -04:00
Paco Xu
6ec2228b90
upgrade nvidia-driver-installer to 2.0.5 2021-05-08 20:28:44 +08:00
Kubernetes Prow Robot
c05810cc5d
Merge pull request #96702 from lingsamuel/wait-for-delete-ignore-not-found
Fix `kubectl wait --for=delete` ignore not found
2021-05-07 20:29:17 -07:00
Kubernetes Prow Robot
e4b01cf0d1
Merge pull request #101806 from jingxu97/may/multivolumetest
Fix multivolume access tests for Windows
2021-05-07 16:47:25 -07:00
Kubernetes Prow Robot
62bc76b0de
Merge pull request #101809 from justaugustus/go116
[go1.16] Update to go1.16.4
2021-05-07 15:41:18 -07:00
Kubernetes Prow Robot
f697cb8d94
Merge pull request #101684 from jackfrancis/e2e-wait-for-nodes-retyable-error
test: retryable error in wait for ready nodes test
2021-05-07 14:35:03 -07:00
Kubernetes Prow Robot
c224ca7674
Merge pull request #101800 from dims/add-a-retry-for-apk-operations
[agnhost] Add a retry for apk operations
2021-05-07 13:32:10 -07:00
Kubernetes Prow Robot
548fb43643
Merge pull request #101292 from AliceZhang2016/job_controller_metrics
Graduate indexed job to beta
2021-05-07 13:31:44 -07:00
Stephen Augustus
5b530da51f [go1.16] Update to go1.16.4
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-05-07 15:47:54 -04:00
Jack Francis
e67bce7077 test: retryable error in wait for ready nodes test 2021-05-07 12:19:36 -07:00
Jing Xu
5e5a3ce85a Fix multivolume access tests for Windows
Fix issue for multivolume access tests

Change-Id: I7e00d8bfe9682540b60b5998f78f2a48550934af
2021-05-07 10:53:40 -07:00
Davanum Srinivas
fdaa44da73
[agnhost] Add a retry for apk operations
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-07 12:44:37 -04:00
Kubernetes Prow Robot
f101acdbe2
Merge pull request #97663 from heqg/unused-variable-Code
remove unused variable of Code
2021-05-06 19:41:02 -07:00
Jing Xu
89edde3b31 Add function to copy a single pod log in podlogs
The existing function in podlogs is copyAllLogs from a namespace. Add a
new function to copy log from a single pod.

Change-Id: I39d139a2a57d72a0af3432626b0c02c1b43333d2
2021-05-06 16:31:46 -07:00
Nick Triller
5ea0162906
e2e: deflake test by not relying on events 2021-05-06 10:49:21 +02:00
Kubernetes Prow Robot
413ac5db56
Merge pull request #101709 from aojea/svc_multiport
conformance test for Services should validate behaviour
2021-05-06 01:47:15 -07:00
Kubernetes Prow Robot
25f9b6b1d0
Merge pull request #98906 from pacoxu/deflake/resource-quota
deflake a resource quota check for best-effort pods
2021-05-05 23:09:15 -07:00
Kubernetes Prow Robot
70481591b3
Merge pull request #98629 from wzshiming/fix-pull-image-url
Fix pull empty image URL
2021-05-05 20:21:15 -07:00
John Schnake
0adf70b61b Clean up and make more image handling consistent
- Cleans up some of the image registry handling by
initializing values in a more consistent and clear
manner.

- Adds the Docker library registry to the list of
values that is override-able.

- Adds a few branches to logic to ensure each registry
is handled the same.
2021-05-05 21:08:29 -05:00
Kubernetes Prow Robot
add13090e2
Merge pull request #101732 from spencer-p/master
Promote kube-addon-manager to v9.1.5
2021-05-05 18:49:17 -07:00
Matthias Bertschy
3916c00955 fix manual trigger of readinessProbe on startupProbe success 2021-05-05 11:21:40 +02:00
Spencer Peterson
a119b767d0 Promote kube-addon-manager to v9.1.5
Change-Id: Iffebad61634831b0c34eb54517a2543c75c55d68
2021-05-04 12:14:52 -07:00
Kubernetes Prow Robot
9126048c9c
Merge pull request #101707 from enj/enj/i/bad_cadata
client-go transport: assert that final CA data is valid
2021-05-04 07:29:11 -07:00
Monis Khan
440ea3ef49
client-go transport: assert that final CA data is valid
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-03 21:08:01 -04:00
Michael Taufen
b33cd86a27 Update tests to use agnhost 2.32
Updates e2e tests to use agnhost 2.32, which fixes an issue with the
conformance tests for ServiceAccountIssuerDiscovery.

Original fix: https://github.com/kubernetes/kubernetes/pull/101589

Image promotion: https://github.com/kubernetes/k8s.io/pull/1994
2021-05-03 14:23:46 -07:00
Antonio Ojea
2dc4dba562 conformance test for Services should validate behavior
Current test for service with endpoints only validate the API objects,
however, doesn't validate that the implementation of Services works.

This mean that a cluster without any component implementing Services,
can pass Conformance.
2021-05-03 17:19:54 +02:00
Stephen Heywood
11eca39ff6 Switch TerminationGracePeriodSeconds from 0 to 1 seconds 2021-05-03 10:11:38 +12:00
Jian Zeng
97b5d2a300
test: update test cases of TestComponentSecureServingAndAuth 2021-05-03 00:35:16 +08:00
Jian Zeng
c4c2574778
refactor(e2e): grab metrics from controller-manager via nginx
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-03 00:12:06 +08:00
Kubernetes Prow Robot
2d13e0be08
Merge pull request #101693 from wangyysde/update-PodDisruptionBudget-testing-manifests-v1
update PodDisruptionBudget's Version to v1 in  e2e testing manifests
2021-05-01 14:30:11 -07:00
Kubernetes Prow Robot
8daa2e8a4e
Merge pull request #101689 from aojea/revert_e2e_probe
Revert "Deflake startupProbe e2e test"
2021-05-01 10:04:00 -07:00
wangyysde
fc1a83c96f update PodDisruptionBudget's Version from v1beta1 to v1 in e2e testing manifests files
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-05-01 22:15:51 +08:00
Kubernetes Prow Robot
c5b900b69c
Merge pull request #97399 from davidxia/comment-typo
Fix typo in comment
2021-05-01 04:57:59 -07:00
Antonio Ojea
3511357c0a Revert "Deflake startupProbe e2e test"
This reverts commit bcd582030f.
2021-05-01 10:29:03 +02:00
Kubernetes Prow Robot
ba5b2ea82b
Merge pull request #101595 from bobbypage/gpu
test: Update nvidia-driver-installer used in gce-device-plugin-gpu job
2021-04-30 10:24:29 -07:00
Mengxue Zhang
2d2ee6bc3a change default feature gate value of IndexedJob 2021-04-30 14:36:15 +00:00
Kubernetes Prow Robot
f039f94a6f
Merge pull request #101589 from mtaufen/fix-agnhost-ca
agnhost: Try both in-cluster and external discovery
2021-04-30 07:28:10 -07:00
Kubernetes Prow Robot
8d949052c8
Merge pull request #101582 from tsmetana/k8s-fix-aws-kms-key-test
Fix invalid AWS KMS key test flake
2021-04-29 18:10:52 -07:00
David Porter
28acfab74c Update cos-gpu-installer image
This installer image should be compatible with COS-M85 images,
specifically `cos-85-13310-1041-9`
2021-04-29 14:58:47 -07:00
Kubernetes Prow Robot
204ff6caeb
Merge pull request #101586 from liggitt/delete-partition-tests
Remove inactive failing tests
2021-04-29 11:36:23 -07:00
Kubernetes Prow Robot
eb326fdc07
Merge pull request #100262 from chaitanyabandi/daemon-ns-patch
use Patch API to add namespace annotations
2021-04-29 11:36:11 -07:00
Kubernetes Prow Robot
19c7089245
Merge pull request #101569 from wzshiming/test/e2e-node-shutdown
Fix flake for GracefulNodeShutdown e2e
2021-04-29 09:01:25 -07:00
Michael Taufen
0b3b99c096 Try both in-cluster and external discovery
The conformance test for ServiceAccountIssuerDiscovery is currently
configured with --in-cluster-discovery, which only supports token
validation against in-cluster endpoints. Many cloud providers provide
their own, external endpoints for OIDC discovery, and because the iss
claim in tokens will point to these endpoints, but the client in this
test only trusts the Cluster CA, it will fail to connect to the external
discovery endpoints when validating the token.

To ensure that the conformance test at least supports scenario where
both the discovery doc endpoint and JWKS endpoint are cluster-local and
the scenario where both endpoints are cluster-external, this PR has the
test try both and requires at least one to pass.

Caveat: The test still won't support a configuration where one
endpoint is cluster-local and the other is external. We don't yet have
evidence that this is a configuration that is used in practice, so this
initial hotfix will at least fix the conformance test for the "both
external" configuration we know providers already use. Note that if one
endpoint is cluster-local, and the other is cluster-external, tokens can
still only be validated in-cluster, because both endpoints must be
accessible to Relying Parties that validate tokens.
2021-04-29 08:56:02 -07:00
Kubernetes Prow Robot
6e29545168
Merge pull request #99998 from matthyx/deflake-startupprobe
Deflake startupProbe e2e test
2021-04-29 01:16:50 -07:00
Kubernetes Prow Robot
db70c2a96a
Merge pull request #99348 from chymy/e2e-rck-unused
Remove unused code in test/e2e/{upgrades,storage,network}
2021-04-28 21:02:50 -07:00
Shiming Zhang
91beb10aa4 Fix flake for GracefulNodeShutdown e2e 2021-04-29 10:52:00 +08:00
Kubernetes Prow Robot
e6b4fa3811
Merge pull request #101352 from ahg-g/ahg-nss-integration
Added integration test for pod affinity namespace selector
2021-04-28 08:00:50 -07:00
Jordan Liggitt
94a8c7af15 Remove inactive failing tests 2021-04-28 10:03:07 -04:00
Tomas Smetana
8773e0d491 Fix invalid AWS KMS key test flake 2021-04-28 13:22:49 +02:00
Matthias Bertschy
bcd582030f Deflake startupProbe e2e test
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2021-04-28 07:07:01 +02:00
Kubernetes Prow Robot
1cab0adcd5
Merge pull request #101487 from deads2k/annotate-A
add --all-namespaces to kubectl annotate,label
2021-04-27 20:56:49 -07:00
Kubernetes Prow Robot
21ab9c4175
Merge pull request #95286 from SergeyKanzhelev/removePodUnknown
Deprecating PodUnknown podPhase
2021-04-27 11:21:38 -07:00
Abdullah Gharaibeh
ebf0bca3ce Added integration test for pod affinity namespace selector 2021-04-27 14:13:08 -04:00
Kubernetes Prow Robot
3f98b98c69
Merge pull request #101488 from dcbw/e2e-net-firewall
e2e/network/firewall: don't assume nodes are exposed externally
2021-04-26 22:15:36 -07:00
Kubernetes Prow Robot
17f3990ea1
Merge pull request #100484 from gavinfish/e2e-storage-suffix
Remove suffixes for VolumeSnapshotClasses in E2E tests
2021-04-26 17:37:03 -07:00
Riaan Kleinhans
0733bcde2f Create List and DeleteCollection DaemonSet Test
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>

e2e test validates the following 2 extra endpoints

- listAppsV1ReplicaSetForAllNamespaces
- deleteAppsV1CollectionNamespacedReplicaSet
2021-04-27 11:50:47 +12:00
David Eads
ad0cff7b61 add --all-namespaces to kubectl annotate,label 2021-04-26 13:04:19 -04:00
Dan Williams
f86ddbea70 e2e/network/firewall: don't assume nodes are exposed externally
If no nodes have NodeExternalIP addresses, then clearly none of the
services are exposed externally, and the test should succeed.
Seen in OpenShift CI.
2021-04-26 10:25:21 -05:00
Kubernetes Prow Robot
2b54418d66
Merge pull request #100387 from jsturtevant/test-image-doc-updates
Doc updates to clarify the image promotion process
2021-04-26 06:25:01 -07:00
Kubernetes Prow Robot
3e71ecc6b3
Merge pull request #101329 from ahg-g/ahg-nss-bench
Added benchmarks for pod affinity NamespaceSelector
2021-04-25 19:07:00 -07:00
Kubernetes Prow Robot
5c34712a09
Merge pull request #101421 from yuzhiquan/typo
Fix typo for kubelet
2021-04-25 12:19:00 -07:00
Artyom Lukianov
79dbdbb4c1 e2e node: fix the race condition under the memory manager test
Wait for kubelet to be healthy after the dynamic update
of the kubelet configuration.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-04-25 15:12:12 +03:00
Kubernetes Prow Robot
113f828553
Merge pull request #101442 from aramase/ds-cleanup
update dual-stack test description to remove duplicate tag
2021-04-24 13:57:00 -07:00
Kubernetes Prow Robot
c1418fff4a
Merge pull request #101402 from wangyx1992/timeSub
cleanup: replace x.Sub(time.Now()) with time.Until(x) in e2e test
2021-04-24 05:54:59 -07:00
Kubernetes Prow Robot
10f7e189c2
Merge pull request #100496 from jpbetz/extract-subresources
Add subresource support to client-go apply extract
2021-04-23 19:27:43 -07:00
Kubernetes Prow Robot
3029808c91
Merge pull request #99772 from pacoxu/patch-4
job-e2e: wait exceeds active deadline for 15s
2021-04-23 19:27:35 -07:00
Anish Ramasekar
24f37695e5
update dual-stack test description to remove duplicate tag
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-04-23 16:32:36 -07:00
Kubernetes Prow Robot
b11f135a7a
Merge pull request #101381 from prameshj/port-change
Use a less-common port for e2e test http pod.
2021-04-23 16:14:29 -07:00
Kubernetes Prow Robot
8846859f77
Merge pull request #99154 from bertinatto/fix-make-pod
e2e: MakePod() should support block and inline volumes
2021-04-23 11:21:39 -07:00
Abdullah Gharaibeh
6988653457 Added benchmarks for pod affinity namespaceselector 2021-04-23 14:14:38 -04:00
yuzhiquan
02c3d53a23 typo 2021-04-23 17:55:54 +08:00
wangyx1992
fda7421f24 cleanup: replace x.Sub(time.Now()) with time.Until(x) in e2e test
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
2021-04-23 11:27:12 +08:00
Kubernetes Prow Robot
2365d1e8bd
Merge pull request #101383 from msau42/update-mock
Update sidecars for csi mock driver
2021-04-22 17:44:40 -07:00
Kubernetes Prow Robot
66d27ff1a4
Merge pull request #101380 from kwiesmueller/flake-apply-mutating-webhook
[flake] fix TestMutatingWebhookResetsInvalidManagedFields flakes
2021-04-22 17:44:31 -07:00
Kubernetes Prow Robot
0e05558717
Merge pull request #101360 from pohly/hostpath-update
Revert "storage e2e: disable health check containers"
2021-04-22 17:44:14 -07:00
Kubernetes Prow Robot
2f6d79ca88
Merge pull request #100548 from mauriciopoppe/ephemeral-storage-e2e-windows
Make ephemeral volume tests work with Windows nodes
2021-04-22 17:44:01 -07:00
Joe Betz
d01788cd56 Enable extract test for status subresource 2021-04-22 15:32:45 -07:00
Kevin Wiesmueller
96a8df455c fix TestMutatingWebhookResetsInvalidManagedFields flakes 2021-04-23 00:09:31 +02:00
Michelle Au
b67e1b8dfb Update sidecars for csi mock driver
Change-Id: I751dc41facd95219604124f3f2f221f4d35ca34a
2021-04-22 14:29:30 -07:00
Riaan Kleinhans
94c550a050 Add NetworkPolicy Endpoint to Ineligible endpoints 2021-04-23 09:18:33 +12:00
Kubernetes Prow Robot
0f4de95e5b
Merge pull request #101330 from deads2k/apply-remove-beta
apply test for manager limit to only use v1 apis
2021-04-22 13:19:49 -07:00
Kubernetes Prow Robot
3061f6149f
Merge pull request #101171 from KnVerey/kubectl-describe-chunk-size
Add `--chunk size` flag to `kubectl describe`
2021-04-22 13:19:23 -07:00
Pavithra Ramesh
2430f23445 Use a less-common port for e2e test http pod.
8080 is a common port that is more likely to cause conflicts when used
in hostNetwork mode for tests.
2021-04-22 13:17:10 -07:00
Kubernetes Prow Robot
714a821f1b
Merge pull request #101295 from eddiezane/ez/fix-kubectl-error-code-e2e-test
Fix kubectl flake: Simple pod should return command exit codes
2021-04-22 11:27:59 -07:00
Eddie Zaneski
1bc5364b16
[e2e] match kubectl run timeout to pod start timeout
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2021-04-22 11:10:56 -06:00
Kubernetes Prow Robot
1b08dde41f
Merge pull request #101191 from tanjing2020/container_manager_test
Agnhost image's progress name is called agnhost, not test-webserver
2021-04-22 08:59:53 -07:00
Kubernetes Prow Robot
972ee2d425
Merge pull request #101034 from verb/1.22-ec-api
Switch alpha Pod ephemeralcontainers API to use Pod kind
2021-04-22 06:21:41 -07:00
Kubernetes Prow Robot
82d8d08c78
Merge pull request #101280 from huffmanca/address-snapshotting-flakes
Force NodeUnstageVolume to finish for all distros
2021-04-22 02:32:31 -07:00
Kubernetes Prow Robot
f1e51ceb3c
Merge pull request #98377 from nodo/scale-ownership-tracking-deployment
Track ownership of scale subresource
2021-04-22 01:28:32 -07:00
Patrick Ohly
3299469437 Revert "storage e2e: disable health check containers"
This reverts commit 0c2cee5676e64976f9e767f40c4c4750a8eeb11f.

The health check containers are not required for any test, but we want
to run them anyway to ensure that they cause no unexpected issues.
2021-04-22 08:20:39 +02:00
Kubernetes Prow Robot
1f87e3fe00
Merge pull request #101347 from verult/subpath-configmap-timeout
Extend pod start timeout to 5min for storage subpath configmap test
2021-04-21 21:12:46 -07:00
Kubernetes Prow Robot
d907c29956
Merge pull request #100637 from pohly/hostpath-update
storage e2e: automate hostpath YAML updates, update sidecars but not driver
2021-04-21 21:12:33 -07:00
Cheng Xing
4cfb6e2c23 Extend pod start timeout to 5min for storage subpath configmap test 2021-04-21 17:24:09 -07:00
Mike Dame
07029c941a Remove Limits from scheduling e2e balanced pod resources
The purpose of the pod created by `createBalancedPodForNodes()` is to ensure
that all nodes have equal resource requests (as seen by the scheduler). This
prevents the default scheduling behavior (which attempts to balance resource requests)
from interfering with e2e's which test other priorities/score plugins.

Because the scheduler only worries about requests, specifying `Limits` in this pod
is unnecessary. In fact, if the calculated "balancing" limit is too low, it can cause
the balancing pod to never start due to OOMKill errors, leading to flakes and failures.
2021-04-21 15:58:00 -04:00
Kubernetes Prow Robot
1e4388964e
Merge pull request #101293 from ehashman/issue-93480
Remove unmaintained elasticsearch tests
2021-04-21 12:20:12 -07:00
Christian Huffman
21ea9af37f Force NodeUnstageVolume to finish for all distros 2021-04-21 15:01:41 -04:00
Katrina Verey
8ad6fd6ddb Add --chunk-size support to kubectl describe 2021-04-21 11:44:15 -07:00
David Eads
b1ce579517 apply test for manager limit to only use v1 apis 2021-04-21 14:38:24 -04:00
Andrea Nodari
8e4b5c849b Do not add managed fields if a scale entry doesn't own replicas
This happens when a request changes the .status.replicas but not
.spec.replicas
2021-04-21 20:27:45 +02:00
Andrea Nodari
09649e58b5 Check request info when updating managed fields during scale
- Test all versions to make sure each resource version is in the
  mappings
- Fail when request info contains an unrecognized version. We have tests
  that guarantee that all known versions are in the mappings. If we
  get a version in request info that is not there we should fail fast to
  prevent inconsistent behaviour (e.g. for some reason the mappings is
  not up to date).

Ensure all known versions are in mappings
2021-04-21 20:27:02 +02:00
Antoine Pelisse
816e80206c Use ScaleHandler for all scalable resources 2021-04-21 18:41:40 +02:00
Andrea Nodari
a9ea98b3b9 Track ownership of deployments scale subresource 2021-04-21 18:41:40 +02:00
Kubernetes Prow Robot
032007e007
Merge pull request #101312 from harche/ContainerLogPath_fix
Add SELinux security context to ContainerLogPath test
2021-04-21 09:31:17 -07:00
Gautier Delorme
34b0fcef5f remove go-openapi/spec
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2021-04-21 11:31:49 +02:00
Fabio Bertinatto
6a645592fc e2e: MakePod() should support block and inline volumes 2021-04-21 11:29:35 +02:00
Harshal Patil
df13eebfd0 Add SELinux security context to ContainerLogPath test
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2021-04-21 13:48:32 +05:30
Patrick Ohly
c794b5c442 storage e2e: patch in RBAC rules for secrets
In one mock test, the snapshotter needs permission to read
secrets. That was disabled in the RBAC files of recent releases. We
need to patch it back in during deployment.
2021-04-21 09:57:54 +02:00
Shiming Zhang
e08988ba16 Fix pull empty image URL
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-04-21 15:29:46 +08:00
Riaan Kleinhans
8c7cef2621 Create List and DelectCollection ReplicaSet Test
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>

e2e test validates the following 2 extra endpoints
- listAppsV1NamespacedReplicaSet
- deleteAppsV1CollectionNamespacedReplicaSet
2021-04-21 16:19:26 +12:00
Kubernetes Prow Robot
497e7c0c1e
Merge pull request #101233 from pohly/e2e-suite-cleanup
storage e2e: remove obsolete function
2021-04-20 19:24:10 -07:00
Kubernetes Prow Robot
6a7572e4ad
Merge pull request #101287 from soltysh/replace_with_default
Fail fast when image is specified without tag
2021-04-20 17:38:24 -07:00
Elana Hashman
ac5ba850c1
Remove unused elasticsearch tests 2021-04-20 13:34:59 -07:00
Maciej Szulik
3edabfb460
Switch to a proper busybox test image 2021-04-20 22:05:31 +02:00
Maciej Szulik
89b50bcf94
Fail fast when image is specified w/o tag 2021-04-20 21:10:16 +02:00
Kubernetes Prow Robot
92aff21558
Merge pull request #95609 from fromanirh/tm-e2e-faster-delete
e2e: topology manager: use deletePodSync for faster delete
2021-04-20 04:14:33 -07:00
Patrick Ohly
ebd02341c9 storage e2e: downgrade hostpath driver
This is a temporary workaround until a fixed driver is available.
2021-04-20 08:07:15 +02:00
Patrick Ohly
7682e39a47 storage e2e: disable health check containers
They are not needed for any of the tests and in practice apparently
caused enough overhead that even unrelated tests timed out. For
example, in the pull-kubernetes-e2e-kind test, 43 out of 5771 tests
failed, including tests from sig-node, sig-cli, sig-api-machinery,
sig-network.
2021-04-20 08:07:15 +02:00
Patrick Ohly
446c1136dc storage e2e: automate hostpath YAML updates, hostpath v1.6.2
Mirroring the various YAML files by hand is tedious. The new
update-hostpath.sh does all the necessary steps automatically.

The result is now a bit more consistent with the upstream repos in the
sense that the original file names and paths for the RBAC YAML files
are used.

The csi-hostpath-testing.yaml is included for the sake of
completeness, but not used during E2E testing.

The new hostpath driver release is v1.6.2, which adds the
external-health-monitor for the first time.
2021-04-20 08:07:15 +02:00
Kubernetes Prow Robot
0f5fce6a64
Merge pull request #101244 from deads2k/remove-csr
remove CSR v1beta1 tests since the API is no longer available in 1.22 and CSRs are short term
2021-04-19 22:12:39 -07:00
Kubernetes Prow Robot
1eccb41fa8
Merge pull request #101248 from deads2k/integration
update more integration tests for v1beta1 removal
2021-04-19 18:54:56 -07:00
Kubernetes Prow Robot
651a7a6f6b
Merge pull request #101245 from deads2k/test-cmd
update test-cmd to avoid removed beta APIs
2021-04-19 18:54:44 -07:00
James Sturtevant
02a182f5e2 updates to clarify the image promotion process 2021-04-19 15:49:27 -07:00
David Eads
e6113c5fe6 update openapi overlap test for crd v1 2021-04-19 13:55:32 -04:00
David Eads
b199047fa6 remove outdated extensions group test 2021-04-19 13:55:32 -04:00
David Eads
b74c542de5 skip printing test for removed APIs 2021-04-19 13:55:32 -04:00
Shihang Zhang
925900317e allow multiple of --service-account-issuer 2021-04-19 09:54:11 -07:00
David Eads
2fb8420756 update test-cmd to avoid removed beta APIs 2021-04-19 10:06:37 -04:00
David Eads
2e07319356 remove CSR v1beta1 tests since the API is no longer avaiable and CSRs are short term 2021-04-19 09:39:41 -04:00
Patrick Ohly
93d1e373eb storage e2e: remove obsolete function
SkipRedundantSuite was replaced by SkipUnsupportedTests. We don't need
both.
2021-04-19 11:11:47 +02:00
Kubernetes Prow Robot
9f5573e83f
Merge pull request #101211 from aojea/nosnat
e2e create pods only on schedulable nodes
2021-04-17 10:32:34 -07:00
Kubernetes Prow Robot
0f1d105f8d
Merge pull request #100970 from apelisse/add-subresource-managedfields
Add subresource managedfields
2021-04-17 07:42:34 -07:00
Antonio Ojea
0695bc45cf e2e create pods only on schedulable nodes
We were avoiding the scheduled using the pod.Spec.NodeName directly,
however, once we switched to using the node selector, the no_snat
e2e test started to fail because was trying to schedule pods on
nodes with taints, hence, failing the test.
2021-04-17 12:05:40 +02:00
Stephen Augustus
fac97f8a9b [go1.16] Update to go1.16.3
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-04-16 19:56:51 -04:00
Antoine Pelisse
e477c31307 fieldmanager: Comment test broken by status being separated from main resource 2021-04-16 14:26:05 -07:00
Andrea Nodari
862d256195 Add "subresource" field to ManagedFieldEntry
This field is useful to namespace the managed field entries of a
subresource and differentiate them from the ones of the main resource.
2021-04-16 14:13:18 -07:00
Kubernetes Prow Robot
3ed71cf190
Merge pull request #100976 from jindijamie/master
releng: Update debian-base and debian-iptables to buster-v1.6.0 to patch base image CVEs
2021-04-16 12:56:34 -07:00
Kubernetes Prow Robot
f1c1379def
Merge pull request #100963 from enj/enj/i/authz_func_ctx
authorizer func: pass through context
2021-04-16 12:56:22 -07:00
Kubernetes Prow Robot
27a625cf89
Merge pull request #100724 from liggitt/eviction-v1beta1
Add policy/v1 Eviction support
2021-04-16 10:02:22 -07:00
Antonio Ojea
60c3480740 e2e don't set pod.Spec.NodeName directly
based on this comment in
ea07644522/test/e2e/framework/pod/node_selection.go (L96-L101)

// pod.Spec.NodeName should not be set directly because
// it will bypass the scheduler, potentially causing
// kubelet to Fail the pod immediately if it's out of
// resources. Instead, we want the pod to remain
// pending in the scheduler until the node has resources
// freed up.
2021-04-16 15:58:16 +02:00
Lee Verberne
97726a50c1 Address feedback for new /ephemeralcontainers API
* Use deep copies in `PrepareForUpdate()`
* Preserve select metadata from new pod
* Use patch to add ephemeral container `kubectl debug`
* Distinguish between pod vs /ephemeralcontainers NotFound
2021-04-16 14:08:12 +02:00
tanjing2020
fa3956844d The process name is called agnhost, not test-webserver, after the Agnhost image is started. 2021-04-16 18:05:00 +08:00
Kubernetes Prow Robot
97bdd7b9eb
Merge pull request #100377 from mauriciopoppe/storage-windows-e2e-tests
Fix "Pod Disks schedule pods each with a PD" test in windows
2021-04-15 23:22:22 -07:00
Mauricio Poppe
eaf2954ad8 Add a TODO to install sync in agnhost 2021-04-16 00:01:18 +00:00
Kubernetes Prow Robot
e583435ecb
Merge pull request #101147 from soltysh/wrong_substring
Limit image spec's hash length
2021-04-15 10:36:07 -07:00
Kubernetes Prow Robot
24350a922e
Merge pull request #101086 from enj/enj/i/auth_owners_gen
Prune stale entries from OWNERS files
2021-04-15 08:27:50 -07:00
Maciej Szulik
8acab3cc49
Limit image spec's hash length
To be able to properly limit the length of hash string we should limit
after encoding to base, not before.
2021-04-15 16:14:45 +02:00
Kubernetes Prow Robot
edc7f023a4
Merge pull request #101118 from zshihang/master
move upgrade test frameworks closer to Describe
2021-04-15 04:35:49 -07:00
Kubernetes Prow Robot
6d130d3b97
Merge pull request #100557 from chendave/validation_cleanup
Validate plugin config for KubeSchedulerConfiguration
2021-04-14 18:20:01 -07:00
Kubernetes Prow Robot
e824c59913
Merge pull request #99696 from JornShen/refactor_netpol_policies
refactor netpol/policies.go
2021-04-14 15:17:07 -07:00
Shihang Zhang
cf3232ca65 move upgrade test frameworks closer to Describe 2021-04-14 09:13:58 -07:00
Jordan Liggitt
a07d4460bf Promote e2e eviction test to conformance 2021-04-14 09:12:39 -04:00
Jordan Liggitt
10b07085f8 Define constant for eviction failure cause 2021-04-14 09:12:39 -04:00
Dave Chen
c6e65079c7 Validate plugin config for KubeSchedulerConfiguration
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-04-14 09:30:20 +08:00
Jordan Liggitt
33ad842480 allow evictions subresource to accept policy/v1 and policy/v1beta1 2021-04-13 21:22:25 -04:00
Monis Khan
91241eac9b
Prune stale entries from OWNERS files
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-13 20:54:50 -04:00
Kubernetes Prow Robot
2147937c41
Merge pull request #100128 from ingvagabund/sig-scheduling-single-node-e2e
[sig-scheduling] SchedulerPreemption|SchedulerPredicates|SchedulerPriorities: adjust some e2e tests to run in a single node cluster scenario
2021-04-13 10:31:09 -07:00
Jim Ramsay
050001d1d3 Position e2e Mount Propagation test to be kubelet-specific
This replaces the check of mount propagation to/from the host OS mount
namespace to a similar check about the mount namespace where kubelet is
running (which may or may not be the same mount namespace as the host
OS).

This addresses issue #100259
2021-04-13 12:03:08 -04:00
Lee Verberne
d22dc5cb72 Switch ephemeralcontainers SR to Pod Kind
This changes the `/ephemeralcontainers` subresource of `/pods` to use
the `Pod` kind rather than `EphemeralContainers`.

When designing this API initially it seemed preferable to create a new
kind containing only the pod's ephemeral containers, similar to how
binding and scaling work.

It later became clear that this made admission control more difficult
because the controller wouldn't be presented with the entire Pod, so we
updated this to operate on the entire Pod, similar to how `/status`
works.
2021-04-13 13:36:48 +02:00
Kubernetes Prow Robot
57459ebd3e
Merge pull request #101003 from ahg-g/ahg-cost
Integration test for pod deletion cost feature
2021-04-13 03:02:50 -07:00
Kubernetes Prow Robot
dd72c4534c
Merge pull request #97968 from saschagrunert/apparmor-host-check
Remove check for apparmor_parser in AppArmor host validation
2021-04-13 01:58:50 -07:00
Jan Chaloupka
bf2fc250a4 validates basic preemption works|validates lower priority pod preemption by critical pod: allocate 4/5 instead of 2/3
To run the tests in a single node cluster, create two pods consuming 2/5 of the extended resource instead of one consuming 2/3.
The low priority pod will be consuming 2/5 of the extended resource instead so in case there's only a single node,
a high priority pod consuming 2/5 of the extended resource can be still scheduled. Thus, making sure only the low priority pod
gets preempted once the preemptor pod consuming 2/5 of the extended resource gets scheduled while keeping the high priority pod untouched.
2021-04-13 09:47:28 +02:00
Kubernetes Prow Robot
ed3e0d302f
Merge pull request #100644 from Huang-Wei/sched-fwk-config
Surface kube config in scheduler framework handle
2021-04-12 19:12:49 -07:00
Katrina Verey
5200ff86d0 Add --chunk-size flag to kubectl drain 2021-04-12 08:10:52 -07:00
Abdullah Gharaibeh
74e3ffa959 Integration test for pod deletion cost feature 2021-04-11 23:37:20 -04:00
Kubernetes Prow Robot
ce14346b46
Merge pull request #100181 from pacoxu/master-to-control-plane
part1: master to controlplane in test/integration(1.22)
2021-04-11 05:07:59 -07:00
Kubernetes Prow Robot
3eac797255
Merge pull request #100200 from jackfrancis/ctx-respect-ExecProbeTimeout
respect ExecProbeTimeout=false for dockershim
2021-04-10 22:55:59 -07:00
Kubernetes Prow Robot
dbf1102437
Merge pull request #100762 from AliceZhang2016/multi-az-timeout
List pod list once to avoid timeout in Multi-AZ Clusters
2021-04-10 20:29:43 -07:00
Kubernetes Prow Robot
43af6783ae
Merge pull request #100865 from RA489/update_owner
kubeadm: Add RA489 as reviewer
2021-04-10 19:04:03 -07:00
Kubernetes Prow Robot
c51450609f
Merge pull request #100839 from jayunit100/patch-25
add network-policy label automatically
2021-04-10 19:03:47 -07:00
Kubernetes Prow Robot
e188a36408
Merge pull request #100836 from dims/fix-file-mode-condition-for-host_path-storage-test
Fix file mode condition for host_path storage test
2021-04-10 19:03:39 -07:00
Kubernetes Prow Robot
24b40c4d6c
Merge pull request #100808 from nicomitchell/scheduler_perf_tests_unique_names
test/integration/scheduler_perf: make sure each testCase and workload has a unique name
2021-04-10 19:03:30 -07:00
Kubernetes Prow Robot
e639d44ae5
Merge pull request #100440 from lojies/ingress_utils_cleanup
log format optimization
2021-04-10 19:03:10 -07:00
jindijamie
7e7a6284be update debian-base to buster-v1.5.0 for CVEs 2021-04-09 19:27:10 +00:00
Monis Khan
8f00e918d8
authorizer func: pass through context
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-09 09:47:19 -04:00
Kubernetes Prow Robot
fded3d71e5
Merge pull request #100676 from squeed/netpol-v6-test
test/e2e: handle ipv6 addresses in netpol tests
2021-04-09 05:19:53 -07:00
Kubernetes Prow Robot
4959cd6339
Merge pull request #100671 from Niekvdplas/spelling-mistakes
Fixed several spelling mistakes
2021-04-09 05:19:45 -07:00
Kubernetes Prow Robot
f56a2c4118
Merge pull request #100562 from deads2k/beta-proxy-removal
use a non-deprecated API to check kube-proxy
2021-04-09 05:18:59 -07:00
Kubernetes Prow Robot
ecd559a3ab
Merge pull request #100457 from gavinfish/integration-e2e
Make integration tests not depend on e2e tests
2021-04-08 22:09:39 -07:00
Kubernetes Prow Robot
c648d897e8
Merge pull request #100433 from gavinfish/e2e-common-unify
Unify some methods in e2e common
2021-04-08 22:09:14 -07:00
Kubernetes Prow Robot
851e14dc70
Merge pull request #100425 from eltociear/patch-4
test: fix typo in chaosmonkey.go
2021-04-08 22:09:05 -07:00
Kubernetes Prow Robot
2056c8df5d
Merge pull request #100378 from marun/tag-multiaz-serial
Tag Multi-AZ scheduling tests as serial
2021-04-08 20:30:28 -07:00
Kubernetes Prow Robot
3c75651d15
Merge pull request #100357 from Huang-Wei/enq-serviceaffinity
implement EnqueueExtensions interface in serviceaffinity
2021-04-08 20:30:20 -07:00
Kubernetes Prow Robot
c081e70656
Merge pull request #100356 from mauriciopoppe/storage-windows-tests
Disable intree storage multivolume e2e test in windows nodes
2021-04-08 20:30:12 -07:00
Kubernetes Prow Robot
4b9421674f
Merge pull request #100325 from cwdsuzhou/donot_delete_waitingpod
Preempting: do not delete the victim if it just exits in WaitingPods
2021-04-08 20:29:46 -07:00
Kubernetes Prow Robot
8d6b3229da
Merge pull request #100206 from KnVerey/fix-drain-server-dry-run
Error in kubectl drain --dry-run=server
2021-04-08 20:28:46 -07:00
Kubernetes Prow Robot
96db2323a4
Merge pull request #100041 from vteratipally/update_npd_version
bump npd version to latest v0.8.7
2021-04-08 17:10:55 -07:00
Kubernetes Prow Robot
bb0906dcb2
Merge pull request #99929 from lala123912/lint_clean
Remove unused/dead code
2021-04-08 16:00:34 -07:00
Kubernetes Prow Robot
a40da10099
Merge pull request #99713 from ankeesler/exec-plugin-integration-test
Exec plugin integration test
2021-04-08 15:59:17 -07:00
Kubernetes Prow Robot
e9d7247447
Merge pull request #99072 from cynepco3hahue/e2e_fix_memory_manager_tests
e2e: fix memory manager tests
2021-04-08 14:27:40 -07:00
Jack Francis
5a43067915 respect ExecProbeTimeout 2021-04-07 12:38:19 -07:00
Andrew Keesler
d00202bd3e
exec credential provider: informer happy path integration test
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-07 14:46:40 -04:00
Antonio Ojea
7c7d003e5c e2e test with hostNetwork pods can't run in parallel
the tests with pods using hostNetwork need to bind pods for the
test. Since they use hostNetwork the ports are limited, hence, if
more than one run in parallel, one is going to fail because will not
be able to get the port.
2021-04-07 20:07:18 +02:00
Sergey Kanzhelev
4b05fe6644 podUnknown is marked as Obsolete 2021-04-06 22:43:08 +00:00
RA489
67d30f32f6 kubeadm: Add RA489 as reviewer 2021-04-06 21:45:39 +05:30
Nicolas Mitchell
0e994e9481 return error with non-unique workload name in scheduler_perf_test 2021-04-06 10:24:04 -04:00
Mengxue Zhang
200ef16f1d list pod list once to avoid timeout 2021-04-06 13:44:11 +00:00
Andrew Keesler
c984a1c834
test/integration/client: ditch unused code
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-06 09:40:57 -04:00
Mauricio Poppe
1e1252ed8c use LinuxOnly annotation instead of e2eskipper to skip windows tests 2021-04-05 20:21:53 +00:00
jay vyas
cd58735777
add network-policy label automatically 2021-04-05 09:36:15 -07:00
Davanum Srinivas
766c6706c4
Fix file mode condition for host_path storage test
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-05 09:25:45 -04:00
Nicolas Mitchell
338b06fb69 validate test/workload names in validateTestCases 2021-04-04 14:18:39 -04:00
James Sturtevant
d0683b8ce2 align some of the pod start up times 2021-04-02 11:29:38 -07:00
James Sturtevant
dab1325c29 increase timeout for pods to start 2021-04-01 12:28:50 -07:00
Claudiu Belu
665e2004f1 Windows tests: Adds [Feature:GPUDevicePlugin] tag to Device Plugin test
The test verifies a specific feature, in which GPUs are required, thus, cannot
be run in most testing environments. We should exclude this test from most test jobs.
We'll be doing this by adding the [Feature:GPUDevicePlugin] tag (which is also being
used by test/e2e/scheduling/nvidia-gpus.go), and then add it to the ginkgo skip regex.
2021-04-01 11:36:13 -07:00
Mauricio Poppe
55bed0bb66 skip default storageclass test with windows nodes 2021-03-31 17:21:57 +00:00
pacoxu
ce50018a76 part1 of e2e: master to apiserver/control-plane
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-31 15:50:18 +08:00
Davanum Srinivas
57ddfb7314
Switch to newer agnhost image
We have an update to the image in
f9aaf71ccb, we need to bump to use this
image.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-30 20:15:36 -04:00
Niekvdplas
fec272a7b2 Fixed several spelling mistakes 2021-03-30 23:02:09 +02:00
Mauricio Poppe
7b0b47c132 remove sleep 1 and check later if the test is flaky 2021-03-30 20:04:10 +00:00
Andrey Smirnov
f9aaf71ccb test/e2e: fix the OIDC discovery test with ECDSA service account key
By default oidc library enables only `RS256` signature validation
method.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-30 22:58:50 +03:00
Wei Huang
e7f67b1a63
Surface kube config in scheduler framework handle 2021-03-30 11:54:59 -07:00
Casey Callendrello
1efd456bcf test/e2e: handle ipv6 addresses in netpol tests
The tests, as written, don't correctly join ip and port for v6
addresses.

use net.JoinHostPort to handle this case.
2021-03-30 16:41:06 +02:00
Kubernetes Prow Robot
770d3f181c
Merge pull request #99734 from wgahnagl/sysctls-conformance
Promote sysctls e2e test to Conformance
2021-03-26 18:26:43 -07:00
Kubernetes Prow Robot
931516a87b
Merge pull request #100191 from jingxu97/mar/deployment
Fix deployment lifecycle test issue
2021-03-25 17:13:49 -07:00
Kubernetes Prow Robot
4333e5caa7
Merge pull request #100553 from adtac/suspend-intfail
job controller: don't mutate shared cache object
2021-03-25 10:31:29 -07:00
David Eads
cbd762814f use a non-deprecated API to check kube-proxy 2021-03-25 12:41:50 -04:00
drfish
aa0b284ca1 Make integration tests not depend on e2e tests 2021-03-25 23:02:52 +08:00
Skyler Clark
c6b99025a6
adds sysctls conformance tests 2021-03-25 09:28:25 -04:00
Kubernetes Prow Robot
2eb6911e83
Merge pull request #94334 from RaunakShah/volume_provision_perf
Add e2e test to validate performance metrics of volume lifecycle operations
2021-03-24 23:47:29 -07:00
Adhityaa Chandrasekar
4118dff509 suspend integration tests: run all subtests in pre-submit
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-25 06:36:00 +00:00
Kubernetes Prow Robot
533931cfe5
Merge pull request #100549 from RaunakShah/fix_snapshot_cleanup
Fix check before deleting PV in Snapshot e2e test
2021-03-24 21:41:29 -07:00
Kubernetes Prow Robot
e34046c81d
Merge pull request #100537 from pohly/storage-capacity-e2e-test
storage e2e: verify CSIStorageCapacity publishing
2021-03-24 20:01:41 -07:00
shahra
6a97ff529d Fix check before deleting PV in Snapshot e2e test 2021-03-24 18:34:44 -07:00
Jing Xu
787559581f Fix deployment lifecycle and ReplicaSet test issue
The pause image should not run sleep commands. This will cause pod fail
to start correctly.

See details in issue #100047. We discovered some behavior about
development in certain cases like new pod fail to start correctly, but will be further investigated.

Change-Id: I9761bbefa694f6fe51a6f1e7561fa7e566ce4d8f
2021-03-24 18:22:13 -07:00
Kubernetes Prow Robot
bcab4c35d2
Merge pull request #100540 from mauriciopoppe/remove-selinuxoptions
Remove SELinuxOptions double setup in pod spec
2021-03-24 18:01:28 -07:00
Mauricio Poppe
7455b1ae94 update ephemeral volume tests with windows 2021-03-25 00:13:52 +00:00
Kubernetes Prow Robot
68c021261c
Merge pull request #100519 from tanjing2020/validateOOMScoreAdjSettingIsInRange
Fix the wrong judgment of oom_score_adj
2021-03-24 16:23:28 -07:00
Patrick Ohly
d7a086ddd8 storage e2e: simplify CSIStorageCapacity test
We can support topology detection for all drivers with a single
topology key by allowing different nodes to have the same topology
value. This makes the test a bit more generic and its configuration
simpler.
2021-03-24 22:31:43 +01:00
shahra
34e4a5f22c Add e2e test to validate performance metrics of volume lifecycle operations.
This test currently validates latency and throughput of volume
provisioning against a high baseline.
2021-03-24 13:50:32 -07:00
Kubernetes Prow Robot
d8193c9503
Merge pull request #100464 from listx/remove-listx-from-owners
test/utils/image: remove listx from OWNERS
2021-03-24 13:49:42 -07:00
Kubernetes Prow Robot
e57223876d
Merge pull request #100295 from adtac/suspend-int
add integration test for suspended jobs
2021-03-24 13:49:30 -07:00
Mauricio Poppe
d9c4d8bff8 remove selinuxoptions because it's configured before 2021-03-24 18:58:54 +00:00
Patrick Ohly
b9b5d13b6d storage e2e: verify CSIStorageCapacity publishing
Drivers need to opt into the new test. Depending on how the driver
describes its behavior, the check can be more specific. Currently it
distinguishes between getting any kind of information about the
storage class (i.e. assuming that capacity is not exhausted) and
getting one object per node (for local storage). Discovering nodes
only works for CSI drivers.

The immediate usage of this new test is for csi-driver-host-path with
the deployment for distributed provisioning and storage capacity
tracking. Periodic kubernetes-csi Prow and pre-merge jobs can run this
test.

The alternative would have been to write a test that manages the
deployment of the csi-driver-host-path driver itself, i.e. use the E2E
manifests. But that would have implied duplicating the
deployments (in-tree and in csi-driver-host-path) and then changing
kubernetes-csi Prow jobs to somehow run for in-tree driver definition
with newer components, something that currently isn't done. The test
then also wouldn't be applicable to out-of-tree driver deployments.

Yet another alternative would be to create a separate E2E test suite
either in csi-driver-host-path or external-provisioner. The advantage
of such an approach is that the test can be written exactly for the
expected behavior of a deployment and thus be more precise than the
generic version of the test in k/k. But this again wouldn't be
reusable for other drivers and also a lot of work to set up as no such
E2E test suite currently exists.
2021-03-24 18:18:27 +01:00
Seth Jennings
0eb40b3ded e2e: reduce pods used in shared local pv test 2021-03-24 10:07:45 -05:00
tanjing2020
d0882e69e2 Fix the wrong judgment of oom_score_adj 2021-03-24 16:13:20 +08:00
drfish
244d7a5d67 Remove suffixes for VolumeSnapshotClasses in E2E tests 2021-03-23 21:24:28 +08:00
Kubernetes Prow Robot
375c9abfa2
Merge pull request #99873 from liggitt/etcd-compatibility
Add Etcd compatibility test
2021-03-23 05:27:36 -07:00
caiweidong
850759ec87 Preempting: do not delete the victim if it just exits in WaitingPods 2021-03-23 14:37:36 +08:00
Kubernetes Prow Robot
1822523afb
Merge pull request #100345 from ravisantoshgudimetla/fix-ds-test
Tighten DS rollout catching function
2021-03-22 18:51:35 -07:00
Linus Arver
8f6ca1c649 test/utils/image: remove listx from OWNERS
Removing myself from OWNERS as I haven't had the bandwidth to go over
these reviews for a long time.

This should have been part of #99718, which has already been merged.
2021-03-22 14:22:51 -07:00
Kubernetes Prow Robot
1a983bb958
Merge pull request #100418 from swetharepakula/eps-conformance
Promote EndpointSlice API test to Conformance
2021-03-22 13:27:35 -07:00
卢振兴10069964
4d595b9129 log format optimization 2021-03-22 11:15:25 +08:00
drfish
0558ca1918 Unify some methods in e2e common 2021-03-21 21:51:56 +08:00
Ikko Ashimine
7baa7dbdbe
test: fix typo in chaosmonkey.go
defered -> deferred
2021-03-21 12:20:00 +09:00
Swetha Repakula
9c1f9c3962 Promote EndpointSlice API test to Conformance 2021-03-19 23:28:35 +00:00
ravisantoshgudimetla
f339061816 Tighten DS rollout catching function 2021-03-19 16:02:41 -04:00
Ernest Wong
42011ecfe4
test image: bump agnhost version to 2.30
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-19 11:12:45 -07:00
Kubernetes Prow Robot
ac5f05b374
Merge pull request #100359 from chewong/increase-dns-timeout
agnhost: increase dns timeout from 5 seconds to 20 seconds
2021-03-19 08:04:33 -07:00
Kubernetes Prow Robot
0fecc01567
Merge pull request #100300 from DangerOnTheRanger/reboot-flake-fix
Fix E2E node reboot test flake
2021-03-18 16:30:36 -07:00
Kubernetes Prow Robot
7f8ef6fbce
Merge pull request #100189 from aramase/update-dualstack-test
update dual-stack test description to remove alpha
2021-03-18 15:26:36 -07:00
Kubernetes Prow Robot
b57a8bacad
Merge pull request #100383 from jsturtevant/update-to-latest-promoted-busybox
Update busybox that includes windows nltest
2021-03-18 14:12:35 -07:00
Kubernetes Prow Robot
f28cb4659d
Merge pull request #99698 from spiffxp/verify-e2e-test-ownership
add verify-e2e-test-ownership.sh
2021-03-18 12:19:07 -07:00
James Sturtevant
a8eff25ff3 update busybox that includes windows nltest 2021-03-18 12:03:56 -07:00
Wei Huang
9d1ef9f4c5
unregister Service events if a plugin doesn't implement EventsToRegister() 2021-03-18 11:04:06 -07:00
Maru Newby
253df78f1b Tag Multi-AZ scheduling tests as serial
As per mdame, we can't ensure that the cluster is actually balanced
if other tests are adding or deleting pods in parallel.
2021-03-18 10:31:03 -07:00
Mauricio Poppe
2ac6d4d133 fix Pod Disks schedule pods each with a PD test in windows 2021-03-18 17:19:09 +00:00
Francesco Romani
fc0955c26a e2e: topomgr: use deletePodSync for faster delete
Previously the code used to delete pods serially.
In this patch we factor out code to do that in parallel,
using goroutines.

This shaves some time in the e2e tm test run with no intended
changes in behaviour.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-18 13:28:16 +01:00
Adhityaa Chandrasekar
1341e35a96 add integration test for suspended jobs
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-18 12:22:14 +00:00
Kubernetes Prow Robot
0c6d922812
Merge pull request #100057 from mauriciopoppe/pd-csi-volumesnapshot-flaky
Snapshot e2e test: wait for the node to stop using a volume before taking a snapshot
2021-03-18 01:15:19 -07:00
Kermit Alexander
81040d386f Return last pod error when apierrors.IsNotFound returns true in WaitForPodCondition. 2021-03-18 00:53:26 +00:00
Kermit Alexander
3213e36430 Always check passed podCondition in WaitForPodCondition. 2021-03-17 23:14:29 +00:00
Ernest Wong
0a368288ac
agnhost: increase dns timeout from 5 seconds to 20 seconds
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-17 16:07:35 -07:00
Aaron Crickenberger
e12e5be329 test/e2e: Add ownership info to README 2021-03-17 16:48:11 -04:00
Claudiu Belu
327093093d
test images: Fixes Windows busybox image
The image "e2eteam/powershell-helper:6.2.7-linux-cache" is a Linux image. Because we're running "docker buildx build --platform windows/amd64", docker buildx will consider it as a Windows image unless we explicitly specify otherwise. If the image's platform is not correctly identified, we can run into problems when trying to build the image.

We are already doing something similar with the windows-servercore-cache image.
2021-03-17 16:51:06 +02:00
Kubernetes Prow Robot
3d1d8731bd
Merge pull request #99866 from claudiubelu/test-images/powershell-helper-linux-cache
test images: powershell-helper linux cache
2021-03-16 17:02:56 -07:00
Kubernetes Prow Robot
da341b5cfc
Merge pull request #100290 from ii/promote-service-status-test
Promote ServiceStatus lifecycle e2e test to Conformance  +4 endpoint coverage
2021-03-16 15:57:16 -07:00
Katrina Verey
8bae3b449a Fix kubectl drain integration tests
These tests were not performing evictions because:
- Test pods were not on the test node (fixed with spec.nodeName)
- The test pods are unmanaged and require the --force flag to be evicted
  (added the flag)
- The test node does not run pods, which prevents pod deletion from
  finalizing (worked around with --skip-wait-for-delete-timeout)
2021-03-16 15:52:00 -07:00
Kubernetes Prow Robot
d4f1102690
Merge pull request #100260 from liggitt/pdb-crud
Replicate update/patch operations from eviction test in conformance CRUD test
2021-03-16 14:50:40 -07:00
Kubernetes Prow Robot
72cc3f2112
Merge pull request #99860 from chewong/fix-99470
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
2021-03-16 14:49:30 -07:00
Kubernetes Prow Robot
c78b5497ae
Merge pull request #99638 from chendave/perf_config
Enable scheduler_perf to support scheduler config file
2021-03-16 14:49:03 -07:00
Kubernetes Prow Robot
8ae116003b
Merge pull request #100303 from cpanato/revert-100179
revert removal of gcr.io/gke-release from pr #100179
2021-03-16 13:13:04 -07:00
Maciej Szulik
d30e79d090
Add more details to daemon set test 2021-03-16 18:39:14 +01:00
Claudiu Belu
ac6ebc260c test images: powershell-helper linux cache
We can cache the powershell-helper image's results into a scratch Linux image using
docker buildx. This will allow us to spend less time pulling the data we need from the
powershell-helper image when we need it.

Additionally, docker buildx might have some issues with cross-registry images, so this
will allow us to circumvent it.
2021-03-16 17:07:50 +00:00
Mauricio Poppe
c95975d3f3 wait until the node is not using the volume before taking a snapshot 2021-03-16 16:09:38 +00:00
Carlos Panato
c0e61e95a0
revert removal of gcr.io/gke-release from pr 100179 2021-03-16 16:30:18 +01:00
Dave Chen
d50c0aeb5f Enable scheduler_perf to support scheduler config file
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-03-16 23:13:40 +08:00
Kermit Alexander
c2aa40ca13 Do not early exit if pod is not found in WaitForPodCondition. 2021-03-16 14:44:19 +00:00
Kubernetes Prow Robot
bd23f4ff1e
Merge pull request #99888 from mauriciopoppe/storage-windows-tests
Refactor on windows e2e storage related tests
2021-03-15 19:40:34 -07:00
Ernest Wong
573535691b
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-15 19:14:14 -07:00
Chaitanya Bandi
93be90da9a use Patch API to add namespace annotations
While adding annotations to the namespace, using the Update API may result in
conflicts as "the object has been modified; please apply your changes to the
latest version and try again". Use Patch API to avoid this.

Signed-off-by: Chaitanya Bandi <kbandi@cs.stonybrook.edu>
2021-03-15 15:13:36 -07:00
Kubernetes Prow Robot
aac64ec9b3
Merge pull request #100199 from chaitanyabandi/ns-patch
use Patch API to add namespace label
2021-03-15 14:20:53 -07:00
Stephen Heywood
af1f64bee8 Promote ServiceStatus lifecycle e2e test to Conformance 2021-03-16 10:07:05 +13:00
Jordan Liggitt
e7b0ec5857 Replicate update/patch operations from eviction test in conformance CRUD test 2021-03-15 16:54:45 -04:00
Jordan Liggitt
86a8271624 Ensure storage version is understood by prior releases 2021-03-15 11:58:44 -04:00
Kubernetes Prow Robot
b345913c5e
Merge pull request #100188 from alculquicondor/job-api-fixes
Only default Job fields when feature gates are enabled
2021-03-15 07:35:06 -07:00
Kubernetes Prow Robot
b458d97feb
Merge pull request #99670 from jsturtevant/windows-gmsa
Include nltest in the windows busybox image
2021-03-15 05:01:05 -07:00