Commit Graph

25108 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d924775d78 Merge pull request #120750 from pohly/test-output-init-fix
e2e framework: adapt unit test to Go 1.22
2023-09-27 06:26:10 -07:00
Kubernetes Prow Robot
fe6d64d080 Merge pull request #120402 from Rei1010/storageClean
e2e_storage:stop using deprecated framework.ExpectNotEqual
2023-09-27 05:14:08 -07:00
Kubernetes Prow Robot
36b474b008 Merge pull request #120893 from dims/build-kubelet-with-cgo-for-sig-node-e2e-tests-not-ginkgo
Build kubelet with CGO for sig-node e2e tests (not ginkgo)
2023-09-26 21:05:21 -07:00
Kubernetes Prow Robot
bb024e1f91 Merge pull request #120347 from shijinye/e2eclean
e2e_network:stop using deprecated framework.ExpectError
2023-09-26 12:04:59 -07:00
Abu Kashem
11ef9514da apf: remove RequestWaitLimit from queueset config 2023-09-26 08:55:23 -04:00
Davanum Srinivas
52f5093d77 Build kubelet with CGO for sig-node e2e tests (not ginkgo)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-09-26 08:32:59 -04:00
Patrick Ohly
36146ad686 e2e dra: enhance test driver
Several enhancements:
- `--resource-config` is now listed under `controller` options instead of
  `leader election`: merely a cosmetic change
- The driver name can be configured as part of the resource config. The
  command line flag overrides the config, but only when set explicitly.
  This makes it possible to pre-define complete driver setups where the
  name is associated with certain resource availability. This will be
  used for testing cluster autoscaling.
- The set of nodes where resources are available can optionally be specified
  via node labels. This will be used for testing cluster autoscaling.
2023-09-25 19:50:33 +02:00
Kubernetes Prow Robot
1c651cf739 Merge pull request #120817 from bertinatto/fix-panic-vsphere
e2e: bootstrap vsphere tests earlier
2023-09-25 08:57:36 -07:00
Dezhou Jiang
06deb49d2c Fix panic testing intree vSphere dynamic PV.
Change-Id: I9d1ee7f49f01c3308b967d84865fa6bcfafc4b0d
2023-09-22 18:58:44 +00:00
Kubernetes Prow Robot
3ac83f528d Merge pull request #119290 from carlory/add-logger
the scheduling queue logs the error and treats it as QueueAfterBackoff
2023-09-22 08:10:49 -07:00
fusida
9fb77db9b9 e2e: set liveness probe timeout seconds for conformance test 2023-09-22 11:05:00 +08:00
Fabio Bertinatto
eb109e3948 e2e: bootstrap vsphere tests earlier 2023-09-21 16:19:37 -03:00
Kubernetes Prow Robot
ed552363c3 Merge pull request #120405 from Rei1010/introduceNewMethod
using wait.Interrupted instead of deprecated wait.ErrWaitTimeout for apps
2023-09-21 07:24:44 -07:00
Kubernetes Prow Robot
ee73715dd9 Merge pull request #120774 from pacoxu/revert-120749-skip-kube-dns-tests-when-missing
Revert "Skip kube-dns tests if coredns is installed"
2023-09-20 21:22:14 -07:00
carlory
0105a002bc when the hint fn returns error, the scheduling queue logs the error and treats it as QueueAfterBackoff.
Co-authored-by: Kensei Nakada <handbomusic@gmail.com>

Co-authored-by: Kante Yin <kerthcet@gmail.com>

