Commit Graph

127786 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
40f222b620
Merge pull request #128834 from pohly/scheduler-perf-pass-workaround
scheduler_perf: fix and enhance reporting
2024-11-21 16:08:55 +00:00
Dan Winship
b63593715f Test EndpointSlice in dual-stack e2e tests 2024-11-21 08:42:54 -05:00
Justyna Betkier
9dbdfe7ecb Remove provider specific operations from the autoscaling tests and reintroduce the tests.
Note that these tests will take now more time to run as they are relying on the scale up and scale down to prepare the test case and restore the cluster state.

Remove all the gke and gce specific tests including:
- GPUs
- volumes (no way to provision volumes without provider specific
  infrastructure)
- scale up/down from/to 0
- tests checking what happens after breaking nodes (no way to simulate
  temporary network failure without provider assumptions)

Remove the scalability tests that were not run and unmaintained.

Update the autoscaler version that is used by the tests.

Update the autoscaler status parsing logic for the tests to pass with
newer version of autoscaler.
2024-11-21 13:46:51 +01:00
Arda Güçlü
c3f15fd707 Use generic sets rather than deprecated sets.String 2024-11-21 13:41:14 +03:00
Kensei Nakada
bfea4890c5 cleanup: remove pod_scheduling_duration_seconds 2024-11-21 17:54:31 +09:00
carlory
36245509e8 fix flaky behavior due to the test ordering between DynamicProvisioner and Retroactive StorageClass Assignment 2024-11-21 14:13:43 +08:00
champly
4a876e21bc fix: params typo
Signed-off-by: champly <champly@outlook.com>
2024-11-21 11:10:48 +08:00
Kubernetes Release Robot
776fb24e06 CHANGELOG: Update directory for v1.31.3 release 2024-11-21 01:12:49 +00:00
Kubernetes Release Robot
dfa82b30f4 CHANGELOG: Update directory for v1.30.7 release 2024-11-21 00:46:50 +00:00
Kubernetes Release Robot
a132d17d45 CHANGELOG: Update directory for v1.29.11 release 2024-11-20 23:36:16 +00:00
Keerthan Reddy Mala
7e977d824c update the github.com/golang-jwt/jwt/v4 dependency 2024-11-20 10:53:05 -08:00
Keisuke Ishigami
dd1300df98 📝 output log when server shutdown is failed 2024-11-21 00:58:27 +09:00
Antonio Ojea
7280d58f85
Don't allow to tolerate flakes
We have zero flake policy for a long time now (> 1 year) https://github.com/kubernetes/community/pull/7538, however , there are some places that are still tolerating flakes and retrying 

Flakes does not help,  to the point that when we have to take a hard decision it creates more iuncertainty.

It does not matter how, we should be always able to deal with flakes:
- if the software or algorithm is racy, we need to work to make deterministic
- if is deterministic, the test must be deterministic
- if the test is determinist but it depends on the environment, then we work on making the environment deterministci
2024-11-20 16:40:03 +01:00
Kubernetes Prow Robot
bf70d289fb
Merge pull request #128875 from pacoxu/revert-128682-ippr-beta
Revert "[FG:InPlacePodVerticalScaling] Graduate to Beta"
2024-11-20 14:34:54 +00:00
modulitos
b577972a55
set user.DefaultInfo.UID from x509 cert 2024-11-20 00:44:26 -08:00
Paco Xu
03a15fa65d
Revert "[FG:InPlacePodVerticalScaling] Graduate to Beta" 2024-11-20 14:55:29 +08:00
Tsubasa Nagasawa
4e21f53547 Add test case for service with same named port for regular and sidecar containers 2024-11-20 00:10:06 +09:00
Tsubasa Nagasawa
e637659d89 Fix named ports of restartable init containers don't propagate to EndpointSlice 2024-11-19 23:55:58 +09:00
Tsubasa Nagasawa
a6e995379a Add test cases for Service with restartable init containers
* Add a test case to verify that specifying a port number
  as the target port for restartable init containers in Service
* Add a failing test case to verify that specifying a named port
  as the target port for restartable init containers in Service
2024-11-19 23:45:03 +09:00
Kubernetes Prow Robot
c9092f69fc
Merge pull request #128851 from pacoxu/fix-master-blocking
skip if cri proxy is disabled/undefined
2024-11-19 14:30:56 +00:00
Mariam Fahmy
f87bcd9b3a
fix: remove duplicated unit tests in JSONPatch and ApplyConfiguration
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-11-19 15:42:29 +02:00
Adrian Moisey
90922f5c94
Fix linting issue in test
Lint error was introduced in
https://github.com/kubernetes/kubernetes/pull/128305 and backported in https://github.com/kubernetes/kubernetes/pull/128806

It was merged before I could fix it, so I thought I'd make a follow up
PR to fix it.

