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
Francesco Romani
7160ef4fbc
e2e: node: add code to track the pod creator code
...
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.
We add the option to add an annotation to pods which records
the code line (source code:line) which triggered the pod creation,
so it becomes easier to track which test needs better cleanup.
The relevant e2e framework code is used in all the e2e suites,
so to minimize any unwanted consequences we make the feature
opt-in, planning to enable it initially (and likely only)
in the e2e_node tests.
Signed-off-by: Francesco Romani <fromani@redhat.com >
2024-06-14 13:42:14 +02:00
Lukasz Szaszkiewicz
5b76642909
e2e/apimachinery/watchlist: test if WatchList is requested by client-go's List method when WatchListClient is enabled
2024-06-14 12:52:50 +02:00
Michal Wozniak
b954879548
Refactor Job e2e test to make them possible for conformance promotion
2024-06-13 13:41:51 +02:00
Kubernetes Prow Robot
8e791fd923
Merge pull request #125351 from Dragoncell/origink-master
...
update driver installer
2024-06-12 14:47:17 -07:00
Kubernetes Prow Robot
9c8c61aee4
Merge pull request #122234 from AxeZhan/podUpdateEvent
...
[Scheduler]Put pod into the correct queue during podUpdate
2024-06-12 12:28:17 -07:00
AxeZhan
d66f8f9413
schedulingQueue update pod by queueHint
2024-06-12 21:26:09 +08:00
Kubernetes Prow Robot
1815a14c32
Merge pull request #125454 from kerthcet/cleanup/scheduler-perf
...
Remove noisy log in scheduler_perf
2024-06-12 02:35:36 -07:00
Kubernetes Prow Robot
58e15c831c
Merge pull request #125431 from huww98/e2e-term-sleep
...
e2e: add TERM trap to pod sleep command
2024-06-12 02:35:29 -07:00
kerthcet
1ffa1e17cd
Remove noisy log in scheduler_perf
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2024-06-12 11:53:35 +08:00
Kubernetes Prow Robot
d593c886b1
Merge pull request #124350 from pohly/e2e-feature-labels
...
e2e: enhance WithFeatureGate labels
2024-06-11 13:02:02 -07: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
Kensei Nakada
8392f7fbb0
remove unused NextPod()
2024-06-11 07:22:09 +00:00
胡玮文
859bd02593
e2e: add TERM trap to pod sleep command
...
This should avoid the 30s delay caused by shell not responding to SIGTERM, and can only be killed by SIGKILL.
If the pod is deleted with the namespace during cleanup, this also makes cleanup faster, and frees up the resources for the next test cases faster.
2024-06-11 13:52:47 +08:00
Kubernetes Prow Robot
9d63e575f8
Merge pull request #124151 from ConnorJC3/add-vac-e2e
...
Add Happy Path VolumeAttributesClass CSI E2E Tests
2024-06-10 18:08:01 -07:00
Kubernetes Prow Robot
c49b140c45
Merge pull request #125175 from dejanzele/feat/count-terminating-for-failed-jobs
...
Count terminating pods when deleting active pods for failed jobs
2024-06-10 16:56:37 -07:00
Kubernetes Prow Robot
a7ca13ea29
Merge pull request #125363 from cpanato/update-go-images
...
[go] Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base
2024-06-10 15:07:47 -07:00
Connor Catlett
ea58abfd99
Add Happy Path VolumeAttributesClass CSI E2E Tests
...
Signed-off-by: Connor Catlett <conncatl@amazon.com >
2024-06-10 20:03:54 +00:00
Kubernetes Prow Robot
6e8e1f53b0
Merge pull request #125293 from sanposhiho/sched-perf-ds
...
scheduler_perf: measure the degradation of daemonset scheduling
2024-06-10 08:35:55 -07: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
Ayato Tokubi
53883e35c8
Fix E2E error message
...
Signed-off-by: Ayato Tokubi <atokubi@redhat.com >
2024-06-09 00:36:04 +00: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
c8c7ae85e5
e2e_node: DRA: add CountCalls API
2024-06-07 22:47:23 +03:00
Ed Bartosh
ffc407b4dd
e2e_node: DRA: reimplement call blocking
2024-06-07 22:47:20 +03:00
Ed Bartosh
2ea2fb3166
e2e: test-driver: implement failure mode
2024-06-07 22:45:35 +03:00
Jiaming Xu
1d382e77e4
update container ubuntu sha256
2024-06-07 18:23:41 +00:00
Kubernetes Prow Robot
c6b5191c37
Merge pull request #122499 from mattcary/oref
...
Respect controllers on PVCs for retention policy
2024-06-07 09:33:04 -07:00
Joe Betz
f31afbbf8e
Add marker struct test case
2024-06-07 11:11:24 -04:00
Davanum Srinivas
60fe406f67
remove vestiges of providerless tag
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-06-06 12:18:38 -04:00
cpanato
a3b193c6e9
[go] Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base
...
Signed-off-by: cpanato <ctadeu@gmail.com >
2024-06-06 18:13:15 +02:00
Jiaming Xu
af5d816023
update driver installer
2024-06-05 22:21:42 +00:00
Matthew Cary
d386d6880e
Respect controllers on PVCs for retention policy
2024-06-05 12:06:41 -07:00
Patrick Ohly
246e2aedf5
scheduler_perf: shut down apiserver clients before apiserver
...
The cancellation of the context happened after the cleanup of the apiserver, so
clients using that context were kept running. That wasn't the intent and causes
a slow shutdown because the apiserver delays its shutdown when it has active
clients.
The fix is to create a new cancellation context and to use that for the
clients. The automatic cancellation of it then happens before the apiserver
cleanup.
2024-06-05 11:00:46 +02:00
Kensei Nakada
ef9e14db79
scheduler_perf: measure the degradation of daemonset scheduling
2024-06-05 02:36:31 +00:00
Kubernetes Prow Robot
e67f889edc
Merge pull request #125015 from aroradaman/proxy-localhost-nodeports-metric
...
Kube-Proxy: Track packets accepted on localhost nodeports
2024-06-04 18:49:11 -07:00
Antonio Ojea
6552f2710f
use default flags for apiserver on integration tests
2024-06-04 22:09:35 +00:00
Antonio Ojea
a1e43b420c
define some default kube-apiserver flags for tests disabling unneded controllers
2024-06-04 22:09:35 +00:00
Joe Betz
5db9eff04f
Apply feedback
2024-06-04 15:25:02 -04:00
Joe Betz
89a68be3a9
Add integration test for a nop apply with an empty map
2024-06-04 12:08:55 -04:00
Joe Betz
13f809478f
Apply feedback
2024-06-04 11:50:01 -04:00
Dejan Pejchev
7dd2948620
count terminating pods when deleting active pods for failed jobs
2024-06-04 11:31:00 +02:00
Kubernetes Prow Robot
24b642afc3
Merge pull request #125282 from matthyx/run2gether
...
ignore starting order in RunTogether, add another that does
2024-06-03 14:34:11 -07:00
Kubernetes Prow Robot
99cb3eba35
Merge pull request #125101 from alexzielenski/apiserver/vap-storageversion-bump
...
store validatingadmissionpolicy and bindings at v1
2024-06-03 14:34:02 -07:00
Arda Güçlü
e24b9a022f
Add new --wait-for-creation flag in kubectl wait command
...
kubectl wait command errors out when the waited resource does not exist.
But we need to provide a way to the users about intentionally also waiting for
the creation of resources.
This PR introduces a new flag to cover waiting for the creation of resources
with preserving the default behavior.
2024-06-03 13:31:35 +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
Kubernetes Prow Robot
a78542e357
Merge pull request #125209 from humblec/etcd-3.5.14
...
make use of etcd v3.5.14 in the builds.
2024-06-01 14:12:31 -07:00
Humble Chirammal
07ef65a834
make use of etcd v3.5.14 in the builds.
...
https://github.com/etcd-io/etcd/releases/tag/v3.5.14
This release has been built with GO 1.21.10
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2024-06-01 09:06:35 +05:30
Joe Betz
d57acd327f
Add nop test case for applying a CRD with defaulted atomic field
2024-05-31 21:24:52 -04:00