Co-authored-by: XsWack <xushiwei5@huawei.com>
2023-09-21 09:40:44 +08:00
Kubernetes Prow Robot
884bc96fec Merge pull request #120773 from swatisehgal/tm-metrics-e2e-deflake
topology-mgr: metrics: Deflake Topology Manager metrics e2e tests
2023-09-20 11:26:26 -07:00
Kubernetes Prow Robot
7fb7e2625b Merge pull request #120401 from shijinye/e2eclean-node-notequal
cleanup:e2e:stop using deprecated framework.ExpectNotEqual
2023-09-20 11:26:19 -07:00
Kubernetes Prow Robot
3191493cea Merge pull request #119402 from Tal-or/e2e_podres_terminal_pods
e2e:podresources: verify count for terminal pods
2023-09-20 11:26:11 -07:00
Kubernetes Prow Robot
89b4153d4d Merge pull request #116884 from mengjiao-liu/contextual-logging-scheduler-plugin-nodevolumelimits
Change the scheduler plugins FactoryAdapter function to use context parameter to pass logger
2023-09-20 11:26:00 -07:00
Kubernetes Prow Robot
7dcb412675 Merge pull request #120762 from Riaankl/remove-storageclass-endpoints
remove storageclass endpoints from pending_eligible_endpoints.yaml
2023-09-20 07:02:14 -07:00
Kubernetes Prow Robot
71e6923af5 Merge pull request #120761 from ii/promote-storageclass-lifecycle-test
Promote e2e test for StorageClass Endpoints + 7 Endpoints
2023-09-20 07:02:02 -07:00
Paco Xu
7cfdb792d6 Revert "Skip kube-dns tests if coredns is installed" 2023-09-20 21:04:54 +08:00
Swati Sehgal
f5d915b594 topology-mgr: metrics: Deflake Topology Manager metrics e2e tests
On local execution of Topology Manager metrics tests, the tests pass rate was 100%.
Yet, we can see that the Topology Manager metrics tests are failing in upstream
CI consistently: https://testgrid.k8s.io/sig-node-presubmits#pr-kubelet-serial-gce-e2e-topology-manager.

From the logs, it was identified that these failures are because of timeouts,
so we are increasing the default timeout as well as polling interval frequency
of obtaining KubeletMetrics to deflake this test.

We have noticed a similar flake in case of CPU manager metrics tests as well:
https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/directory/pull-kubernetes-node-kubelet-serial-cpu-manager/1701615009836044288.
Once it is confirmed that the issue is resolved for Topology Manager test,
we will be fix this for CPU Manager as well in a follow-up PR.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-09-20 13:37:27 +01:00
Mengjiao Liu
a7466f44e0 Change the scheduler plugins PluginFactory function to use context parameter to pass logger
- Migrated pkg/scheduler/framework/plugins/nodevolumelimits to use contextual logging
- Fix golangci-lint validation failed
- Check for plugins creation err
2023-09-20 17:49:54 +08:00
Kubernetes Prow Robot
144baff189 Merge pull request #120598 from neolit123/1.29-kubeadm-ownders-cleanup
/cmd/kubeadm,/test/e2e*: update OWNERS for fabriziopandini & RA489
2023-09-19 21:39:59 -07:00
Kubernetes Prow Robot
963c9b3cb9 Merge pull request #119317 from mochizuki875/fix_ds_rolling_update_118823
Exclude nodes from rolling update depending on tolerations
2023-09-19 16:50:17 -07:00
Stephen Heywood
de244b2678 Promote StorageClass e2e test to Conformance 2023-09-20 09:44:55 +12:00
Riaan Kleinhans
b23575d0fc remove storageclass endpoints
Signed-off-by: Riaan Kleinhans <riaan@ii.coop>
2023-09-20 09:17:58 +12:00
upodroid
9e060590e6 skip kube-dns tests if kube-dns is missing 2023-09-19 12:48:54 +01:00
mochizuki875
2a82776745 change rolling update logic to exclude sunsetting nodes 2023-09-19 11:39:32 +00:00
Patrick Ohly
83c37acb21 e2e framework: adapt unit test to Go 1.22
Go 1.22 changed the name of init functions from "glob..func" to
"init.func". That difference is acceptable and has to be ignored when comparing
output.
2023-09-19 12:18:34 +02:00
Kubernetes Prow Robot
12dc19d46f Merge pull request #119393 from saschagrunert/debian-base
Update debian-base for test images and others
2023-09-19 00:48:55 -07:00
Antonio Ojea
bbb905c794 remove gce healthcheck interval e2e lb test
Change-Id: Idcd8c4c6b39cbd419ca58b7354508ebe81501e91
2023-09-17 19:47:32 +00:00
Patrick Ohly
7cac1dcf67 dra scheduler: fall back to SSA for PodSchedulingContext updates
During scheduler_perf testing, roughly 10% of the PodSchedulingContext update
operations failed with a conflict error. Using SSA would avoid that, but
performance measurements showed that this causes a considerable
slowdown (primarily because of the slower encoding with JSON instead of
protobuf, but also because server-side processing is more expensive).