I won't be backporting this lint as it's only in tests (unless it makes
sense to backport?)
2024-11-19 12:20:02 +02:00
Kubernetes Prow Robot
021dbe9d19
Merge pull request #128841 from princepereira/ppereira-remove-opencensus
Vendoring changes for new hnslib v0.0.8.
2024-11-19 10:08:54 +00:00
cpanato
cb42224952
Bump images, dependencies and versions to go 1.23.3 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-11-19 09:57:41 +01:00
Paco Xu
59dfb0e779 skip if cri proxy is disabled/undefined 2024-11-19 11:17:07 +08:00
Richa Banker
2581d2fadd Add self to sig-instrumentation leads 2024-11-18 14:58:34 -08:00
Walter Fender
588408df1c Bump konnectivity-client to v0.31.1
Bump konnectivity-client to v0.31.1
Includes a feature which allows KNP server count to be determined by
lease.
2024-11-18 14:10:03 -08:00
Prince Pereira
07c79da04f vendoring changes for new hnslib v0.0.8. 2024-11-18 23:30:50 +05:30
Patrick Ohly
25a4758bcc testing: allow keeping detailed go test JUnit results
Pruning of tests to the top-level test was added for jobs like
pull-kubernetes-unit which run many tests. For other, more focused jobs like
scheduler-perf benchmarking it would be nice to keep the more detailed
information, in particular because it includes the duration per test case.
2024-11-18 12:44:34 +01:00
xin.li
36f9ee958e proxy/util: remove unused function
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-11-18 19:40:52 +08:00
Patrick Ohly
ac3d43a8a6 scheduler_perf: work around incorrect gotestsum failure reports
Because Go does not a "pass" action for
benchmarks (https://github.com/golang/go/issues/66825#issuecomment-2343229005),
gotestsum reports a successful benchmark run as failed
(https://github.com/gotestyourself/gotestsum/issues/413#issuecomment-2343206787).

We can work around that in each benchmark and sub-benchmark by emitting the
output line that `go test` expects on stdout from the test binary for success.
2024-11-18 12:35:05 +01:00
Patrick Ohly
369a18a3a1 scheduler_perf: simplify flags, fix output
The "disabled by label filter" message for benchmarks printed the pointer to
the filter string, not the filter string itself. This mistake gets avoided and
the code becomes simpler when not using pointers.
2024-11-18 12:32:59 +01:00
Kubernetes Prow Robot
cf480a3a1a
Merge pull request #128800 from soltysh/flake_128742
Add timeout for port-forward test
2024-11-15 18:02:53 +00:00
Maciej Szulik
9e87e99587
Add timeout for port-forward test
After removing a pod in port-forward test we wait for an error from POST
request. Since the POST doesn't have a timeout it hangs indefinitely, so
instead we're hitting a DefaultPodDeletionTimeout. To make sure the POST
fails this adds a timeout to ensure we'll always get that expected
error, rather than nil.

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2024-11-15 17:48:24 +01:00
Abhishek Kr Srivastav
179fa16f46 Remove user privilege checks from preflight tests 2024-11-15 19:52:27 +05:30
Kubernetes Prow Robot
23e76432a9
Merge pull request #128720 from mengjiao-liu/update-metrics-1-32
Update metrics docs for v1.32 release(Note this must be committed after the code freeze)
2024-11-15 04:30:51 +00:00
Ayato Tokubi
30a7664c3f Change way to create a pod in test
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2024-11-15 00:40:03 +00:00
googs1025
c725e18e07 feature(scheduler): more fine-grained QHints for interpodaffinity plugin 2024-11-14 20:00:38 +08:00
carlory
cd6f4153e0 Fix a bug in framework.IgnoreNotFound where it will panic when a function type's final input parameter is a "..." parameter. 2024-11-14 16:44:04 +08:00
Kubernetes Prow Robot
475ee33f69
Merge pull request #128765 from sanposhiho/split-tests
fix: split TestCoreResourceEnqueue to deal with the timeout issue
2024-11-14 00:12:46 +00:00
Kubernetes Prow Robot
deecaf73eb
Merge pull request #128763 from srivastav-abhishek/fix-err-string
Fixed failing UT TestWriteKubeletConfigFiles by removing privilege check and adding proper error handling
2024-11-13 18:54:47 +00:00
Kensei Nakada
429abe33f1 fix: split TestCoreResourceEnqueue to deal with the timeout issue 2024-11-13 11:53:42 -07:00
Abhishek Kr Srivastav
56e3c787a5 Fixed failing test by removing privilege check and some refactor
Addressed review comments
2024-11-13 23:13:33 +05:30
Kubernetes Prow Robot
5ee686b6cf
Merge pull request #128559 from lauralorenz/crashloopbackoff-refactorimagepullbackoff-e2enodecriproxytest
E2E Node tests for image pull backoff and crashloopbackoff behavior
2024-11-13 17:34:47 +00:00
Maciej Skoczeń
de8e8c5404 Add integration tests for event handling cases in scheduler_perf 2024-11-13 13:17:48 +00:00
Kubernetes Prow Robot
f59dd4bce3
Merge pull request #128777 from SataQiu/fix-upgrade-dryrun-20241113
kubeadm: fix a bug where upgrade dryrun can not select the network interface correctly
2024-11-13 08:14:46 +00:00
SataQiu
d81e8beaea kubeadm: fix a bug where upgrade dryrun can not select the network interface correctly 2024-11-13 11:54:30 +08:00
Kubernetes Prow Robot
0926587bf0
Merge pull request #128771 from tallclair/min-quota
[FG:InPlacePodVerticalScaling] Equate CPU limits below the minimum effective limit (10m)
2024-11-13 03:48:53 +00:00
Kubernetes Prow Robot
af7581e8ec
Merge pull request #128761 from ah8ad3/revert-126533
Revert PR #126533 and add a test case for broken case
2024-11-13 03:48:46 +00:00
bzsuni
7e067396c2 Build etcd image v3.5.17
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-11-13 02:11:52 +00:00