Commit Graph

26941 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b14fad5adc Merge pull request #130181 from natasha41575/apiserver-generation
start setting pod metadata.generation
2025-02-24 10:48:29 -08:00
Natasha Sarkar
d02401dea9 start setting pod metadata.generation 2025-02-24 16:22:14 +00:00
Kubernetes Prow Robot
06d81cfc7a Merge pull request #130359 from my-git9/assertion1
fix wrong assertion on tests
2025-02-24 05:18:34 -08:00
Kubernetes Prow Robot
6511ba7e93 Merge pull request #130319 from pohly/dra-test-integration
DRA: add dedicated integration tests
2025-02-24 05:18:27 -08:00
Kubernetes Prow Robot
aa96283764 Merge pull request #130306 from carlory/fix-130268
fix flaky test: Subpath Container restart should verify that container can restart successfully after configmaps modified
2025-02-23 23:00:28 -08:00
carlory
b56d30e32a fix flaky test: Subpath Container restart should verify that container can restart successfully after configmaps modified
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-24 11:24:58 +08:00
Kubernetes Prow Robot
b066ddceb7 Merge pull request #130357 from tallclair/forbid-memory-limit-decrease
Fix pod resize E2E tests after forbidding memory limit decrease
2025-02-23 18:12:27 -08:00
xin.li
bc4ae15d77 fix wrong assertion on tests
Signed-off-by: xin.li <xin.li@daocloud.io>
2025-02-23 16:53:50 +08:00
Kubernetes Prow Robot
ef54ac803b Merge pull request #130187 from mansikulkarni96/129084
fix:  Sweep and fix stat, lstat, evalsymlink usage for go1.23 on Windows
2025-02-22 11:50:26 -08:00
Kubernetes Prow Robot
0a08529144 Merge pull request #129770 from sunnylovestiramisu/promoteGA
Promote Beta AnyVolumeDataSource to GA
2025-02-21 16:50:26 -08:00
Tim Allclair
ddd4c56893 Fix pod resize E2E tests after forbidding memory limit decrease 2025-02-21 15:46:33 -08:00
mansikulkarni96
2a32b21372 [test] handle ModeIrregular in getFilePerm for Go 1.23 2025-02-21 18:02:28 -05:00
Patrick Ohly
9492a2ca9b DRA: add dedicated integration tests
DRA had integration tests as part of test/integration/scheduler_perf (for the
scheduler plugin) and some others scattered in different
places (e.g. test/integration/resourceclaim for device status).

The new test/integration/dra is meant to become the common location for all
DRA-related integration tests. This makes it simpler to share common setup
code.
2025-02-21 20:48:04 +01:00
Kubernetes Prow Robot
354299bea0 Merge pull request #130323 from Jefftree/ssr-test-fix
Fix SelfSubjectReview test to decouple beta and GA types
2025-02-21 08:38:38 -08:00
Kubernetes Prow Robot
fa03b93d25 Merge pull request #130326 from elizabeth-dev/statefulset-framework-return-errors
test(statefulset): return errors in framework function GetPodList for upstream handling
2025-02-21 00:06:26 -08:00
Kubernetes Prow Robot
b2021035c7 Merge pull request #129888 from jsafrane/selinux-controller-tests
Add SELinux controller e2e tests
2025-02-20 13:46:26 -08:00
Elizabeth Martin Campos
a49b336e83 test(statefulset): return errors in framework function GetPodList for upstream handling
See #130159
2025-02-20 21:24:15 +01:00
Jefftree
92cc680c8a Fix SelfSubjectReview test to decouple beta and GA types from the same apiserver 2025-02-20 19:32:16 +00:00
Patrick Ohly
f9e7b15c00 ktesting: add Run
This is useful in Go unit tests because it directly replaces the corresponding
testing.T/B.Run.
2025-02-20 14:41:06 +01:00
Patrick Ohly
c2ad724e9a ktesting: add Parallel
It's useful for writing parallel unit tests.
2025-02-20 14:35:40 +01:00
Jan Safranek
bf63e0046c selinux: rename allMetrics
To indicate they're all _SELinux_ metrics
2025-02-20 12:19:07 +01:00
Kubernetes Prow Robot
0b1ef24a99 Merge pull request #130285 from LionelJouin/fix-130096
Fix DRA flaky test for ResourceClaim device status
2025-02-20 00:20:26 -08:00
Kubernetes Prow Robot
afbbdbedc2 Merge pull request #128685 from AnishShah/fix-ippr-test
[FG:InPlacePodVerticalScaling]  assert specific error occurred in tests
2025-02-19 17:06:26 -08:00
Kubernetes Prow Robot
c75960c414 Merge pull request #129497 from carlory/remove-fg-AppArmorFields
Remove general available feature-gate AppArmorFields
2025-02-19 14:38:26 -08:00
Lionel Jouin
993f3c361f Fix DRA flaky test for ResourceClaim device status
The previous Eventually loop was not properly checking if the pod was
scheduled and running. Thus, the node name could not be retrieved from
the pod specs. The plugin could not be retrieved and the UpdateStatus
was called on a nil object.
TestPod function is now used instead, so the test waits for the pod to
be scheduled. The Eventually loop to get the pod and resourceClaim is
then no longer needed.

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-19 20:34:38 +01:00
sunnylovestiramisu
21f899596e Promote AnyVolumeDataSource to GA 2025-02-19 17:58:09 +00:00
Kubernetes Prow Robot
f0077a3689 Merge pull request #130221 from soltysh/flake_129779
Add more log information to help debug flake #129779
2025-02-19 06:46:26 -08:00
Kubernetes Prow Robot
bff54e4020 Merge pull request #130013 from yongruilin/crd-racheting-ga
KEP-4008: promote CRDValidationRatcheting to GA
2025-02-18 18:08:25 -08:00
Kubernetes Prow Robot
0e3a247859 Merge pull request #130083 from elizabeth-dev/replace-network-e2e-replicationcontrollers-5
test(network): replace calls to e2erc.RunRC with Deployments in SIG Network tests
2025-02-18 15:06:26 -08:00
Kubernetes Prow Robot
821bc2e15e Merge pull request #130128 from adrianmoisey/bump-kep-4427-to-beta
Bump KEP-4427 : AllowRelaxedDNSSearchValidation to Beta
2025-02-18 12:10:34 -08:00
Jan Safranek
d3eb639313 selinux: add tests for SELinuxController
Squeeze them into existing kubelet metric tests. The tests would have very
similar setup + cleanup.
2025-02-18 17:44:13 +01:00
Elizabeth Martin Campos
e15fd43d81 test(network): replace calls to e2erc.RunRC with Deployments in service latency tests
See #119021
2025-02-18 17:42:00 +01:00
Elizabeth Martin Campos
cd0df9786e test(network): replace calls to e2erc.RunRC with Deployments in service proxying tests
See #119021
2025-02-18 17:41:12 +01:00
Kubernetes Prow Robot
9a2a278a20 Merge pull request #130162 from carlory/remove-cloud-provider-and-cloud-config-in-apiserver-CLI
kube-apiserver: removed the deprecated the `--cloud-provider` and `--cloud-config` CLI parameters.
2025-02-18 08:00:38 -08:00
Kubernetes Prow Robot
fc876787b8 Merge pull request #130126 from fuweid/fix-128314
proxy: should add PingPeriod for websocket translator
2025-02-18 08:00:26 -08:00
Jan Safranek
992c8e9479 selinux: explicitly specify NodeMetrics in function names
This is just refactoring / renaming.