Therefore a normal update is tried first and SSA only gets used when there has
been a conflict. Using SSA in that case instead of giving up outright is better
because it avoids another scheduling attempt.
2023-09-15 15:05:38 +02:00
Kubernetes Prow Robot
d393d4e151 Merge pull request #120574 from logicalhan/cslis
promote component SLIs to GA; remove feature gates for component slis
2023-09-14 22:52:12 -07:00
Kubernetes Prow Robot
9bba6cd627 Merge pull request #120600 from wojtek-t/conformance_metadata
Fix missing conformance metadata forAPI Chunking tests
2023-09-14 18:50:11 -07:00
mochizuki875
e22f8ed553 add CAP_NET_RAW to netadmin profile and remove privileged 2023-09-14 08:55:58 +00:00
Kubernetes Prow Robot
4abf29c5c8 Merge pull request #120651 from humblec/test-rbd
test-e2e: Retrigger the RBD image post merge job
2023-09-14 01:00:29 -07:00
Kubernetes Prow Robot
8eaaf2f9b9 Merge pull request #120403 from wlq1212/cheanup/notwork/expectnotequal
e2e_network:stop using deprecated framework.ExpectNotEqual
2023-09-14 01:00:16 -07:00
Kubernetes Prow Robot
a68093a3ff Merge pull request #120506 from alexzielenski/import-restrictions
Update e2e import restrictions
2023-09-13 21:56:22 -07:00
Humble Chirammal
0288367db8 test-e2e: Retrigger the RBD image post merge job
The post merge job was failed #117103
and this causes the e2e tests to fail. Considering we have increased
the timeout recently,  retriggering the job.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-09-14 09:38:24 +05:30
Kubernetes Prow Robot
716b8b9d83 Merge pull request #120623 from aojea/service_status_Finalizer
sync Service API status rest storage
2023-09-13 17:56:11 -07:00
Antonio Ojea
21e26486ac sync Service API status rest storage
The Service API Rest implementation is complex and has to use different
hooks on the REST storage. The status store was making a shallow copy of
the storage before adding the hooks, so it was not inheriting the hooks.

The status store must have the same hooks as the rest store to be able
to handle correctly the allocation and deallocation of ClusterIPs and
nodePorts.

Change-Id: I44be21468d36017f0ec41a8f912b8490f8f13f55
Signed-off-by: Antonio Ojea <aojea@google.com>
2023-09-13 11:35:42 +00:00
wlq1212
239ce7c52b e2e_network:stop using deprecated framework.ExpectNotEqual 2023-09-13 18:46:49 +08:00
Kubernetes Prow Robot
50578c4b58 Merge pull request #119902 from RomanBednar/pv-phase-transition-time-e2e
e2e: add test for verification of timestamp for new PVs
2023-09-13 03:00:11 -07:00
Kubernetes Prow Robot
160fe010f3 Merge pull request #120464 from gjkim42/deflake-container-lifecycle-e2e-test
e2e_node: Assign enough time to finish the postStart hook
2023-09-12 17:44:44 -07:00
Kubernetes Prow Robot
04e5914079 Merge pull request #120349 from ruquanzhao/fixTopologyManagerJobs
e2e-node: fix TopologyManager test jobs.
2023-09-12 17:44:37 -07:00
Kubernetes Prow Robot
8aeebda818 Merge pull request #120306 from Rei1010/nodeClean
e2e_node:stop using deprecated framework.ExpectError
2023-09-12 17:44:23 -07:00
Kubernetes Prow Robot
9afd83d9bd Merge pull request #120614 from tzneal/add-check-for-pod-success-status
sidecar tests: specifically check that the pod was successful
2023-09-12 16:40:10 -07:00
Kubernetes Prow Robot
81ac3f9e2e Merge pull request #120552 from ii/promote-pv-pvc-lifecycle-test
Promote e2e test for PersistentVolume & PersistentVolumeClaim Endpoints + 13 Endpoints
2023-09-12 14:42:22 -07:00