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
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
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
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
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
Michał Woźniak
d6e5fb4a75
Make Job PodFailurePolicy e2e tests resilient to random failures to prepare them for conformance ( #126169 )
...
* Make JobPodFailurePolicy tests for ignore resilient to random failures
* Increase parallelism and evict in parallel
* Code review fixes to the job e2e tests
2024-09-17 18:00:19 +01:00
Davanum Srinivas
3fa898bbc6
Incorporate feedback from review
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-09-02 09:25:59 -04:00
Davanum Srinivas
52b1c77730
Fix etcd failures in ci-kubernetes-e2e-cos-gce-disruptive-canary
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-09-02 09:05:33 -04:00
Davanum Srinivas
0a124e28b6
Fix for DaemonRestart [Disruptive] tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-08-31 21:15:23 -04:00
Kubernetes Prow Robot
9fe06620f3
Merge pull request #124028 from huww98/kubelet-speedup
...
e2e/storage: speed up kubelet commands
2024-08-26 08:13:32 +01:00
Kubernetes Prow Robot
d770dd695a
Merge pull request #121888 from SD-13/e2e-gomega-be-true-or-false
...
Enhance boolean assertions when fail
2024-08-20 04:24:42 -07:00
Sujay
223aedcf6b
enhance boolean assertions
2024-07-31 15:58:15 +00:00
Kubernetes Prow Robot
9c2302dd3e
Merge pull request #126201 from aroradaman/revert-debug-steps
...
Revert debug steps and logs for #123760
2024-07-23 11:02:38 -07:00
Yuki Iwai
0d4f18bd5b
Job: Implement E2E tests for the JobSuccessPolicy
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-07-23 21:05:50 +09:00
Daman Arora
6adac3bce1
Revert "dump not network information on e2e failures"
...
This reverts commit 9239e44950 .
2024-07-18 19:56:05 +05:30
Daman Arora
4ea7be8fa6
Revert "e2e/network: dump iptables and conntrack flows for debugging"
...
This reverts commit 3f2deb51ad .
2024-07-18 19:53:41 +05:30
Michal Wozniak
2d680054c1
Format helper scripts in Job e2e tests as multiline for readability
2024-07-18 11:05:36 +02:00
Antonio Ojea
93736f268e
use node.status.addresses to obtain hostnetwork pods hostnames
2024-07-14 19:02:14 +00:00
Michal Wozniak
f999dd0490
Verify the Job status active, ready and terminating are 0
...
Signed-off-by: Michal Wozniak <michalwozniak@google.com >
2024-07-11 20:54:15 +02:00
Patrick Ohly
4bed71dd15
e2e framework: don't add default skip when --label-filter is used
...
The new pull-kubernetes-kind-dra uses
-label-filter='Feature: containsAny DynamicResourceAllocation && !Flaky && !Serial'
to run DRA tests. That didn't work because the E2E framework behind its back
added the default skip expression.
2024-07-08 21:13:52 +02:00
Daman Arora
6605afe58a
e2e/network/lb: fix url formatting for ipv6
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-07-03 20:48:54 +05:30
Kubernetes Prow Robot
2e39a55d49
Merge pull request #125794 from bzsuni/cleanup/PollImmediateWithContext
...
Use PollUntilContextTimeout to replace PollImmediateWithContext
2024-07-01 00:13:05 -07:00
Matthieu MOREL
7bccbaf996
fix: enable and fixes rules from testifylint on test package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-30 05:44:47 +00:00
bzsuni
1599658fc6
Use PollUntilContextTimeout to replace PollImmediateWithContext
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io >
2024-06-29 18:50:34 +08: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