Commit Graph

24632 Commits

Author SHA1 Message Date
cpanato
ac9482d15f update distroless-iptables to v0.5.0 debian-base to bookworm-v1.0.1 and setcap to bookworm-v1.0.1
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-02-07 11:46:19 +01:00
Kubernetes Prow Robot
eb5b9b0b6d Merge pull request #123140 from Jefftree/latest-sampleapiserver
Bump sample-apiserver to latest version (1.29.1)
2024-02-06 12:30:43 -08:00
Kubernetes Prow Robot
2fb99eb9e8 Merge pull request #121141 from wlq1212/introduceNewethod
using wait.Interrupted instead of deprecated wait.ErrWaitTimeout for utils
2024-02-06 11:06:34 -08:00
Kubernetes Prow Robot
1ee42beab9 Merge pull request #123122 from carlory/clean-e2e-Azure
Update in-tree azureDisk and azureFile tests
2024-02-05 21:41:35 -08:00
Kubernetes Prow Robot
2ec3ef62d6 Merge pull request #122594 from aravindhp/nlq-windows-e2e
e2e: add NodeLogQuery tests for Windows nodes
2024-02-05 21:41:27 -08:00
Jefftree
6a98704229 Bump to latest version 2024-02-05 21:06:54 +00:00
Kubernetes Prow Robot
dbd3f3564a Merge pull request #123129 from mkumatag/patch-3
Bump version for the sample-device-plugin image
2024-02-05 08:45:51 -08:00
Kubernetes Prow Robot
c0618cf947 Merge pull request #122769 from thockin/bump_shellcheck_version
Bump shellcheck to 0.9.0
2024-02-05 08:45:29 -08:00
Kubernetes Prow Robot
35531ae707 Merge pull request #121146 from shijinye/e2ecleanup-cloud-notequal
cleanup:e2e-cloud:stop using deprecated framework.ExpectNotEqual
2024-02-05 08:44:53 -08:00
Kubernetes Prow Robot
74888e49f2 Merge pull request #121140 from wlq1212/cleanup-e2e-autoscaling-ExpectNotEqual
test-autoscaling stop using deprecated framework.ExpectNotEqual
2024-02-05 07:21:16 -08:00
Manjunath Kumatagi
becb25c01f Bump version for the sample-device-plugin image 2024-02-05 11:40:43 +05:30
carlory
31c86e38ac Update in-tree azureDisk and azureFile tests 2024-02-04 18:29:02 +08:00
Kubernetes Prow Robot
42941cb88a Merge pull request #122635 from carlory/KEP-2799
Promote LegacyServiceAccountTokenCleanUp to GA
2024-02-02 12:47:23 -08:00
Kubernetes Prow Robot
77566f2486 Merge pull request #123036 from jsafrane/remove-invalid-vsphere-tests
Update in-tree vSphere tests
2024-02-02 11:35:23 -08:00
Alexander Zielenski
b636984004 test: remove unnecessary skip healthz check from test
snuck in there while I was working on the test, but is ultimately not necessary to test the functionality.

skipping healthz check resulted in leaking goroutines from poststarthooks.
2024-02-01 14:50:54 -08:00
Kubernetes Prow Robot
57e9981dc2 Merge pull request #122865 from pohly/e2e-framework-logging
e2e framework: unify logging, support skipping helpers
2024-02-01 09:37:02 -08:00
Jan Safranek
67926c3777 Update in-tree vSphere tests
Don't implement interfaces that trigger tests with in-line and
pre-provisioned vSphere volumes.