The SELinux e2e tests grab node metrics so far, so mention `Node` in the
function names. Kube-controller-metrics will follow in a subsequent commit.
2025-02-18 11:48:36 +01:00
Kubernetes Prow Robot
931ad2a9fd Merge pull request #130108 from carlory/cleanup-after-81245
remove NodeOSDistroIs from test/e2e/framework/pod
2025-02-18 00:12:12 -08:00
Maciej Szulik
a36f64e074 Add more log information to help debug flake #129779
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-02-17 18:13:20 +01:00
Kubernetes Prow Robot
1b79b8952a Merge pull request #129997 from carlory/HonorPVReclaimPolicy-e2e
HonorPVReclaimPolicy: add more e2e tests
2025-02-17 04:08:22 -08:00
Kubernetes Prow Robot
2527854078 Merge pull request #130178 from bart0sh/PR172-e2e-fix-websockets-conformance
e2e: fix node conformance flake
2025-02-17 02:08:33 -08:00
carlory
c48499d360 fix ci
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-17 11:49:24 +08:00
carlory
2382c0125b remove Removed generally available feature-gate DisableCloudProviders and DisableKubeletCloudCredentialProviders
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-17 09:59:59 +08:00
Kubernetes Prow Robot
1e38c86893 Merge pull request #129996 from yongruilin/fix-flag-apiserver
fix: apiserver flagz to response actual parsed flags
2025-02-16 13:56:23 -08:00
Kubernetes Prow Robot
e7b03ea0d3 Merge pull request #130080 from elizabeth-dev/replace-network-e2e-replicationcontrollers-2
test(network): replace RCs with Deployments in util function StartServeHostnameService
2025-02-16 09:44:21 -08:00
Elizabeth Martin Campos
e353086e6a test(network): replace RCs with Deployments in util function StartServeHostnameService
See #119021
2025-02-16 14:50:46 +01:00
Elizabeth Martin Campos
98d600bef9 test(network): replace RCs with Deployments in util function CreateServicePods
See #119021
2025-02-15 22:09:55 +01:00
Kubernetes Prow Robot
78f7217993 Merge pull request #130082 from elizabeth-dev/replace-network-e2e-replicationcontrollers-4
test(network): replace RCs with Deployments in util function jig.Run
2025-02-15 07:44:21 -08:00
Kubernetes Prow Robot
1d73c5d882 Merge pull request #130141 from pohly/dra-e2e-env-check
DRA E2E: fix race between container start and check
2025-02-14 21:46:20 -08:00
Kubernetes Prow Robot
8dbc6739e0 Merge pull request #130151 from marosset/windows-unit-tests-externaljwt-plugin-fixes
fixing k8s.io/kubernetes/pkg/serviceaccount/externaljwt/plugin unit tests on Windows
2025-02-14 13:44:20 -08:00
Ed Bartosh
f6090185a8 e2e: fix node conformance flake
The test `Pods should support retriving logs from the container
over websockets` flakes as it doesn't always wait until
container is running and is able to produce expected output.
Waiting for pod to be in the `Running` state is not enough
as it doesn't mean that container is running.

Waiting for container to be in `Running` state should fix
the test.
2025-02-14 20:19:17 +02:00