Commit Graph

24075 Commits

Author SHA1 Message Date
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
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
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
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
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
Kubernetes Prow Robot
d147da0304
Merge pull request #120597 from machine424/apiserver_storage_objects
clarify the description of the metric apiserver_storage_objects
2023-09-12 13:34:23 -07:00
Kubernetes Prow Robot
75ed5cc556
Merge pull request #120553 from Riaankl/remove-persistentvolume-endpoints
Remove persistentvolume endpoints from pending_eligible_endpoints.yaml
2023-09-12 13:34:11 -07:00
Kubernetes Prow Robot
e897483713
Merge pull request #120583 from ritazh/kms-livezchecks
kms: remove livez check
2023-09-12 12:18:12 -07:00
Todd Neal
af151eeba2 specifically check that the pod was successful 2023-09-12 13:40:20 -05:00
Rita Zhang
7710128636
kms: remove livez check
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-09-12 08:48:26 -07:00
Kubernetes Prow Robot
24bc34b1bf
Merge pull request #120516 from togettoyou/cleanup-client-go
cleanup: Replace the deprecated NewMemCacheClient with memory.NewMemCacheClient
2023-09-12 07:48:24 -07:00
machine424
084deb7a7c
clarify the description of the metric apiserver_storage_objects 2023-09-12 16:36:41 +02:00
Wojciech Tyczyński
9da533ced6 API Chunking conformance metadata 2023-09-12 13:12:49 +02:00
Lubomir I. Ivanov
3d91ffc6f9 /cmd/kubeadm,/test/e2e*: update OWNERS for fabriziopandini & RA489
- move fabriziopandini to emeritus_approvers for /test/e2e*
and /cmd/kubeadm. fabriziopandini remains in /OWNERS_ALIASES
under sig-cluster-lifecycle-leads.
- remove RA489 as reviewer for /test/e2e* and /cmd/kubeadm
2023-09-12 12:35:40 +03:00
Aldo Culquicondor
6b4ab616a2
Increase range of job_sync_duration_seconds
Change-Id: I7ed4b006faecf0a7e6e583c42b4d6bc4b786a164
2023-09-11 18:01:33 -04:00
Kubernetes Prow Robot
be968597e3
Merge pull request #120310 from gjkim42/use-container-log-instead-of-termination-log
Use container log instead of termination log
2023-09-11 11:52:23 -07:00
Han Kang
09d64ed7d4 promote sli metrics to stable 2023-09-11 10:17:42 -07:00
Kensei Nakada
0d3eafdfa3
fix(scheduling_queue): always put Pods with no unschedulable plugins into activeQ/backoffQ (#119105)
* always put Pods with no unschedulable plugins into activeQ/backoffQ

* address review comments
2023-09-11 09:30:11 -07:00
Gunju Kim
1fb4eee94e
Use container log instead of termination log
Since the termination log cannot be accessed until the container is
terminated, use the container log.
2023-09-11 22:55:09 +09:00
Patrick Ohly
fc3ee07b51 e2e pods: fix WaitForPodsResponding retry
The status error was embedded inside the new error constructed by
WaitForPodsResponding's get function, but not wrapped. Therefore
`apierrors.IsServiceUnavailable(err)` didn't find it and returned false -> no
retries.

Wrapping fixes this and Gomega formatting of the error remains useful:

	err := &errors.StatusError{}
	err.ErrStatus.Code = 503
	err.ErrStatus.Message = "temporary failure"

	err2 := fmt.Errorf("Controller %s: failed to Get from replica pod %s:\n%w\nPod status:\n%s",
		"foo", "bar",
		err, "some status")
	fmt.Println(format.Object(err2, 1))
        fmt.Println(errors.IsServiceUnavailable(err2))

=>

    <*fmt.wrapError | 0xc000139340>:
    Controller foo: failed to Get from replica pod bar:
    temporary failure
    Pod status:
    some status
    {
        msg: "Controller foo: failed to Get from replica pod bar:\ntemporary failure\nPod status:\nsome status",
        err: <*errors.StatusError | 0xc0001a01e0>{
            ErrStatus: {
                TypeMeta: {Kind: "", APIVersion: ""},
                ListMeta: {
                    SelfLink: "",
                    ResourceVersion: "",
                    Continue: "",
                    RemainingItemCount: nil,
                },
                Status: "",
                Message: "temporary failure",
                Reason: "",
                Details: nil,
                Code: 503,
            },
        },
    }

    true
2023-09-11 11:54:15 +02:00
Kubernetes Prow Robot
cc0a24d2e8
Merge pull request #120406 from wlq1212/cheanup/framework/timeout
e2e_framework:stop using deprecated wait.ErrwaitTimeout
2023-09-10 21:10:10 -07:00