Davanum Srinivas
abbc5ad346
Copy limited pieces of code we use from runc's apparmor and utils packages
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-10-22 09:56:22 -04:00
Kubernetes Prow Robot
e8b59afec6
Merge pull request #128180 from pacoxu/node-validation
...
e2e_node: print system validation warnings
2024-10-18 19:09:10 +01:00
Paco Xu
6877a2bfb8
e2e_node: print system validation warnings
2024-10-18 17:31:39 +08:00
Kubernetes Prow Robot
85ff7e75a2
Merge pull request #128143 from AnishShah/pod-resize-refactor
...
[FG:InPlacePodVerticalScaling] Refactor in-place pod resize e2e tests
2024-10-18 08:11:04 +01:00
Kubernetes Prow Robot
1b20b087fc
Merge pull request #128074 from pacoxu/fix-quota_lsci-e2e
...
storage fsquota monitoring pod should be user namespaced
2024-10-17 19:27:21 +01:00
Kubernetes Prow Robot
4cf9bff9eb
Merge pull request #128145 from bzsuni/bz/npd/update/0.8.20
...
Update npd from v0.8.19 to v0.8.20
2024-10-17 17:17:27 +01:00
Kubernetes Prow Robot
c6ad6fa951
Merge pull request #125477 from my-git9/namespaceformat
...
Modify some error words
2024-10-17 17:17:17 +01:00
Anish Shah
b8897e688d
test: refactor duplicate IPPR e22 tests.
...
This change refactors duplicate IPPR cluster and node e2e tests under
test/e2e/common directory
2024-10-17 05:27:27 -07:00
Anish Shah
6203006348
test: parity between cluster and node IPPR e2e tests
...
Some IPPR cluster e2e tests are missing from node e2e tests. This change
brings parity between them.
2024-10-17 05:23:55 -07:00
bzsuni
6d0b62a84d
Update npd from v0.8.19 to v0.8.20
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io >
2024-10-17 14:06:14 +08:00
zhifei92
2e182e736b
feat: Add cri proxy for e2e_node
...
add example of using CRI proxy
fix: Invalid function call
fix: Optimize getPodImagePullDuration
fix: Return error if the CRI Proxy is undefined
chore: add a document
2024-10-16 20:53:28 +08:00
Paco Xu
386f495d41
storage fsquota monitoring pod should be user namespaced
2024-10-15 14:43:16 +08:00
Ed Bartosh
876819b8b6
e2e_node: fix mirror pod test
...
Modified stopNfsServer function to wait until nfs rpc is unregistered.
This should fix failing pull-kubernetes-node-arm64-ubuntu-serial-gce
job.
2024-10-15 02:05:26 +03:00
Kubernetes Prow Robot
de8f6b0db7
Merge pull request #128037 from dshebib/e2eNode_containerLifecycleContext
...
[e2e_node] Use shared context in regular container tests
2024-10-14 13:10:28 +01:00
Daniel Shebib
1618dbe695
Add context to tests
2024-10-12 21:23:29 -05:00
Tsubasa Nagasawa
04c6d9324e
Check for restarts without being affected by container startup order
...
The test for checking container restarts in a Pod with restartable-init-1
and regular-1 is flaky. Right now, when we check if restartable-init-1 has
restarted, we see if it hasn’t written the "Started" log after regular-1 has
written its "Started" log.
But even though the startup sequence starts with restartable-init-1 and then
regular-1, there’s no guarantee they’ll finish starting up in that order.
Sometimes regular-1 finishes first and writes its "Started" log before restartable-init-1.
1. restartable-init-1 Starting
2. regular-1 Starting
3. regular-1 Started
4. restartable-init-1 Started
In this test, the startup order doesn’t really matter; all we need to check is
if restartable-init-1 restarted. So I changed the test to simply look for
more than one "Starting" log in restartable-init-1's logs.
There were other places that used the same helper function DoesntStartAfter,
so replaced those as well and deleted the helper function.
2024-10-12 15:17:47 +09:00
Peter Hunt
b94c5387b8
e2e_node: use restart instead of start stop
...
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2024-10-11 16:53:33 -04:00
Francesco Romani
cc87438f2f
e2e_node: add a test to verify the kubelet starts
...
with systemd cgroup driver and cpumanager none policy.
This was originally planned to be a correctness check for
https://issues.k8s.io/125923 , but it was difficult to reproduce the bug,
so it's now a regression test against it.
Signed-off-by: Francesco Romani <fromani@redhat.com >
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2024-10-11 11:29:16 -04:00
Tsubasa Nagasawa
82b690ddf6
Add more Node E2E tests to cover pod termination for Sidecar Containers
...
* A pod with restartable init container that exits with
a non-zero code is marked as a pod succeeded phase
* A pod with restartable init containers that exits with
a non-zero code by prestop hook is marked as a pod succeeded phase
* A pod with regular container that exceeds its termination grace period
seconds is marked as a pod failed phase
* A pod with restartable init containers that exceeds its termination
grace period seconds is marked as a pod succeeded phase
* A pod with a regular container that exceeded its termination grace
period seconds by PreStop hook is marked as a pod failed phase
* A pod with restartable init containers that exceeds its termination
grace period seconds by PreStop hook is marked as a pod succeeded phase
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com >
2024-10-10 09:43:41 +09:00
Tsubasa Nagasawa
bd00f83578
Add step to existing pod termination Node E2E tests to check the container’s exit code
...
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com >
2024-10-10 09:17:43 +09:00
Kubernetes Prow Robot
364c73d5a9
Merge pull request #127637 from dshebib/e2eNode_containersLifecycleFormatting
...
[e2e_node] containers_lifecycle organize tests
2024-10-09 19:38:22 +01:00
Daniel Shebib
2d28e6803c
typo
2024-10-06 07:40:56 -05:00
Daniel Shebib
7155404eb5
format whitespace
2024-10-05 18:46:26 -05:00
Daniel Shebib
252fb59bf9
Encase tests in When()
2024-10-05 18:46:26 -05:00
Anish Shah
91b70a9f19
fix InodeEvictionTest
2024-10-04 22:49:14 +00:00
Anish Shah
a37101a202
gofmt fix
2024-10-04 19:47:21 +00:00
Anish Shah
9af732a349
added a comment to explain the usage of emptyDir volume in eviction test #127864
2024-10-04 18:38:40 +00:00
Anish Shah
7abfa2dafb
possible deflake
2024-10-03 16:00:48 +00:00
Kubernetes Prow Robot
f84bbfe94f
Merge pull request #127488 from dims/remove-unnecessary-stuff-for-nvidia-gpus
...
Remove remants of broken stuff - nvidia/autoscaling
2024-09-27 03:38:01 +01:00
Kubernetes Prow Robot
239802e4f7
Merge pull request #127574 from bouaouda-achraf/e2e-test-add-network-subnet-param
...
feat(test-e2e): support custom network and subnet on remote e2e mode
2024-09-26 03:50:08 +01:00
Achraf BOUAOUDA
d900efafcc
feat(test-e2e): support custom network and subnet on remote e2e mode
2024-09-24 00:25:41 +02:00
Davanum Srinivas
2fbbca6279
Remove remants of broken stuff - nvidia/autoscaling
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-09-23 13:17:00 +00:00
HirazawaUi
9d4e272c16
add e2e test for pod grace period being overridden
2024-09-20 22:25:03 +08:00
Kubernetes Prow Robot
f2700895a4
Merge pull request #127422 from srivastav-abhishek/go-vet-fix
...
Go vet fixes for gotip
2024-09-20 14:37:58 +01:00
Abhishek Kr Srivastav
95860cff1c
Fix Go vet errors for master golang
...
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com >
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com >
2024-09-20 12:36:38 +05:30
Kubernetes Prow Robot
08aefc8a92
Merge pull request #119362 from pacoxu/add-new-eviction-pid-test
...
add new e2e test with PodAndContainerStatsFromCRI enabled for pid eviction order
2024-09-20 05:44:45 +01:00
rongfu.leng
0c753d1cb9
fix CPUManagerReconcilePeriod field is not allowed 0
...
Signed-off-by: rongfu.leng <lenronfu@gmail.com >
2024-09-18 23:54:24 +08:00
Kevin Hannon
67402fe110
Revert "add e2e test for restart kubelet"
2024-09-15 15:47:02 -04:00
joey
40dd01fdbd
add e2e test for restart kubelet
...
when nodes removes the label that satisfies the pod affinity, the running pods are not affected, but restarting the kubelet will kill these pods.
Signed-off-by: joey <zchengjoey@gmail.com >
2024-09-14 15:17:58 +08:00
杨朱 · Kiki
c6904b76d3
Update test/e2e_node/image_volume.go
...
Co-authored-by: Sascha Grunert <sgrunert@redhat.com >
2024-09-09 16:02:01 +08:00
carlory
8121bc99a8
e2e-node: should succeed with multiple pods and same image
...
Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com >
2024-09-09 10:32:27 +08:00
Kubernetes Prow Robot
49f486dafa
Merge pull request #127018 from saschagrunert/imagevolume-selinux
...
Allow using SELinux on image volume e2e test
2024-09-06 19:01:34 +01:00
Kubernetes Prow Robot
a105f3683c
Merge pull request #126810 from liangyuanpeng/testgrid_podhostips
...
Do not serial for tests of Pod Host IPs.
2024-09-05 07:03:44 +01:00
Paco Xu
3a21a033bd
add new e2e test with PodAndContainerStatsFromCRI enabled for pid pressure e2e
2024-09-05 09:10:27 +08:00
Sascha Grunert
6bd3bb5881
Allow using SELinux on image volume e2e test
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-08-30 10:43:15 +02:00
Sascha Grunert
931b9b3a70
Update cni-plugins to v1.5.1
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-08-28 12:58:36 +02:00
Sascha Grunert
ff50da579e
Fix device plugin node ready test assertion
...
Introduced in d770dd695a and high likely
the issue caused in the failing test:
https://github.com/kubernetes/kubernetes/issues/126915
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-08-26 14:56:59 +02:00
Kubernetes Prow Robot
3f306ae140
Merge pull request #126343 from SergeyKanzhelev/succeededPodReadmitted
...
Terminated pod should not be re-admitted
2024-08-22 16:32:09 +01:00
Sascha Grunert
14476d88f3
Fix hugepages e2e test assertion
...
This causes failures in:
- https://testgrid.k8s.io/sig-node-cri-o#ci-crio-cgroupv2-node-e2e-hugepages
- https://testgrid.k8s.io/sig-node-cri-o#ci-crio-cgroupv1-node-e2e-hugepages
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-08-21 13:37:22 +02:00
Lan Liang
85b52c2a86
do not serial for tests of Pod Host IPs.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-08-20 12:08:19 +00:00