Commit Graph

2836 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
157f4b94d8 Merge pull request #125753 from SergeyKanzhelev/devicePluginFailuresTests
device plugin failure tests
2024-07-16 04:36:59 -07:00
Kubernetes Prow Robot
bfffd43108 Merge pull request #124296 from Nordix/esotsal/e2e_node_pod_resize_test
Add Pod Resize Node E2E test using framework in test/e2e_node
2024-07-15 19:27:23 -07:00
Kubernetes Prow Robot
2263f2d719 Merge pull request #124148 from cyclinder/add_flag_kubelet
kubelet: Add a TopologyManager policy option: max-allowable-numa-nodes
2024-07-15 19:27:16 -07:00
Kubernetes Prow Robot
5427708866 Merge pull request #125404 from mimowo/fix-kubelet-podip
Fix that PodIP field is temporarily removed for a terminal pod
2024-07-15 16:41:10 -07:00
Kubernetes Prow Robot
48eef1fc4f Merge pull request #125867 from zhifei92/fix-e2e-node-density
Fix the bug related to cleaning up density test pods
2024-07-15 11:55:09 -07:00
Davanum Srinivas
133c4290c7 Fix for OOMKiller test consistently failing in EC2 cgroupv1 serial jobs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-07-13 18:44:15 -04:00
Michal Wozniak
5f1ab75d27 Fix that PodIP field is not set for terminal pod 2024-07-12 21:36:12 +02:00
Davanum Srinivas
2db4c4aaab Set ginkgo time if not specified explicitly
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-07-12 11:33:22 -04:00
Sotiris Salloumis
99f90934b4 Add Pod Resize Node E2E test using framework in test/e2e_node 2024-07-12 15:53:53 +02:00
zhifei92
115092b374 fix(e2e_node): density cleanup pods 2024-07-11 15:39:52 +08:00
Sergey Kanzhelev
541f2af78d device plugin failure tests 2024-07-10 20:14:59 +00:00
Kubernetes Prow Robot
672af9406e Merge pull request #125981 from dims/cleanup-pods-after-test-runs
[e2e-node] Cleanup pods after the test runs
2024-07-09 15:01:01 -07:00
Davanum Srinivas
f6836df520 [e2e-node] Cleanup pods after the test runs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-07-09 16:53:28 -04:00
Kubernetes Prow Robot
4a214f6ad9 Merge pull request #125461 from mimowo/pod-disruption-conditions-ga
Graduate PodDisruptionConditions to stable
2024-07-09 11:08:13 -07:00
cyclinder
87129c350a kubelet: Add a TopologyManager policy options: "max-allowable-numa-nodes"
Signed-off-by: cyclidner <kuocyclinder@gmail.com>
2024-07-09 22:26:24 +08:00
Davanum Srinivas
2dccf29f33 Fix for Merged kubelet config does not match the expected configuration in cgroupv1 based jobs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-07-03 10:54:09 -04:00
Sascha Grunert
2df920120a Fix kubelet AppArmor rejection test
The corresponding e2e test needs to be adjusted side by side to the
merged PR: https://github.com/kubernetes/kubernetes/pull/125776.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-07-03 10:54:22 +02:00
Kubernetes Prow Robot
ac9aec9f9b Merge pull request #125116 from pohly/dra-one-of-source
DRA: remove "source" indirection from v1 Pod API
2024-06-28 12:46:45 -07:00
Michal Wozniak
780191bea6 review remarks for graduating PodDisruptionConditions 2024-06-28 17:32:27 +02:00
Michal Wozniak
bf0c9885a4 Graduate PodDisruptionConditions to stable 2024-06-28 16:36:51 +02:00
Patrick Ohly
bde9b64cdf DRA: remove "source" indirection from v1 Pod API
This makes the API nicer:

    resourceClaims:
    - name: with-template
      resourceClaimTemplateName: test-inline-claim-template
    - name: with-claim
      resourceClaimName: test-shared-claim

Previously, this was:

    resourceClaims:
    - name: with-template
      source:
        resourceClaimTemplateName: test-inline-claim-template
    - name: with-claim
      source:
        resourceClaimName: test-shared-claim

A more long-term benefit is that other, future alternatives
might not make sense under the "source" umbrella.

This is a breaking change. It's justified because DRA is still
alpha and will have several other API breaks in 1.31.
2024-06-27 17:53:24 +02:00
Kubernetes Prow Robot
25a43070ee Merge pull request #123468 from ffromani/fix-mm-metrics-test
node: memory manager: fix the metrics tests
2024-06-26 12:00:45 -07:00
Kubernetes Prow Robot
b29dce0757 Merge pull request #125627 from yt-huang/clean-up
drop deprecated PollWithContext and adopt PollUntilContextTimeout ins…
2024-06-26 10:58:55 -07:00
Kubernetes Prow Robot
2200f5ef1b Merge pull request #125446 from AkihiroSuda/rro-e2e-remove-withserial
e2e_node/mount_rro_linux_test.go: remove unneeded WithSerial
2024-06-25 14:18:12 -07:00
Kubernetes Prow Robot
0913b90809 Merge pull request #125402 from iholder101/swap/skip-e2e-test-if-no-swap
[KEP-2400]: Swap e2e tests: skip swap stress tests if swap is not provisioned
2024-06-25 14:17:58 -07:00
Francesco Romani
5b6fe2f8db e2e: node: ensure no pod leaks in the container_manager test
During the debugging of https://github.com/kubernetes/kubernetes/pull/123468
it became quite evident there are unexpected pods, leftovers from
the container_manager_test. But we need stronger isolation among test
to have good signal, so we add these safeguards (xref:
https://github.com/kubernetes/kubernetes/pull/123468#issuecomment-1977977609
)

