Commit Graph

3654 Commits

Author SHA1 Message Date
Kensei Nakada
89e23dd038 fix(e2e): retry on conflict when deleting extended resource 2024-11-24 16:46:18 +09:00
ndixita
99a6153a4f e2e tests
Signed-off-by: ndixita <ndixita@google.com>
2024-11-08 03:00:54 +00:00
zhifei92
bed96b4eb6 fix: fix the issue of losing the pending phase after a node restart. 2024-11-07 21:10:11 +08:00
Kubernetes Prow Robot
9ba42a54a6 Merge pull request #128521 from carlory/framework-job
improve the code in test/e2e/framework/job/wait.go
2024-11-06 22:07:36 +00:00
carlory
f78c903537 improve the code in test/e2e/framework/job/wait.go 2024-11-06 18:23:41 +08:00
Kubernetes Prow Robot
833ee8502e Merge pull request #128194 from AnishShah/extended-resource
test: refactor logic to add/remove extended resources
2024-11-06 10:01:37 +00:00
Anish Shah
6191879999 apply feedback 2024-11-05 17:14:53 -08:00
Kubernetes Prow Robot
f81a68f488 Merge pull request #128377 from tallclair/allocated-status-2
[FG:InPlacePodVerticalScaling] Implement AllocatedResources status changes for Beta
2024-11-05 23:21:49 +00:00
Kubernetes Prow Robot
246352a43a Merge pull request #126605 from AndrewSirenko/bump-resizer
Fix storage E2E VolumeAttributesClass tests
2024-11-05 23:21:28 +00:00
Kubernetes Prow Robot
f64eeb523d Merge pull request #128096 from bart0sh/PR161-e2e_node-consolidate-NFSServer-APIs
e2e_node: consolidated NFSServer APIs.
2024-11-05 00:33:35 +00:00
Kubernetes Prow Robot
6cb5ea56cb Merge pull request #128484 from carlory/improve-error
improve error message format for WaitForPodSuccessInNamespaceTimeout
2024-11-03 02:19:27 +00:00
Tim Allclair
9d28cc0413 Improve resize test debugability 2024-11-01 14:02:58 -07:00
Tim Allclair
45b1104878 Fix resize E2E tests 2024-11-01 14:02:58 -07:00
carlory
529ad9029d improve error message format for WaitForPodSuccessInNamespaceTimeout 2024-11-01 14:33:07 +08:00
carlory
f36042dc5c gomega forces Eventually to apply a default timeout even when a context is provided. 2024-11-01 11:37:04 +08:00
Kubernetes Prow Robot
7529696b59 Merge pull request #128334 from mimowo/job-windows-e2e-test
Job Pod Failure policy refactor e2e test using exit codes
2024-10-30 11:21:25 +00:00
Kubernetes Prow Robot
e8a75ac53f Merge pull request #128420 from tallclair/e2e-cleanup
Reuse cached client config for exec requests in e2e
2024-10-30 00:17:37 +00:00
Tim Allclair
2407a49956 Reuse cached client config for exec requests in e2e 2024-10-29 10:00:11 -07:00
Michal Wozniak
af772412be Job Pod Failure policy refactor e2e test to pass on Windows 2024-10-28 07:23:40 +01:00
Antonio Ojea
ad0bc4857b e2e: stop controller if context cancelled 2024-10-27 21:23:00 +00:00
Kubernetes Prow Robot
eb10b9b979 Merge pull request #128107 from alaypatel07/kep-4017-integration-tests
[KEP-4017]: update e2e and integration test for PodIndexLabel
2024-10-25 20:18:52 +01:00
Alay Patel
0aa065ab7e update e2e and integration test for PodIndexLabel
Signed-off-by: Alay Patel <alayp@nvidia.com>
2024-10-25 12:17:19 -04:00
carlory
aa3e1fbf35 Fix volume modify e2e tests because pv controller set the current vac once the pvc is bound 2024-10-23 14:27:59 -04:00
Anish Shah
5bf2c6a367 fix Go comments
Co-authored-by: Sheng Zhan <49895476+AxeZhan@users.noreply.github.com>
2024-10-23 00:24:28 -07:00
Anish Shah
73f7c1908a test: refactor logic to add/remove extended resources 2024-10-18 16:53:52 -07:00
Kubernetes Prow Robot
ec16c90aaf Merge pull request #126593 from stlaz/trustbundles-e2e
KEP-3257: e2e: extend cluster trust bundles coverage
2024-10-19 00:51:03 +01:00
Stanislav Láznička
3ec3736d66 e2e: extend cluster trust bundles coverage 2024-10-18 12:30:13 +02:00
Anish Shah
3e6df4a871 test: remove container runtime check and fix other nits 2024-10-17 17:14:04 -07:00
Anish Shah
d72c7319f8 test: refactor duplicate inplace pod resize test utilities 2024-10-17 05:35:40 -07: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
Ed Bartosh
b69f410f43 e2e_node: consolidated NFSServer APIs. 2024-10-15 23:30:27 +03:00
Patrick Ohly
e43065d542 e2e daemon set: better polling in CheckDaemonStatus
As a quick fix for a flake, bceec5a3ff
introduced polling with wait.Poll in all callers of CheckDaemonStatus.

