Matt Karrmann
272a055a46
Use new WaitForAlmostAllPodsReady function ins e2e setup
2024-04-17 23:18:26 -05:00
Matt Karrmann
fcdf67a815
Add WaitForAlmostAllPodsReady function, similar to previous WaitForPodsRunningReady function
2024-04-17 23:18:26 -05:00
Matt Karrmann
fe251cb737
Explicitity set contract for WaitForPodsRunningReady, and rewrite accordingly
2024-04-17 23:18:26 -05:00
Matt Karrmann
2537c10453
Improve logging and comments in WaitForPodsRunningReady
2024-04-17 23:18:26 -05:00
Matt Karrmann
273cd03c01
Cleanup WaitForPodsRunningReady: fail for bad pods and reword log message
2024-04-17 23:18:26 -05:00
Sotiris Salloumis
81abca5508
Move DockerHung test in the end
2024-04-16 17:48:16 +02:00
Patrick Ohly
d97b67d97a
e2e node: support running the test binary under a debugger
...
Single-stepping interactively through a test can be useful to understand what's
happening and to investigate the state at each step.
Similar support was added early to hack/ginkgo-e2e.sh, so the same env variable
is used again.
2024-04-16 11:46:28 +02:00
Francesco Romani
181fb0da51
node: devicemgr: remove obsolete pre-1.20 checkpoint file support
...
In commit 2f426fdba6
we added
compatibility (and tests) to deal with pre-1.20 checkpoint files.
We are now well past the end of support for pre-1.20 kubelets,
so we can get rid of this code.
Signed-off-by: Francesco Romani <fromani@redhat.com >
2024-04-15 14:01:56 +02:00
Patrick Ohly
feb27b9907
e2e framework: configure Ginkgo logger and klog consistently
...
Even if the textlogger which writes to Ginkgo is installed as the logger in
klog, klog still does some verbosity checks itself (for example,
klog.V().Enabled).
Therefore the framework has to keep the verbosity settings in the textlogger
and in klog consistent. This is done by wrapping the Set call instead of
replacing it.
2024-04-15 10:10:56 +02:00
HirazawaUi
98c29f0312
promote DisableNodeKubeProxyVersion feature gate to beta
2024-04-14 20:32:49 +08:00
Lan Liang
1dc735fd70
etcd: update to v3.5.13
...
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-04-13 09:37:25 +00:00
Ayato Tokubi
c52160eb3c
Use WaitForPodCondition instead of sleep
...
Signed-off-by: Ayato Tokubi <atokubi@redhat.com >
2024-04-13 00:01:11 +00:00
Patrick Ohly
ff541e7924
e2e node: fix -v support
...
Since 43539c855f
(first released in
v1.30.0-alpha.2), the test/e2e/framework manages -v and -vmodule and uses them
for a logger which writes to the Ginkgo output stream.
This did not work for test/e2e_node, because:
- logs.AddFlags(pflag.CommandLine) registers its own -v and -vmodule flags
- pflag.CommandLine.AddGoFlagSet(flag.CommandLine) skips the corresponding
flags in the flag.CommandLine
- pflag.Parse() initializes the settings in the "logs" package even though
those are not used at runtime
The solution is to not use the "logs" package.
2024-04-12 12:27:29 +02:00
nayihz
1b3d10aafa
fix: node added with matched pod anti-affinity topologyKey
...
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
2024-04-12 11:08:44 +08:00
Davanum Srinivas
fb5140f562
Rename cluster
to storage_cluster_id
for apiserver_storage_size_bytes metric
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-04-11 17:15:32 -04:00
Antonio Ojea
c37e14364c
implement field selector for clusterIP on services
...
This will allow components that don't need to watch headless services
(heavily used on ai/ml workloads) to filter them server side.
Specially useful for kubelet and kube-proxy
Change-Id: If36c2c27f2ec80db400c9133c61428d14e124f3e
2024-04-11 13:09:33 +00:00
Stephen Heywood
a2a1e0434e
Move 3 get*APIGroup endpoints to ineligible_endpoints.yaml
2024-04-10 11:52:22 +12:00
Antonio Ojea
f0730efd0a
e2e stress exec 99% threshold
2024-04-08 22:11:44 +00:00
Kevin Hannon
43e0bd4304
mark flaky jobs as flaky and move them to a different job
2024-04-08 09:27:15 -04:00
Artur Rodrigues
7e40886020
Fix spelling in tests
2024-04-08 08:35:28 +01:00
Antonio Ojea
f81cce61e6
e2e test to execute 1000 times in a container
...
with concurrency 10
Change-Id: Idf9aa8e22e62e718993ea82b23e1818e34556315
2024-04-07 19:34:40 +00:00
guoguangwu
ad7799d07d
fix: close tmp file
...
Signed-off-by: guoguangwu <guoguangwug@gmail.com >
2024-04-06 10:55:08 +08:00
cpanato
1366f1f447
[go] Bump images, dependencies and versions to go 1.22.2 and distroless iptables
...
Signed-off-by: cpanato <ctadeu@gmail.com >
2024-04-05 14:27:57 +02:00
Antonio Ojea
9a40ea2e28
fix e2e loadbalancer test timeouts and assumptions
...
Change-Id: Ie9e30ef8e0b20863210bd4a2b5c12e1709654b76
2024-04-03 08:03:44 +00:00
Kubernetes Prow Robot
ec301a5cc7
Merge pull request #124099 from cpanato/update-set-cap-debian-base
...
update setcap/debian-base to bookworm-v1.0.2
2024-04-02 08:24:11 -07:00
Monis Khan
f338ab5f95
svm test: wait after updating CRD to avoid flakes
...
Signed-off-by: Monis Khan <mok@microsoft.com >
2024-04-01 16:15:29 -04:00
Kubernetes Prow Robot
3dedb8eb8c
Merge pull request #124111 from liggitt/deflake-authz-test
...
Deflake authz config reload test
2024-03-29 08:53:43 -07:00
Jordan Liggitt
02139c9102
Deflake authz config reload test
2024-03-29 10:18:45 -04:00
Davanum Srinivas
caba23a508
cloud/gcp/cluster_upgrade should only run on GCE
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-03-28 11:42:23 -04:00
cpanato
fc428df491
update setcap/debian-base to bookworm-v1.0.2
...
Signed-off-by: cpanato <ctadeu@gmail.com >
2024-03-28 14:57:22 +01:00
Sotiris Salloumis
87e113261d
e2e_node: clean cpu_manager test
2024-03-28 12:41:07 +01:00
Matthias Bertschy
9be9832184
add coverage tests for probes behavior
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2024-03-27 22:31:47 +01:00
Kubernetes Prow Robot
f4e246bc93
Merge pull request #123908 from Nordix/esotsal/OOMKiller
...
oomkiller_linux_test: fix warnings
2024-03-27 11:42:19 -07:00
Patrick Ohly
0ed2ad182f
test: fix shutdown of test/integration/servicecidr.TestMigrateServiceCIDR
...
Due to a typo in b584b87a94
, the wrong
context got canceled. The test still passes, but it takes an additional minute
before it eventually shuts down.
2024-03-27 09:21:43 +01:00
Kubernetes Prow Robot
20d0ab7ae8
Merge pull request #124011 from bart0sh/PR138-e2e_node-fix-podresurces-failure
...
e2e_node: fix podresources test
2024-03-22 08:16:08 -07:00
Kubernetes Prow Robot
95a6f2e4dc
Merge pull request #124010 from bart0sh/PR137-e2e_node-fix-admission-error
...
Fix admission error on podresources e2e test
2024-03-21 14:14:13 -07:00
Ed Bartosh
6f5240b19c
e2e_node: fix podresources test
...
Fixed `The phase of Pod e2e-test-pod is Succeeded which is unexpected`
error. `e2epod.NewPodClient(f).CreateSync` is unable to catch 'Running'
status of the pod as pod finishes too fast.
Using `Create` API should solve the issue as it doesn't query pod
status.
2024-03-21 13:11:03 +02:00
Ed Bartosh
9ce994af9f
e2e_node: remove Dbus
test case
...
The test case restarts dbus and systemd, which is considered dangerous
practice and caused slowdown of the test cases for CRI-O Serial jobs.
2024-03-20 18:38:11 +02:00
Ed Bartosh
247392271f
Fix admission error
...
Fixed UnexpectedAdmissionError: Allocate failed due to not enough cpus
available to satisfy request: requested=2, available=1, which is unexpected
2024-03-20 18:03:13 +02:00
Anish Ramasekar
4f1c91b24a
Fix for TestStorageVersionMigrationWithCRD integration test failure
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2024-03-18 23:12:50 -07:00
Kubernetes Prow Robot
a2a709077f
Merge pull request #123956 from ii/add-alpha-getStoragemigrationAPIGroup
...
Add alpha endpoint getStoragemigrationAPIGroup to pending_eligible_endpoints.yaml
2024-03-18 14:57:18 -07:00
Kubernetes Prow Robot
2753078f7c
Merge pull request #123939 from cici37/vapGAConformance
...
Change the API tests to conformance tests
2024-03-18 12:30:05 -07:00
Kubernetes Prow Robot
aa73f3163a
Merge pull request #122292 from sanposhiho/nodeupdate
...
register Node/UpdateTaint event to plugins which has Node/Add only and doesn't have Node/UpdateTaint
2024-03-18 08:33:54 -07:00
Lan Liang
dc992adad3
cleanup: delete rand.Seed(time.Now().UnixNano()) and using global number generator.
...
see https://tip.golang.org/doc/go1.20
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-03-18 08:10:12 +00:00
Sotiris Salloumis
a7f23e46da
Fix OOMKiller test warnings
2024-03-17 09:16:24 +01:00
Kensei Nakada
2b56de43e5
register Node/UpdateNodeTaint event to plugins which has Node/Add only, doesn't have Node/UpdateNodeTaint
2024-03-16 14:13:06 +00:00
Stephen Heywood
e5b497df4f
Add alpha endpoint getStoragemigrationAPIGroup
2024-03-16 08:39:47 +13:00
Kevin Hannon
0bdc4c3911
move system node critical test to eviction test lane
2024-03-15 10:35:02 -04:00
Ed Bartosh
26881132bd
kubelet: assign Node as an owner for the ResourceSlice
...
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2024-03-15 09:46:13 +02:00
Kubernetes Prow Robot
fa07055b1f
Merge pull request #123944 from ii/remove-volumeattachment-endpoints
...
Remove VolumeAttachment endpoints from pending_eligible_endpoints.yaml
2024-03-14 21:32:51 -07:00