Commit Graph

28332 Commits

Author SHA1 Message Date
Davanum Srinivas
aea2723744 populate pending and ineligible endpoints 2025-08-28 15:41:17 -04:00
Kubernetes Prow Robot
8c1094d54a Merge pull request #133615 from carlory/fix-133610
Promote VAC API test to conformance
2025-08-28 05:37:17 -07:00
Kubernetes Prow Robot
aead71c1c2 Merge pull request #132128 from skitt/cadvisor-0.53
Bump cadvisor to 0.53
2025-08-28 05:37:10 -07:00
Stephen Kitt
c35d5473dd Remove the otel semantics override
With the bump to otelhttp 0.61, this is no longer necessary.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-08-28 09:23:06 +02:00
huweiwen
c16d72c414 e2e: case for multiple volumes reference one PVC 2025-08-28 13:05:07 +08:00
Kubernetes Prow Robot
f0ee0ddc55 Merge pull request #133703 from macsko/fix_flaking_readyz_check_integration
Fix flaking readyz check in scheduler TestEndpointHandlers
2025-08-27 20:24:35 -07:00
Kubernetes Prow Robot
e8fb05e8a0 Merge pull request #133686 from soltysh/drop_CronJobsScheduledAnnotation
Drop CronJobsScheduledAnnotation after the feature GA-ed in 1.32
2025-08-27 20:24:28 -07:00
Kubernetes Prow Robot
1726fd1e06 Merge pull request #133655 from pohly/dra-e2e-class-creation
DRA E2E: clean up class creation for extended resource tests
2025-08-27 20:24:06 -07:00
Kubernetes Prow Robot
e162622b5c Merge pull request #133621 from pohly/scheduler-perf-klog-race
scheduler_perf: fix data race warning around klog flush
2025-08-27 20:23:51 -07:00
Kubernetes Prow Robot
63013fca52 Merge pull request #133585 from KobayashiD27/dra-fix-bindingcond-integration-flake
DRA: Fix flake in dra BindingConditions integration test
2025-08-27 20:23:23 -07:00
Kubernetes Prow Robot
22a567ac31 Merge pull request #133571 from BenTheElder/deprecated-missing-oh-no
fix many incorrect deprecation warnings in godoc, enable deprecatedComment linter
2025-08-27 18:30:53 -07:00
Kubernetes Prow Robot
9c9c5168c7 Merge pull request #133509 from xuzhenglun/fix-e2e-race
fix flake race in VAP e2e case
2025-08-27 18:30:23 -07:00
Kubernetes Prow Robot
17300a7770 Merge pull request #133476 from mauriciopoppe/crictl-parallel
Add retries to node's crictl test
2025-08-27 18:30:01 -07:00
Kubernetes Prow Robot
951c286433 Merge pull request #133462 from ffromani/e2e-node-cpumgr-cleanup-prepare
e2e: node: cpumanager: cleanup and tidification before test replacement
2025-08-27 18:29:46 -07:00
Kubernetes Prow Robot
3893eca5ce Merge pull request #133432 from Jpsassine/kep4680-conform-device-plugin-feature
test: Standardize labels for ResourceHealthStatus e2e tests
2025-08-27 18:29:17 -07:00
Kubernetes Prow Robot
e71ce95d52 Merge pull request #133426 from jsafrane/selinux-e2e-driver2
Add e2e test for SELinuxMount to CSI drivers
2025-08-27 18:29:10 -07:00
Kubernetes Prow Robot
b8f5561ab7 Merge pull request #133425 from jsafrane/selinux-e2e-driver
Fix SELinux label comparison
2025-08-27 17:18:56 -07:00
Kubernetes Prow Robot
d3755a4a12 Merge pull request #133421 from p0lyn0mial/upstream-deflake-watchlist-table-e2e
e2e/watchlist: remove dynamic `Age` column value in Table test to prevent test flake
2025-08-27 17:18:48 -07:00
Kubernetes Prow Robot
993d286230 Merge pull request #133398 from macsko/split_preemption_integration_tests_to_mitigate_timeout
Split preemption integration tests to mitigate the timeout
2025-08-27 17:18:26 -07:00
Kubernetes Prow Robot
dd7ae1fc4f Merge pull request #133319 from dashpole/test_new_semconv
Migrate tracing tests to use the new otelhttp semantic conventions
2025-08-27 17:17:20 -07:00
Kubernetes Prow Robot
6958161aa9 Merge pull request #117160 from liggitt/sa-describe
Clean up service account print and describe
2025-08-27 17:17:13 -07:00
Kubernetes Prow Robot
ea0b7f79ea Merge pull request #133251 from HirazawaUi/fix-sidecar-container-tests
Fix sidecar containers flaky tests
2025-08-27 16:06:11 -07:00
Kubernetes Prow Robot
8e8046d7fe Merge pull request #133237 from ylink-lfs/chore/intptr_deref_replacement
chore: use ptr.Deref to replace int deref utils
2025-08-27 16:06:04 -07:00
Kubernetes Prow Robot
0cecf14cfe Merge pull request #133206 from gavinkflam/131475-gocritic-issues-test-e2e-node
Fix gocritic issues - test/e2e_node
2025-08-27 16:05:56 -07:00
Kubernetes Prow Robot
3355bd0800 Merge pull request #133186 from ConnorJC3/fix-flaky-vac-test
Do not remove PVC ClaimRef to fix flaky VAC test
2025-08-27 16:05:41 -07:00
Kubernetes Prow Robot
36a1587dbf Merge pull request #133080 from togettoyou/cleanup-scheduler_perf_TODO
scheduler_perf: remove outdated TODO comments
2025-08-27 16:05:27 -07:00
Kubernetes Prow Robot
29cf8ae3d1 Merge pull request #132060 from Jefftree/135-bv
Bump BinaryVersion to 1.35
2025-08-27 14:53:44 -07:00
Maciej Skoczeń
1c336e3fc6 Fix flaking readyz check in scheduler integration tests 2025-08-26 10:28:47 +00:00
Maciej Szulik
a0a43e5f80 Drop CronJobsScheduledAnnotation after the feature GA-ed in 1.32
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-08-25 14:00:35 +02:00
Patrick Ohly
8a95e8a71c DRA E2E: clean up class creation for extended resource tests
The initial testing of DRAExtendedResource changed the common setup for all
tests so that each test runs with seven DeviceClasses. This is unnecessary and
confusing, for example when looking at the endpoint stats for the simple
conformance test ("Are the stats correct? The test should only create one
class.").

This update changes it so that each test which needs more than the default
class explicitly creates those itself. For clarity, the special -1 index gets a
name and naming of the DeviceClasses gets updated to keep the default class
simple (no additional suffix).

Using the same "example.com/resource0" in tests which run in parallel might
explain https://github.com/kubernetes/kubernetes/issues/133653. This gets
replaced with extended resource names based on the driver name, which is unique
in each parallel test.
2025-08-22 18:12:34 +02:00
Dan Winship
db01f94032 Remove patch/update from ServiceCIDR API conformance test
They were already listed in ineligible_endpoints.yaml, so we shouldn't
be testing them here anyway.
2025-08-20 09:19:55 -04:00
Patrick Ohly
f6b3f916b1 scheduler_perf: fix data race warning around klog flush
Explicitly shutting down background flushing addresses the following data race:

    WARNING: DATA RACE
    Write at 0x0000091173b8 by goroutine 166:
      k8s.io/component-base/logs/api/v1.apply.FlushLogger.func2()
          /nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/klog/v2/contextual.go:95 +0x35
      k8s.io/klog/v2.SetLoggerWithOptions()
          /nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/klog/v2/contextual.go:75 +0xb4
      k8s.io/component-base/logs/api/v1.apply()
          /nvme/gopath/src/k8s.io/kubernetes/staging/src/k8s.io/component-base/logs/api/v1/options.go:277 +0x10fb
      k8s.io/component-base/logs/api/v1.validateAndApply()
          /nvme/gopath/src/k8s.io/kubernetes/staging/src/k8s.io/component-base/logs/api/v1/options.go:132 +0x90
      k8s.io/component-base/logs/api/v1.ValidateAndApply()
          /nvme/gopath/src/k8s.io/kubernetes/staging/src/k8s.io/component-base/logs/api/v1/options.go:94 +0xd4
      k8s.io/component-base/logs/api/v1.ResetForTest()
          /nvme/gopath/src/k8s.io/kubernetes/staging/src/k8s.io/component-base/logs/api/v1/options.go:314 +0xd5
      k8s.io/kubernetes/test/integration/scheduler_perf.setupTestCase.func1()
          /nvme/gopath/src/k8s.io/kubernetes/test/integration/scheduler_perf/scheduler_perf.go:1062 +0x95
      testing.(*common).Cleanup.func1()
          /nvme/gopath/go-1.24.0/src/testing/testing.go:1211 +0x16f
      testing.(*common).runCleanup()
          /nvme/gopath/go-1.24.0/src/testing/testing.go:1445 +0x2b3
      testing.(*common).runCleanup()
          /nvme/gopath/go-1.24.0/src/testing/testing.go:1445 +0x2b3
      testing.tRunner.func2()
          /nvme/gopath/go-1.24.0/src/testing/testing.go:1786 +0x4c
      runtime.deferreturn()
          /nvme/gopath/go-1.24.0/src/runtime/panic.go:605 +0x5d
      k8s.io/apiserver/pkg/endpoints.(*APIInstaller).Install()
          /nvme/gopath/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/installer.go:208 +0x3ad

    ...

    Previous read at 0x0000091173b8 by goroutine 169:
      k8s.io/klog/v2.(*loggingT).flushAll()
          /nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/klog/v2/klog.go:1215 +0x166
      k8s.io/klog/v2.(*loggingT).lockAndFlushAll()
          /nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/klog/v2/klog.go:1193 +0x58
      k8s.io/klog/v2.(*loggingT).lockAndFlushAll-fm()
          <autogenerated>:1 +0x33
      k8s.io/klog/v2.(*flushDaemon).run.func1()
          /nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/klog/v2/klog.go:1143 +0x179

That the cleanup code is shown as being called by runtime/panic.go and
k8s.io/apiserver/pkg/endpoints/installer.go seems to be an oddity of `go test
-race`. Under a debugger it gets called normally, without a panic, and the test
finishes normally either way.

It's debatable whether StopFlushDaemon should be called by the caller of
ResetForTest or by ResetForTest itself. It's explicitly called out as "not
thread safe", so making the caller responsible seems appropriate.
2025-08-20 12:01:56 +02:00
carlory
f920b064d0 Promote VAC API test to conformance 2025-08-20 11:10:33 +08:00
Kubernetes Prow Robot
5568780ca3 Merge pull request #133562 from nojnhuh/dra-e2e-slice-controller-flake
DRA: wait for stats to converge in "creates slices" e2e test
2025-08-19 04:21:36 -07:00
Kubernetes Prow Robot
29e16ff792 Merge pull request #133286 from yliaog/deviceplugin
added WithFlaky to the device plugin test case: supports extended resources together with ResourceClaim
2025-08-19 00:43:35 -07:00
Kobayashi,Daisuke
97a146d47d Refactor error handling: reuse err inside closures and avoid re-shadowing 2025-08-18 22:33:14 +00:00
Kubernetes Prow Robot
17d6c9c551 Merge pull request #133523 from bart0sh/PR194-dra-upgrade-downgrade-use-latest
e2e_dra: use latest release if stable doesn't exist
2025-08-18 01:33:09 -07:00
Ed Bartosh
41013e7bf0 e2e_dra: use latest release if stable doesn't exist
This change updates the DRA upgrade/downgrade test to attempt
downloading the "latest" Kubernetes release if the "stable" release
entry point is not available.

This should fix test failures for the time just before the release,
when master is switched to the next release, but stable release URL
is not yet updated.
2025-08-18 10:23:42 +03:00
Kobayashi,Daisuke
38da6d767d DRA: Fixed ResourceClaim UpdateStatus to wrap with RetryOnConflict to automatically retry in the event of a conflict. 2025-08-18 00:46:51 +00:00
Benjamin Elder
189d6d726b fix formatting of deprecation warning in test/e2e/framework.WaitForServiceEndpointsNum
"// Deprecated:" needs to be in it's own paragraph
2025-08-15 11:29:53 -07:00
Kubernetes Prow Robot
180b4ec2ad Merge pull request #133126 from RomanBednar/fix-populator-test
improve CRD handling in VolumePopulator test
2025-08-15 09:09:07 -07:00
Junhao Zou
a405844e66 scheduler_perf(fix): correct typos, clarify comments, and minor tweaks 2025-08-15 16:34:38 +08:00
Jon Huhn
bf6c86b562 DRA: wait for stats to converge in "creates slices" e2e test 2025-08-15 01:02:44 -05:00
Carlos Panato
020b7052ca Bump dependencies, images and versions used to Go 1.24.6 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-08-14 09:46:06 +02:00
xuzhenglun
f0e52c1c47 add known example API group suffix to avoid race 2025-08-14 03:01:09 +08:00
yliao
edfa9a5bd2 added WithFlaky() to the device plugin test case: supports extended resources together with ResourceClaim 2025-08-13 17:57:33 +00:00
Mauricio Poppe
e1dd085ffe Add retries to node's crictl test.
In addition, simplify the test by only considering the output of
`crictl version` which already displays info about the container
runtime.
2025-08-12 16:31:39 +00:00
Lukasz Szaszkiewicz
7f4462398a e2e/watchlist: normalize dynamic 'Age' column in Table test to prevent test flake 2025-08-12 08:56:48 +02:00
Francesco Romani
8612c57d21 e2e: node: linter fix
fix linter suggestions.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 15:14:46 +02:00
Francesco Romani
e839adafb7 e2e: node: cpumanager: move shared code in topology manager tests
The topology manager tests wants to run a subset of cpumanager tests
while checking numa alignment. We should eventually rewrite
these bits to reuse the new and cleaner rewritten cpu manager tests.
For the time being, we move the shared bits in the topology manager
tests, so we are now enabled to remove the remaining obsolete
cpu manager tests with the rewritten ones.

Trivial code movement, no intended behavioral changes.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-08-11 14:46:07 +02:00