This commit reverts all callers to what they were before (CheckDaemonStatus +
ExpectNoError) and implements polling according to E2E best practices
(https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/writing-good-e2e-tests.md#polling-and-timeouts):

- no logging while polling
- support for progress reporting while polling
- last but not least, produce an informative failure message in case of a
  timeout, including a dump of the daemon set as YAML
2024-10-15 10:12:28 +02:00
Antonio Ojea
bceec5a3ff e2e flake CheckDaemonStatus assert on async value
The util for checking on daemonstatus was checking once if the Status of
the daemonset was reporting that all the desired Pods are scheduled and
ready.

However, the pattern used in the e2e test for this function was not
taking into consideration that the controller needs to propagate the Pod
status to the DeamonSet status, and was asserting on the condition only
once after waiting for all the Pods to be ready.

In order to avoid more churn code, change the CheckDaemonStatus
signature to the wait.Condition type and use it in a async poll loop on
the tests.
2024-10-14 13:30:03 +00:00
Kubernetes Prow Robot
a0e146a4b0 Merge pull request #127988 from pohly/e2e-daemonset-health-check
e2e daemonset: stronger health check of DaemonSet status
2024-10-11 14:16:21 +01:00
Patrick Ohly
3ec84373c1 e2e daemonset: stronger health check of DaemonSet status
The error was only generated if both checks (generated pods and ready pods)
failed. This looks like a logic error, failing if either of those isn't
matching expectations seems better.
2024-10-11 10:36:36 +02:00
Kubernetes Prow Robot
c15581b277 Merge pull request #127695 from kaisoz/wait-for-job-failfast
Fail fast when waiting for job conditions in e2e tests
2024-10-10 22:28:19 +01:00
Tomas Tormo
3b1a5bfc9c Fail fast when waiting for job conditions in e2e tests 2024-10-10 20:18:21 +00:00
Stephen Kitt
f1fa4086b3 Use sigs.k8s.io/yaml instead of gopkg.in/yaml
Since we have a Kubernetes-specific fork of go-yaml, use that
consistently throughout the project. This doesn't eliminate the
dependencies on gopkg.in/yaml, which are still used indirectly; but it
ensures that the whole project benefits from fixes or changes to
sigs.k8s.io/yaml.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-10-07 15:32:00 +02:00
Kubernetes Prow Robot
fccbbf324d Merge pull request #124711 from deads2k/vap-per-node
demonstrate VAP restricting action per-node
2024-10-02 21:15:49 +01:00
David Eads
38fd067e92 demonstrate VAP restricting action per-node 2024-10-02 15:09:24 -04:00
Kubernetes Prow Robot
af879aebb1 Merge pull request #127779 from soltysh/update_test_command
Print tested command only once
2024-10-02 15:07:50 +01:00
Kubernetes Prow Robot
dc481fef90 Merge pull request #123981 from lzhecheng/update-traffic-distribution-test
[e2e] Update traffic distribution test
2024-10-01 15:53:49 +01:00
Maciej Szulik
cabf04828e Print tested command only once 2024-10-01 15:28:55 +02: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
ff391cefe2 Merge pull request #127547 from dims/skip-reinstallation-of-gpu-daemonset
Skip re-installation of GPU daemonset
2024-09-23 15:28:00 +01: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
Patrick Ohly
e5aa609513 e2e framework: better documentation of ExpectNoError
It wasn't clear from the comments what "explain" does, leading to calls like
this:

   framework.ExpectNoError(fmt.Errorf("additional info ....: %v", ..., err))
2024-09-23 10:58:06 +02:00
Davanum Srinivas
1abbb00067 Double a couple of other timeouts
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-22 19:36:39 -04:00
Davanum Srinivas
3d7d06e7cd Bump timeout to account for slow GPU operations
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-20 20:52:51 -04: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