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
Kubernetes Prow Robot
debd99542f
Merge pull request #125478 from aroradaman/handle-index-error
...
e2e/framework/metrics: handle index out of bounds panic
2024-06-16 12:46:29 -07:00
Kubernetes Prow Robot
9de747cc01
Merge pull request #125434 from ffromani/e2e-node-annotate-pods
...
e2e: node: add feature to annotate pods with owning code
2024-06-16 04:27:28 -07:00
Daman Arora
9fd1a21693
e2e/framework/metrics: handle index out of bounds panic
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-06-15 00:42:11 +05:30
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
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
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
胡玮文
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
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
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
Dan Winship
b82bc5d935
Log namespace of pods in e2e failure debug
2024-05-31 09:14:58 -04:00
Stephen Kitt
5300466a5c
Use canonical json-patch v4 import
...
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).
Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts, because they won't be offered as automated upgrades
by dependency upgrade management tools, and they won't happen through
indirect dependencies (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-05-28 10:48:22 +02:00
Daman Arora
9b9a3d780e
test/e2e: add kube-proxy metrics grabber
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-05-21 22:41:23 +05:30
胡玮文
c916f5e755
e2e/framework/node: use gomega.Eventually to poll
2024-05-21 18:07:19 +08:00
Itamar Holder
13403e836a
Fix swap feature gate check by introduting IsFeatureGateEnabled()
...
Signed-off-by: Itamar Holder <iholder@redhat.com >
2024-05-21 11:19:54 +03:00
胡玮文
f3f44f70bf
e2e/storage: speed up kubectl commands
...
Speed up stopping by not waiting for Node not ready, `systemctl` will ensure
kubelet process stopped before return. This should save 40s per case.
Since stop command does not wait for not ready, start command needs to wait for
the next heartbeat to ensure we are checking status from new process.
implement restart by stop then start, to get heartbeat time when kubelet is
down. And we do not need to sleep 30s now. The sleep is moved to callers, since
they still need them to ensure the volume does not disappear.
Dropped support for non-systemd system.
2024-05-19 02:51:32 +08:00
Kubernetes Prow Robot
b8c4e12a17
Merge pull request #120301 from liyuerich/storage
...
e2e_storage:stop using deprecated framework.ExpectError
2024-05-16 02:38:12 -07:00
Daman Arora
3f2deb51ad
e2e/network: dump iptables and conntrack flows for debugging
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-05-14 15:22:17 +05:30
liyuerich
f55588fa0b
e2e_storage:stop using deprecated framework.ExpectError
...
Signed-off-by: liyuerich <yue.li@daocloud.io >
2024-05-09 18:10:33 +08:00
carlory
522c06b542
add e2e test for HonorPVReclaimPolicy
2024-05-09 01:19:45 +08:00
Antonio Ojea
9239e44950
dump not network information on e2e failures
2024-05-07 21:22:11 +00:00
Davanum Srinivas
bf268f02a3
Remove gcp in-tree cloud provider and credential provider
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-05-01 09:03:53 -04:00
Daman Arora
20d335a94c
e2e/framework network: exit early in DialFromContainer
...
Immediately exit on receiving an unexpected response, we currently
wait for all the attempts to be exhausted and then return an error.
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-04-27 22:55:35 +05:30
Justyna Betkier
a484bb94c2
Fix linter issues
2024-04-25 13:34:30 +02:00
Justyna Betkier
8ba3327de7
Append both env variables instead of fetching twice and overriding them.
...
Previously the second line would fetch the clean environment variables
and drop the changes from the first line.
2024-04-25 13:34:30 +02:00
Antonio Ojea
06457a5219
don't force delete pods on e2e tests
2024-04-23 11:56:44 +00:00
huweiwen
6ec421e2cf
test/e2e: do not use global variable for image
...
We have "-kube-test-repo-list" command line flag to override the image registry. If we store it in global variable, then that overriding cannot take effect.
And this can cause puzzling bugs, e.g.: containerIsUnused() function will compare incorrect image address.
2024-04-22 19:29:39 +08:00
Kubernetes Prow Robot
cb3bd5bc41
Merge pull request #124205 from mkarrmann/wait-for-pods-e2e-cleanup-111092
...
chore/refactor(e2e tests): Solidify Contract for and Cleanup WaitForPodsRunningReady
2024-04-22 01:24:24 -07:00