Signed-off-by: Francesco Romani <fromani@redhat.com>
2024-06-25 07:40:41 +02:00
yintong.huang
2db1b321e0 drop deprecated PollWithContext and adopt PollUntilContextTimeout instead
Signed-off-by: yintong.huang <yintong.huang@daocloud.io>
2024-06-21 19:23:31 +08:00
Kubernetes Prow Robot
0c955f7cbb Merge pull request #124617 from bart0sh/PR144-e2e_node-DRA-test-plugin-failures
e2e_node: DRA: test plugin failures
2024-06-18 01:14:19 -07:00
Francesco Romani
a5d771c911 node: memory manager: fix the mm metrics test
fixes for the memory manager tests by correctly restoring
the kubelet config after each test. We need to do before all
the related tests run, in order to make sure to restore the
correct values.

Add more debug facilities to troubleshoot further failures.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2024-06-17 08:51:44 +02:00
Francesco Romani
086a500d8f e2e: node: use test owner tracking
e2e_node test depend on very specific shared state (node state).
Pod leakages between tests oftentimes cause the test preconditions
to be silently corrupted, causing hard to debug CI failures.

Use the new facility to annotate pods with test owner (= the
test code which created the test) to help debug these failures.

For more context, please check the conversation in #123468

Signed-off-by: Francesco Romani <fromani@redhat.com>
2024-06-14 13:42:14 +02:00
Akihiro Suda
8a5e476582 e2e_node/mount_rro_linux_test.go: remove unneeded WithSerial
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-06-12 01:41:44 +09:00
Itamar Holder
37d80518d2 skip swap stress tests if swap is not provisioned
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-06-10 10:05:17 +03:00
Ed Bartosh
ee0340a828 e2e_node: add tests for 2 Kubelet plugins 2024-06-07 22:53:35 +03:00
Ed Bartosh
ce6faef8d8 e2e_node: change DRA test APIs to work with multiple plugins 2024-06-07 22:53:31 +03:00
Ed Bartosh
118158d8df e2e_node: DRA: test plugin failures 2024-06-07 22:51:53 +03:00
Ed Bartosh
ffc407b4dd e2e_node: DRA: reimplement call blocking 2024-06-07 22:47:20 +03:00
Matthias Bertschy
367e8c5578 ignore starting order in RunTogether, add another that does
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2024-06-02 22:00:40 +02:00
Humble Chirammal
d87bfc8392 update ip-masq-agent and npd to latest versions in cluster addons
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2024-05-30 09:44:02 +05:30
Kubernetes Prow Robot
4c0afd74c3 Merge pull request #125113 from bzsuni/bz/build/cni
update cni from 1.4.1 to 1.5.0
2024-05-29 13:06:08 -07:00
bzsuni
61a35c2186 update cni from 1.4.1 to 1.5.0
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-05-25 10:33:52 +08:00
Ed Bartosh
d6c78f853a e2e_node: add deferPodDeletion parameter 2024-05-25 01:02:31 +03:00
Ed Bartosh
f609aa8310 e2e: test-driver: add new matchers 2024-05-25 01:02:25 +03:00
Kubernetes Prow Robot
ec93d3b71a Merge pull request #123160 from bart0sh/PR133-e2e-node-device-plugin-fix-features
e2e_node: fix DevicePlugin feature flags
2024-05-24 09:23:10 -07:00
Kubernetes Prow Robot
028b457cb5 Merge pull request #125090 from gjkim42/deflake-container-lifecycle-e2e-test
e2e: Increase preStop hook delay to deflake the test
2024-05-23 11:58:46 -07:00
Gunju Kim
65b9e560ce e2e: Increase preStop hook delay to deflake the test
This delays the preStop hook to allow sufficient time for the readiness
probe to be executed.
2024-05-23 21:31:02 +09:00
Kubernetes Prow Robot
5cdab888bb Merge pull request #125027 from haircommander/e2e-swap-v1
e2e_node: skip swap tests on cgroupv1
2024-05-22 13:09:42 -07:00
Kubernetes Prow Robot
790d65b28d Merge pull request #125006 from matthyx/fixoom
increase memory limit for e2e test containers
2024-05-21 15:48:15 -07:00
Peter Hunt
ba80f252bf e2e_node: skip swap tests on cgroupv1
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-05-21 11:39:46 -04:00
Itamar Holder
e9b1a5e185 Expect NoSwap on NodeConformance, test LimitedSwap only in serial tests
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
ab5f84e8ed Refactor: Better pod image, read cgroup file from container
- Improve cgroup file read: execute from container instead of host
- Clean unused variables/functions
- BeTrue/BeFalse -> BeTrueBecause/BeFalseBecause
- Use agnhost instread of stress image
- Improve description and fix typo

Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00