With cloud provider removal, the in-tree vSphere tests won't be able to
create a volume in vSphere and thus test in-line volumes in Pods and
pre-provisioned PVs. Only dynamically provisioned volumes can be used for
testing, because they're provisioned by the vSphere CSI driver.
2024-01-31 10:12:20 +01:00
Kubernetes Prow Robot
a9e4f5b786 Merge pull request #123041 from dims/use-metadata-file-when-values-have-special-characters
[gce_runner] use metadata file when values have special characters
2024-01-30 23:32:24 -08:00
Davanum Srinivas
717a0002b7 [gce_runner] use metadata file when values have special characters
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-01-30 15:55:51 -08:00
Aldo Culquicondor
b8c19dd1d2 Fix deprecated version for pod_scheduling_duration_seconds
Change-Id: Ia0ad9381057a4a1a4a4490861a0d7c1a7ba800cb
2024-01-30 23:41:49 +00:00
Kubernetes Prow Robot
922fbbf5b7 Merge pull request #123006 from dims/use-gcloud-for-gce-runner
Use gcloud for gce_runner
2024-01-30 09:42:05 -08:00
Kubernetes Prow Robot
4f910fe47c Merge pull request #123003 from alexzielenski/apiserver/policy/crd-startup
ValidatingAdmissionPolicy: dont skip reconcile for unchanged policy if last sync failed
2024-01-29 20:36:41 -08:00
Kubernetes Prow Robot
0ff6a00faf Merge pull request #122889 from cpanato/update-go-122
[go] Bump images, dependencies and versions to go 1.22rc2
2024-01-29 14:13:31 -08:00
Alexander Zielenski
71559bd026 bugfix: dont skip reconcile for unchanged policy if last sync failed 2024-01-29 11:16:59 -08:00
Qi Ni
2c829cf29b chore: Refactor network load balancer creation in e2e tests
Refactor the code related to creating an internal type load balancer in the e2e tests for network load balancers. The modification removes the check for the "azure" provider and updates it to only check for "gke" and "gce" providers. This change ensures that the test only runs when the cluster is using "gke" or "gce" as the provider. The counterpart test is in the out-of-tree cloud provider azure.
2024-01-29 14:15:25 +08:00
Davanum Srinivas
4716bf8bd4 Fix issues found by linter
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-01-28 06:05:04 -05:00
cpanato
ee86ca9f13 [go] Bump images, dependencies and versions to go 1.22rc2
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-01-28 10:10:54 +01:00
cpanato
c9991e4270 [go] Bump images, dependencies and versions to go 1.22rc1
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-01-28 10:10:47 +01:00
Davanum Srinivas
76ea142051 Use gcloud for gce_runner
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-01-27 22:23:37 -05:00
Tim Hockin
a7cf7fe55a Bump shellcheck to 0.9.0
Fix everything it flagged.
2024-01-26 16:26:40 -08:00
Kubernetes Prow Robot
02aaad0de9 Merge pull request #121876 from pohly/dra-reserve-during-pod-binding
dra: reserve + publish during pod binding
2024-01-26 19:58:01 +01:00
Kubernetes Prow Robot
c4feb19195 Merge pull request #122878 from liggitt/typecheck-kube-proxy-darwin
Re-allow building kube-proxy on all platforms
2024-01-26 16:32:12 +01:00
Patrick Ohly
5d1509126f dra: patch ReservedFor during PreBind
This moves adding a pod to ReservedFor out of the main scheduling cycle into
PreBind. There it is done concurrently in different goroutines. For claims
which were specifically allocated for a pod (the most common case), that
usually makes no difference because the claim is already reserved.

It starts to matter when that pod then cannot be scheduled for other reasons,
because then the claim gets unreserved to allow deallocating it. It also
matters for claims that are created separately and then get used multiple times
by different pods.

Because multiple pods might get added to the same claim rapidly independently
from each other, it makes sense to do all claim status updates via patching:
then it is no longer necessary to have an up-to-date copy of the claim because
the patch operation will succeed if (and only if) the patched claim is valid.

Server-side-apply cannot be used for this because a client always has to send
the full list of all entries that it wants to be set, i.e. it cannot add one
entry unless it knows the full list.
2024-01-26 10:58:03 +01:00
Kubernetes Prow Robot
17ad610559 Merge pull request #121321 from charles-chenzz/fix_flaky_PodReadyToStartContainersCondition
[KEP - 3085] Add e2e test for PodReadyToStartContainerCondition when config map is created
2024-01-24 21:57:24 +01:00
Kubernetes Prow Robot
7ff2deceb1 Merge pull request #122937 from dims/remove-vmware-cloud-provider
Drop in-tree cloud provider for vsphere
2024-01-24 18:46:21 +01:00
Hu#
b98e47dd80 tests: Cleanup for Job e2e tests global vars (#121695)
* put var in local

Signed-off-by: husharp <jinhao.hu@pingcap.com>

* revert gomod

Signed-off-by: husharp <jinhao.hu@pingcap.com>

---------

Signed-off-by: husharp <jinhao.hu@pingcap.com>
2024-01-24 14:00:38 +01:00
Davanum Srinivas
65d67101e7 Drop vsphere cloud provider
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-01-23 19:57:01 -05:00
Kubernetes Prow Robot
7bb00356f0 Merge pull request #122857 from nilo19/chore/cleanup-azure
chore: Cleanup in-tree credential provider azure and cloud provider a…
2024-01-23 21:31:11 +01:00
charles-chenzz
367bbd01d7 update testcase on podreadytostartcontainercondition 2024-01-23 18:29:35 +06:00
Jordan Liggitt
e92a4debcb Fix lint warning about unchecked error 2024-01-22 20:45:26 -08:00
Jordan Liggitt
8b22cb4696 Revert "Make verify-typecheck.sh only check valid targets for a platform"
This reverts commit e48aa09340.
2024-01-22 20:45:25 -08:00
Kubernetes Prow Robot
445869a59b Merge pull request #122873 from p0lyn0mial/upstream-reflector-usewatchlist-pointer
client-go/reflector: make UseWatchList a pointer
2024-01-22 18:20:58 +01:00
Kubernetes Prow Robot
9c1c603fbe Merge pull request #121145 from Rei1010/apiClean
e2e_api: stop using deprecated framework.ExpectNotEqual
2024-01-22 16:31:09 +01:00
Patrick Ohly
43539c855f e2e framework: unify logging, support skipping helpers
ginkgo.GinkgoHelper is a recent addition to ginkgo which allows functions to
mark themselves as helper. This then changes which callstack gets reported for
failures. It makes sense to support the same mechanism also for logging.

There's also no reason why framework.Logf should produce output that is in a
different format than klog log entries. Having time stamps formatted
differently makes it hard to read test output which uses a mixture of both.
Another user-visible advantage is that the error log entry from
framework.ExpectNoError now references the test source code.

With textlogger there is a simple replacement for klog that can be reconfigured
to let the caller handle stack unwinding. klog itself doesn't support that
and should be modified to support it (feature freeze).

Emitting printf-style output via that logger would work, but become less
readable because the message string would get quoted instead of printing it
verbatim as before. So instead, the traditional klog header gets reproduced
in the framework code. In this example, the first line is from klog, the second
from Logf:

    I0111 11:00:54.088957  332873 factory.go:193] Registered Plugin "containerd"
    ...
      I0111 11:00:54.987534 332873 util.go:506] >>> kubeConfig: /var/run/kubernetes/admin.kubeconfig

Indention is a bit different because the initial output is printed before
installing the logger which writes through ginkgo.GinkgoWriter.

One welcome side effect is that now "go vet" detects mismatched parameters for
framework.Logf because fmt.Sprintf is called without mangling the format
string. Some of the calls were incorrect.
2024-01-20 18:23:31 +01:00
Patrick Ohly
dd0cee4895 e2e node runner: remove dependency on e2e/framework
A stand-alone binary shouldn't import the test/e2e/framework, which is targeted
towards usage in a Ginkgo test suite. This currently works, but will break once
test/e2e/framework becomes more opinionated about how to configure logging.

The simplest solution is to duplicate the one short function that the binary
was calling in the framework.
2024-01-20 18:23:31 +01:00
Qi Ni
3bf2bf8191 chore: Cleanup in-tree credential provider azure and cloud provider azure 2024-01-20 15:18:31 +08:00
Kubernetes Prow Robot
2d4100335e Merge pull request #122866 from pohly/e2e-klog-fatal
e2e: replace klog.Fatal with assertion
2024-01-19 19:22:14 +01:00
Kubernetes Prow Robot
42c89fdc25 Merge pull request #122727 from carlory/fix-122376
Fix flaking test: CSI Mock workload info CSI PodInfoOnMount Update
2024-01-19 17:29:21 +01:00
Lukasz Szaszkiewicz
41e706600a client-go/reflector: make UseWatchList a pointer
until #115478(use streaming against the etcd storage)
is resolved the cacher need a way to disable the streaming.
2024-01-19 14:40:18 +01:00
Patrick Ohly
de014579a1 e2e: enforce usage of WithFlaky instead of [Flaky]
Now that we have it (8a89a1f5a5), let's also make sure that
the new WithFlaky is used everywhere instead if [Flaky]. This way it can be
used for filtering by label.
2024-01-19 12:17:37 +01:00